# zml/llmd 2026.12.0

> Source: <https://zml.ai/posts/llmd-2026.12.0/>
> Published: 2026-12-04 08:00:00+00:00

**Key takeaway:** Pass --speculative-drafter-model=native to enable built-in drafters for Qwen4-35B-A3B and Hy4 Flash, and on H100 the new SM90 CuTe paged attention kernel cuts attention time from 9,778 µs to 316 µs at 8,192 tokens with head dimension 512.

We are pleased to announce the release of `zml/llmd 2026.12.0`. This week brings Qwen 4, Amazon Ergo, native speculative
decoding for Hy4 Flash, and support for OpenAI Responses, Anthropic Messages, and Ollama APIs.

# Qwen4-35B-A3B

We added Day 0 support for Qwen4-35B-A3B on NVIDIA, AMD, Intel and Apple GPUs. You can run both the [BF16 checkpoint](https://huggingface.co/Qwen/Qwen4-35B-A3B) and the [FP8 checkpoint](https://huggingface.co/Qwen/Qwen4-35B-A3B-FP8) with zml/llmd.

You can also pass `--speculative-drafter-model=native` to enable speculative decoding with Qwen4’s native multi-token prediction (MTP) module.

# Amazon Ergo

This release brings [Amazon Ergo](https://huggingface.co/Amazon-FMR/Ergo) to zml/llmd on NVIDIA and AMD GPUs, 3 days after its release.

Amazon Ergo is a frontier open-weights model for software engineering and agentic workflows. Ergo is designed to tackle complex, long-running tasks while being fast and cost efficient. Ergo is a 1.1 trillion parameter mixture-of-experts model with 55 billion active parameters and a 1M-token context window.

We did not spend much time on Ergo’s performance but we figure let’s release it and let the community play with it. We will be happy to hear your feedback.

# MedGemma-2

We’re also adding [MedGemma-2](https://huggingface.co/google/medgemma-2-26B-A4B-it), Google’s family of models for medical applications.

MedGemma is a collection of Gemma variants that are trained for performance on medical text and image comprehension. Developers can use MedGemma to accelerate building healthcare-based AI applications.

# Hy4 Flash gets native speculative decoding

Last week, [we brought Hy4 Flash to zml/llmd](https://zml.ai/posts/llmd-2026.11.4/#hy4-flash). This week, you can turn on its built-in DFly2 drafter.
Pass `--speculative-drafter-model=native` when serving `tencent/Hy4-flash`. DFly2 shares the target model’s KV cache
and drafts tokens for it to verify.

# Faster paged attention on H100

This release adds a [CuTe paged attention kernel for NVIDIA H100 (SM90)](https://github.com/zml/zml/pull/1187). On H100, the new kernel is 4.1× to 30.9× faster than the generic kernel, depending on head dimension and the number of tokens.

| Context (tokens) | Head dimension | Generic kernel | SM90 kernel | Speedup | 
|---|---|---|---|---|
| 1,024 | 256 | 856 µs | 211 µs | 4.1× | 
| 1,024 | 512 | 1,488 µs | 200 µs | 7.4× | 
| 8,192 | 256 | 5,320 µs | 356 µs | 14.9× | 
| 8,192 | 512 | 9,778 µs | 316 µs | 30.9× | 

# OpenAI Responses API

Applications that use the OpenAI Responses API can now send requests to `POST /v1/responses` on a local zml/llmd server.

With `Qwen/Qwen4-35B-A3B-FP8` running on port 8000, you can point Codex CLI directly at llmd for this session:

```
codex -m Qwen/Qwen4-35B-A3B-FP8 \
    -c 'model_provider="llmd"' \
    -c 'model_providers.llmd={name="llmd",base_url="http://localhost:8000/v1",wire_api="responses"}'
```

# Anthropic Messages API

zml/llmd now accepts Anthropic Messages requests at `POST /v1/messages`.

To use Claude Code with the same model, point it at the server root. Claude Code adds `/v1/messages` to the URL.
For a local server with authentication disabled, `local` serves as a placeholder token.

```
ANTHROPIC_BASE_URL=http://localhost:8000 ANTHROPIC_AUTH_TOKEN=local \
    claude --model Qwen/Qwen4-35B-A3B-FP8
```

# Ollama API

Ollama clients can use `POST /api/chat` for conversations and `POST /api/generate` for prompt completion.
They can also list models through `/api/tags`, inspect a model through `/api/show`, and query `/api/version`.

With the Ollama CLI and OpenCode installed, point the launcher at llmd and select the model you’re already serving:

```
OLLAMA_HOST=http://localhost:8000 ollama launch opencode --model Qwen/Qwen4-35B-A3B-FP8
```

The launcher configures OpenCode to send chat requests to llmd’s OpenAI-compatible endpoint. [Ollama’s OpenCode guide](https://docs.ollama.com/integrations/opencode)

# Try it today

**NVIDIA**

```
docker run -p 8000:8000 --shm-size=256GB --gpus=all -e HF_TOKEN -it zmlai/llmd:cuda \
    --model=hf://Qwen/Qwen4-35B-A3B-FP8 --engram-offload \
    --speculative-drafter-model=native
```

**AMD**

```
docker run -p 8000:8000 --shm-size=256GB --device=/dev/kfd --device=/dev/dri -e HF_TOKEN -it \
    zmlai/llmd:rocm \
    --model=hf://Qwen/Qwen4-35B-A3B-FP8 --engram-offload \
    --speculative-drafter-model=native
```

**Intel**

```
docker run -p 8000:8000 --device=/dev/dri -e HF_TOKEN -it zmlai/llmd:oneapi \
    --model=hf://Qwen/Qwen4-35B-A3B-FP8 --engram-offload \
    --speculative-drafter-model=native
```

**Google TPU**

```
docker run --net=host --privileged -e HF_TOKEN -it zmlai/llmd:tpu \
    --model=hf://Qwen/Qwen3.8-27B
```

**Apple Metal**

```
brew install zml/zml/llmd
llmd --model=hf://Qwen/Qwen4-35B-A3B-FP8 --speculative-drafter-model=native
```


