,

Benchmark Test: Bonsai 2 9B on Ollama on the 2021 M1 MacBook Pro

Bonsai 2 9B (Q2_0, 262,144-token context) on Ollama 0.40.18, on an M1 Max MacBook Pro with 64 GB of unified memory. Generation ran at 37.6 tok/s and prompt reading at 340 tok/s at 14k tokens, dropping to 251 tok/s at 64k. It passed every scored test, and the judge scored its open-ended answers 6.75 out of 10.

The Short Version

MetricResult
Cold start (first token)2.1 s, of which 2.0 s is model load
Warm first token0.21 s
Generation speed37.6 tok/s (server-reported)
Prompt reading at ~64k tokens251 tok/s
Agent follow-up first token0.55 s, 99.9% of the prompt reused
Reused after switching agents99.8%
Long-prompt recall6/6 (100%)
Tool use6/6, 3.78 s per model turn
Logic9/9 in 426 s
Instruction following6/6 (100%)
Judged quality (1-10)6.75
Total test time1,408 s

The Model

  • Model: Bonsai 2 9B, the ternary build (qwen35 architecture, 32 blocks)
  • Parameters: 9.0 billion, dense
  • Quantization: Q2_0 (2-bit), GGUF format
  • Context window: 262,144 tokens, the model’s maximum, and Ollama loaded all of it
  • Size in memory: 12.6 GB loaded, including the 262k context
  • Capabilities: text, vision, tool calling, thinking. Thinking is on by default, and I left it on.
  • Sampling: the model’s Ollama entry sets temperature 1, top_k 20, top_p 0.95 and a presence penalty of 1. BenchPatrol sends temperature 0 on every request so runs are repeatable. The other settings stayed as the entry has them.

The Engine and Settings

  • Engine: Ollama 0.40.18, llama.cpp runner, GGUF model file
  • Serving: Ollama’s OpenAI-compatible /v1 endpoint
  • Speculative decoding: none

The Hardware

  • Machine: Apple MacBook Pro 16″ (2021), M1 Max with a 10-core CPU (8 performance + 2 efficiency) and a 24-core GPU
  • Memory: 64 GB unified LPDDR5, shared by the CPU and GPU
  • Storage: 1 TB internal SSD
  • OS: macOS 26.6
  • Network: Wi-Fi 6 (802.11ax, 5 GHz, 80 MHz)
  • Power: 45 W AC adapter during the test

VRAM fit: fully in GPU-accessible unified memory. All 12.6 GB of the loaded model sat in GPU memory, out of 64 GB. Nothing ran on 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 answers of up to 700 tokens 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 “retired” 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. Each answer gets up to 8,192 output tokens.

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.

Two things specific to this run:

  1. Cold start. Nothing was loaded on the Mac when the run started. I can’t tell whether the model’s files were still in macOS’s file cache, so the 2.1 s may be closer to a best case than a fresh-from-disk load.
  2. Network path. The test machine is wired, and the MacBook was on Wi-Fi. That adds a few milliseconds to every first-token time, which only matters for the sub-second numbers.

Results

Speed

All three warm answers ran to the full 700 tokens, at 38.5, 37.6 and 36.5 tok/s. First-token times were 0.27, 0.21 and 0.16 s.

Prompt tokensRead timeReading speedRecall
13,89041.01 s340 tok/s3/3
63,781254.41 s251 tok/s3/3

A 14k-token prompt takes 41 seconds to read. A 64k-token document takes a little over four minutes. That’s slow, but it’s workable for an occasional long read.

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.

StepPrompt tokensReusedFirst token
A1: agent A, first turn20,6920 (0%)64.33 s
A2: agent A, follow-up20,71620,688 (99.9%)0.65 s
A3: agent A, follow-up20,74120,712 (99.9%)0.45 s
B1: agent B, first turn20,5960 (0%)63.35 s
A4: back to agent A20,77020,737 (99.8%)0.48 s

A first turn costs about a minute. After that, follow-ups start in about half a second, 117 times faster. Agent A’s cache survived agent B coming through in between, and switching back cost 0.48 seconds.

Accuracy

Tool use: 6/6. Right tools, right arguments, no malformed JSON, at 3.78 s per model turn. In the three-step chain it looked up the customer, then the invoices, then used the calculator for the total.

Long-prompt recall: 6/6. All three codes found at both sizes, including the one buried 90% of the way into the 64k prompt, and it never fell for the decoy.

Logic: 9/9, in 426 seconds. It thinks a lot for a model this size, and that’s where the time goes. It used 15,328 output tokens across the nine puzzles, about 1,700 per puzzle. The sequence puzzle took the most at 2,649 tokens and 74 seconds. Nothing got near the 8,192-token cap, though, so it isn’t wasting its budget.

Instruction following: 6/6. Bullets, raw JSON, lowercase, the forbidden word, the passage question and the haiku all passed. The forbidden-word test made it work hardest, at 3,295 tokens and 92 seconds for a 40-70 word answer.

Judged quality: 6.75/10.

TaskScoreJudge’s notes
Explain MFA to a non-technical owner7Clear, plain and under 200 words, with sensible email-first steps. But it never explains phishing or reused passwords as the reason, skips backup codes and admin accounts, and overclaims that MFA “stops them cold.”
Debug a Python function7Found the mutable default argument and gave the standard fix. Then it padded a brief answer with an obscure “alternative fix” that adds nothing and a vague remark about classes.
Decline a meeting politely6Short, polite and a clear no, but vague about next quarter. One line asks what dates work “between now and then,” which undercuts the decline.
Backup advice7Says no and puts offsite copies, immutability and restore tests first. It skips monitoring for failed jobs and separate backup credentials, pads with RAID and encryption, and calls cloud copies “immune.”

Verdict

Bonsai 2 9B gets every checkable answer right on a laptop, in 12.6 GB, and it’s quick enough to use. It found the buried codes, solved the puzzles, called the tools correctly and followed every instruction. Its 27B sibling on the same Mac missed a code and a haiku, and this one is nearly three times faster at generation.

Where it doesn’t hold up is the writing. The judge scored it 6.75, behind gpt-oss 20B, the 27B and Inkling 2 Mini on this machine. So for tool-calling agents and anything with a right answer, it’s a strong pick for the Mac. For emails and advice people will actually read, I’d still reach for Inkling.

Small model, no mistakes, plain prose.