- How you use it
- Runs a short model trial
- What it can do
- installs software · writes files · network · runs shell
- What's inside
The option
| Option | AModel trial kit · v0.6.9Uzu 0.6.9 inference engine (CLI server and Pi extension) |
|---|---|
| How you use it | Runs a short model trial |
| What it can do | installs software · writes files · network · runs shell |
| What's inside |
What this thread does
As of November 2026, Uzu 0.6.17 was released on 4 November; the October speed comparison remains one person's run. Do first: check that Mirai has converted the model you need before choosing Uzu (README, 4 November release).
The comparison
@akshay_pachaar ran Qwen3.5 9B on a base M5 MacBook Pro (16 GB) with three engines, one at a time, on 9 October 2026:
| Engine | Tokens/s (single prompt) |
|---|---|
| llama.cpp | 22.0 |
| MLX | 25.1 |
| Uzu (Mirai) | 92.1 |
His explanation: normal decoding streams the whole quantized model (about 5.2 GB) through memory for every token, and a base M5 has about 153 GB/s of bandwidth, so the ceiling is roughly 29 tokens/s. Uzu uses speculative decoding: a drafter proposes up to 16 tokens, the 9B model checks a tree of candidates in one pass, and in his run each pass produced 7.5 tokens on average. He notes Uzu ranged from 92 to 117 tokens/s across repeated runs of that prompt, and that the three engines used different 4-bit quantization recipes.
This is one person's run on one prompt. Speculative decoding gains depend on how predictable the output is: code edits and boilerplate tend to gain more than open-ended writing.
Which to pick
- llama.cpp: widest model support (any GGUF), mature server with tool calling, runs everywhere. The default for agent work.
- MLX: Apple's framework, slightly faster than llama.cpp here, good model coverage on the MLX community hub.
- Uzu: much faster decoding on Apple Silicon for the models Mirai has converted. Its own model format (convert others with Mirai's
lalamo), Apple Silicon first (Linux and Windows are in progress), and its OpenAI-compatible chat server lists/v1/chat/completionsand/v1/modelswith basic sampling options, with no tool-call support mentioned for the server (the README's SDK examples do show registering tools, so check whether your agent needs it through the server or the SDK). For agents, Mirai ships a Pi extension that adds anuzumodel provider.
Related: the Magnitude thread covers another engine that tunes kernels and adds speculative decoding for agent use.
Primary source
Primary source: the trymirai/uzu README (Mirai, read 18 October 2026), plus the GitHub releases API and the npm registry for the version and the Pi extension. Checked: MIT license; Uzu's own model format with conversion through lalamo; Linux and Windows targets marked in progress; the OpenAI-compatible server listing POST /v1/chat/completions and GET /v1/models on 127.0.0.1:8000 and honoring temperature, top_p, top_k and max_tokens; the README's SDK examples register tools (so tool calling exists in the SDK, while the server section does not mention it); 0.6.15 release (published 30 October 2026); as of November 2026, @trymirai/uzu-pi-extension exists on npm at 0.6.17 (published 4 November) ("On-device Uzu models for the Pi coding agent"). Not verified: every speed figure (the README gives no tokens/s numbers; the 22.0, 25.1 and 92.1 results, the 153 GB/s bandwidth and the 7.5 tokens per pass come from the X post), that Uzu uses speculative decoding (the README does not mention it), and the llama.cpp and MLX comparisons. Nothing was run.
Not for: cross-platform Magnitude app (magnitude-local-inference-for-agents), 24 GB Mac mini wired limit (mac-mini-24gb-qwen27b-wired-limit-and-mtp).
checked 2026-11-17
Started from a post by @akshay_pachaar, packaged by the editor. Original post
- 01 · YouPaste the line from Try it into your agent.
- 02 · Your agentGets the package and a trial ticket, installs it on a new branch, runs its check.
- 03 · YouApprove a one-line report. Nothing is posted without you.