bonsai-2 9B (Q2_0, 256k context) on Ollama 0.40.19, on a single 12 GB RTX 4070. Generation ran at 126 tok/s and prompt reading at 3,503 tok/s at 64k tokens. It passed every tool, recall and logic test, and failed one of six instruction tests by using its whole output budget on thinking. The judge scored its open-ended answers 7.5 out of 10.
The Short Version
| Metric | Result |
|---|---|
| Cold start (first token) | Not measured (the model was already loaded) |
| Warm first token | 0.05 s |
| Generation speed | 126.2 tok/s (server-reported) |
| Prompt reading at ~64k tokens | 3,503 tok/s |
| Agent follow-up first token | 0.14 s, 100% of the prompt reused |
| Reused after switching agents | 100% |
| Long-prompt recall | 6/6 (100%) |
| Tool use | 6/6, 0.87 s per model turn |
| Logic | 9/9 in 152 s |
| Instruction following | 5/6 (83%) |
| Judged quality (1-10) | 7.5 (scored afterwards from the saved answers) |
| Total test time | 348 s |
The Model
- Model: bonsai-2 9B, 256k-context variant
- Architecture: a hybrid of the Qwen 3.5 family. Of its 32 layers, only every fourth one uses full attention. The rest are linear state-space style layers, which is a big part of why long prompts stay fast.
- Parameters: 8.95 billion
- Quantization: Q2_0, about 2 bits per weight, with a Hadamard rotation applied to the weights before quantizing (this spreads out the outliers that normally make 2-bit models fall apart)
- Size in VRAM: about 8.5 GB loaded, including the 256k context
- Context window: 262,144 tokens, set in the Modelfile (
num_ctx) - Capabilities: text, vision, tool calling, thinking. Thinking is on by default and I left it on.
- Sampling: the Modelfile sets temperature 1, top_k 20, top_p 0.95 and a presence penalty of 1. BenchPatrol overrides temperature to 0 on every request so runs are repeatable. The other settings stayed as the Modelfile has them.
The Engine and Settings
- Engine: Ollama 0.40.19, llama.cpp runner, GGUF model file
- Serving: Ollama’s OpenAI-compatible
/v1endpoint, one model loaded - Speculative decoding: none
The Hardware
- CPU: Intel Core Ultra 9 285K, 24 cores (8 performance + 16 efficiency), 24 threads
- RAM: 32 GB DDR5-6000, dual channel (XMP on)
- GPU: NVIDIA GeForce RTX 4070, 12 GB GDDR6X, PCIe 4.0 x16, Resizable BAR on
- Model storage: Samsung 9100 PRO 2 TB, PCIe 5.0 NVMe
- Board and power: ASUS PRIME Z890M-PLUS WIFI (microATX), Corsair RM750e 750 W
- OS: Fedora 45 Workstation, kernel 7.3, NVIDIA driver 620.70
- Network: Wi-Fi 7 during the test
VRAM fit: fully in VRAM. The model and its 256k-context cache took about 8.5 GB of the RTX 4070’s 12 GB. Nothing was offloaded to system RAM or the CPU.
How I Tested
Every number here comes from BenchPatrol, a small benchmark harness I wrote to stop guessing at inference speed from agent logs. It talks to any OpenAI-compatible endpoint, runs as a one-shot Docker container on a separate test machine (an old Intel NUC, so the benchmark never competes with the model for CPU or memory), and saves every run as JSON so the next one can be compared against it.
A full run has seven suites:
- Cold start: time to first token when the model isn’t loaded, and how much of that is load time.
- Warm generation: three ~700-token answers with the model loaded. I report the median first-token time and generation speed, using the server’s own timing.
- Tool use: six cases against six fake tools with exact expected answers: a single call with arguments, choosing the right tool, a three-step chain, knowing when not to call a tool, a calculator, and two lookups at once.
- Agent prompt reuse: an agent with a ~20k-token system prompt asks three questions, a second agent with a different prompt asks one, then the first agent comes back. It measures how much of the prompt the server reuses from its cache, and what that does to first-token time.
- Long-prompt reading: ~14k- and ~64k-token prompts with three codes buried at 10%, 50% and 90% depth, plus a decoy. It measures reading speed and recall.
- Logic: nine generated puzzles with checkable answers (ordering, knights and knaves, weekday math, letter counting, inventory math, sequences, inclusion-exclusion, price differences, clock angles). Each gets up to 8,192 output tokens.
- Quality: six strict instruction-following checks (exact bullet count, raw JSON, all lowercase, a forbidden word plus a word count, answering only from a passage, a three-line haiku) and four open-ended tasks scored 1-10 by a judge model, Claude Sonnet 5.5.
The questions use a fixed seed, so every run asks exactly the same questions. Each prompt also carries a random nonce, so an earlier run can’t help through the cache.
Three things specific to this run:
- No cold start. The model was already loaded when the run started, and I didn’t tell BenchPatrol to unload it first.
- Judged quality was scored afterwards. During the run, the judge model’s API call failed with an authentication error (my mistake in the key, not the model’s). The four open-ended answers were saved, and I had the judge score them later the same day once the key was fixed. One catch: the benchmark only saved the first 1,500 characters of each answer, and the backup-advice answer was longer than that. The judge was told the cut-off wasn’t the model’s fault, but it couldn’t see the rest, so that one score is a little uncertain.
- Network path. The test machine is wired, and the desktop was on Wi-Fi. That adds a few milliseconds to every first-token time, which only matters for the sub-100 ms numbers.
Results
Speed
Generation was rock steady across the three warm runs: 126.3, 126.1 and 126.2 tok/s. The first request took 0.27 s to its first token, and the next two took under 0.05 s.
Prompt reading is where this model really stands out:
| Prompt tokens | Read time | Reading speed | Recall |
|---|---|---|---|
| 13,886 | 3.36 s | 4,315 tok/s | 3/3 |
| 63,802 | 18.48 s | 3,503 tok/s | 3/3 |
Reading speed drops about 19% from 14k to 64k tokens, which is a much gentler slope than I’ve seen from pure-attention models. A 64k-token document in under 20 seconds on a mid-range card is pretty remarkable.
Agent Workloads
This is the test I care about most, because it’s what my agents actually do all day: send the same long system prompt over and over with a little more on the end.
| Step | Prompt tokens | Reused | First token |
|---|---|---|---|
| A1: agent A, first turn | 20,696 | 0 (0%) | 5.03 s |
| A2: agent A, follow-up | 20,720 | 20,692 (100%) | 0.13 s |
| A3: agent A, follow-up | 20,745 | 20,716 (100%) | 0.15 s |
| B1: agent B, first turn | 20,598 | 0 (0%) | 5.12 s |
| A4: back to agent A | 20,769 | 20,741 (100%) | 0.27 s |
Follow-ups came back 36 times faster than the first turn. More importantly, Ollama kept agent A’s prompt in cache even after agent B came through, so switching back cost 0.27 s instead of another 5 seconds.
Accuracy
Tool use: 6/6. Every call had the right tool and the right arguments, with no malformed JSON, at 0.87 s per model turn. One small quirk: in the two-city weather lookup it left out the optional temperature unit. It still passed, because the unit wasn’t required, but a stricter tool schema would have caught it.
Long-prompt recall: 6/6. All three codes found at both sizes, and it never fell for the decoy.
Logic: 9/9, in 152 seconds. Every answer was right. But look at how it got there:
| Puzzle | Time | Output tokens |
|---|---|---|
| ordering | 9.9 s | 1,215 |
| knights and knaves | 14.6 s | 1,832 |
| weekday | 12.7 s | 1,600 |
| letters | 6.2 s | 785 |
| warehouse | 15.9 s | 2,002 |
| sequence | 24.7 s | 3,116 |
| survey | 10.5 s | 1,310 |
| price gap | 7.9 s | 987 |
| clock | 49.7 s | 6,177 |
That’s about 19,000 output tokens for nine puzzles, an average of roughly 2,100 per puzzle.
Instruction following: 5/6. The miss was the forbidden-word test, which asks for a 40-70 word answer that avoids one specific word. The model returned nothing at all, after 32.6 seconds.
Judged quality: 7.5/10.
| Task | Score | Judge’s notes |
|---|---|---|
| Explain MFA to a non-technical owner | 7 | Plain, under 200 words, with the right priorities (email first, authenticator over SMS). It leaves out why MFA matters (phishing, reused passwords) and backup codes, and “stops them cold” overstates it. |
| Debug a Python function | 9 | Found the mutable default argument, explained why, and gave the standard fix with no invented bugs. A bit longer than “briefly” needed. |
| Decline a meeting politely | 6 | Short and polite, but asking for dates “between now and then” muddies the no and could invite a meeting this month. |
| Backup advice | 8 | Says no and puts offsite copies, then immutability, then restore tests first. The saved text was cut off, so the judge couldn’t check the rest. |
The writing tasks are where it gives ground. It nailed the bug fix, but the email and the MFA explanation read like a first draft.
Verdict
For agent work built around long, repeated prompts (summarizing, triage, tool calls), this is the fastest setup I’ve tested, and it fits on a mid-range 12 GB graphics card with room to spare. Use the 256k variant, since the extra context costs nothing.
But give it a generous output budget, or turn thinking off for short, rule-bound tasks, and make sure your code treats an empty answer as a failure rather than a success. For anything where I need every answer every time, the slower qwen setup is still my default.
Fast, accurate, and occasionally lost in thought.