Performance
Saetta is tuned and measured on an M5 Max with 128 GB. M1 to M4 run the same kernels on their GPU cores; they are not yet measured (reports welcome).
Flash-Next on an M5 Max
A six-request coding-agent workload through the HTTP API, seconds (first token / total):
| request | prompt tokens | full | Coder |
|---|---|---|---|
| cold 4K | 3,335 | 2.06 / 3.66 | 2.01 / 3.90 |
| cold 16K | 15,873 | 8.78 / 10.61 | 8.24 / 10.86 |
| cold 64K | 69,923 | 40.23 / 42.16 | 37.31 / 39.87 |
| turn 1 | 15,867 | 8.68 / 9.39 | 8.07 / 8.81 |
| turn 2 (reuses turn 1) | 15,951 | 0.20 / 0.87 | 0.20 / 0.79 |
| edit (tool call, 400 tokens out) | 18,243 | 10.09 / 12.91 | 9.37 / 12.25 |
| sum of totals | 79.6 | 76.5 |
Prompts at 1,620 to 1,930 tokens/s; answers at 78 to 85 (full) and 66 to 75 (Coder) tokens/s, 142 and 139 tokens/s on the edit with speculation.
Qwen3.8-27B
Prompts at 940 tokens/s (4K) to 787 (64K); answers at 31 ms/token on the 4-bit pack, 19 ms/token on 27b-turbo with its MTP head (short prompts; 25 ms/token at 16K).
What makes follow-up turns fast
A coding agent sends the whole conversation on every turn. Saetta keeps each conversation's state and reads only what is new, so turn 2 above, on a 16K conversation, answers in 0.2 s. Up to 4 conversations are kept (SAETTA_CONVERSATIONS), so several agent sessions keep their fast turns.
Speculative decoding
Packs with an MTP head (Flash-Next, and the 27B fine-tunes marked "with MTP" on Choosing a model) draft tokens with it; the server also drafts from text already in the prompt. Greedy requests (temperature 0) get the same output as without speculation, and sampled ones use speculative sampling, which keeps the same output distribution. SAETTA_SPEC=0 and SAETTA_MTP=0 turn it off.
Watching it
saetta monitor (or /monitor in Saetta Code) shows speed, prompt-cache reuse and speculation live. See monitor, status, stop.