Mallard 2B for MLX

The Apple silicon edition that Duckwork runs for Assist. Its English text replies can go straight to Duckwork’s voice model for playback.

In the app
A little duckling stands on a rust-colored notebook beside a tiny chip.
2.3 s
Median to first text · M4 Air
1.2 GB
6-bit model download
2.5 GB
Peak memory in the speed test

How long is the wait?

On the same M4 MacBook Air, the 6-bit Mallard build finished a typical answer in 3.0 seconds. The 4-bit Qwen3.5-2B baseline took 3.7 seconds.

Qwen wrote more tokens per second. Mallard read the prompt faster and usually had less to say. Its median reply was 40 tokens, compared with 90 for Qwen.

Published speed test ↗

A reply, on the clock

Median seconds across 72 prompts. Shorter bars mean less waiting.

First generated word

Mallard2.3 s
Qwen2.6 s

Complete answer

Mallard3.0 s
Qwen3.7 s

Timing and memory on an M4 Air

M4 MacBook AirMallard 2B · MLX 6-bitQwen3.5-2B · MLX 4-bit
First word · median2.3 s2.6 s
First word · 90th percentile3.1 s3.1 s
Complete answer · median3.0 s3.7 s
Complete answer · 90th percentile4.5 s5.7 s
Prompt processing726 tokens/s632 tokens/s
Text generation65 tokens/s81 tokens/s
Median answer length40 tokens90 tokens
Peak memory2.5 GB2.3 GB
Model load0.6 s1.3 s
Task checks passed in this run63 / 7226 / 72

Test conditions

Both models ran with mlx-lm on a 10-core M4 MacBook Air with 24 GB of memory. Each of the 72 prompts ran separately with greedy decoding and thinking turned off.

Prompts included Duckwork instructions and tool definitions. They ranged from 255 to 2,472 tokens, typically 1,561.

Timings cover model text generation. They exclude microphone capture, transcription, external tool execution and voice playback.

Why Duckwork uses six bits

In the larger evaluation, Mallard passed 294 of 324 tasks at 6 bits. The experimental 4-bit build passed 259 and called tools roughly half as often. The BF16 weights passed 297.

Compare the full weights and GGUF files →

Run the Mac build

Duckwork downloads the Apache 2.0 weights when you set up Assist. They use 6-bit quantization with a group size of 64. To try the same weights outside the app, install mlx-lm on an Apple silicon Mac and pass it a short prompt.

Weights and Python example ↗

pip install mlx-lm
mlx_lm.generate --model duckwork-ai/mallard-2b-mlx-6bit --prompt "How should I test this parser?"