,

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

Bonsai 2 2B (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 107.3 tok/s and prompt reading at 1,453 tok/s at 14k tokens, dropping to 949 tok/s at 64k. It passed every tool and instruction test but missed two logic puzzles and one long-prompt code, and the judge scored its open-ended answers 4.25 out of 10.

The Short Version

MetricResult
Cold start (first token)1.2 s, of which 1.1 s is model load
Warm first token0.05 s
Generation speed107.3 tok/s (server-reported)
Prompt reading at ~64k tokens949 tok/s
Agent follow-up first token0.38 s, 99.9% of the prompt reused
Reused after switching agents99.8%
Long-prompt recall5/6 (83%)
Tool use6/6, 0.99 s per model turn
Logic7/9 in 281 s
Instruction following6/6 (100%)
Judged quality (1-10)4.25
Total test time669 s

The Model

  • Model: Bonsai 2 2B, the ternary build (qwen35 architecture, 24 blocks)
  • Parameters: 1.9 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: 5.7 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 5.7 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 1.2 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 matters here because the warm first token is only 47 milliseconds.

Results

Speed

All three warm answers ran to the full 700 tokens, at 108.1, 107.3 and 104.7 tok/s. Each took under seven seconds. First-token times were 0.24 s on the first run, then 0.05 and 0.04 s.

Prompt tokensRead timeReading speedRecall
13,8879.75 s1,453 tok/s3/3
63,80467.6 s949 tok/s2/3

A 14k-token prompt takes under ten seconds to read. A 64k-token document takes just over a minute.

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,6930 (0%)14.6 s
A2: agent A, follow-up20,71720,689 (99.9%)0.26 s
A3: agent A, follow-up20,74020,713 (99.9%)0.49 s
B1: agent B, first turn20,5980 (0%)15.29 s
A4: back to agent A20,76920,736 (99.8%)0.25 s

A first turn costs about 15 seconds, and follow-ups start in a quarter to half a second. Agent A’s cache survived agent B coming through in between, and switching back took 0.25 seconds.

Accuracy

Tool use: 6/6. Right tools, right arguments, no malformed JSON, at 0.99 s per model turn. The three-step chain took three turns instead of four. It looked up the customer and the invoices, then added the two amounts itself instead of calling the calculator, and still got the right total.

Long-prompt recall: 5/6. At 14k tokens it found all three codes. At 64k it found the codes at 10% and 50% depth, but for the code buried at 90% it repeated the red vault’s code instead. It thought for 5,703 tokens before giving that answer.

Logic: 7/9, in 281 seconds. It used 30,816 output tokens across the nine puzzles, about 3,400 per puzzle. Two misses, and neither was a wrong answer. It never gave one. On the inventory puzzle it thought until it hit the 8,192-token cap. On the clock-angle puzzle it thought for 3,227 tokens, then stopped on its own with an empty answer. The sequence puzzle passed, but only just, at 7,881 tokens.

Instruction following: 6/6. Bullets, raw JSON, lowercase, the forbidden word, the passage question and the haiku all passed. The haiku took 4,860 tokens of thinking for three short lines.

Judged quality: 4.25/10.

TaskScoreJudge’s notes
Explain MFA to a non-technical owner5Plain and short, but it never recommends an authenticator app over text messages and skips phishing, admin accounts and backup codes. It also muddles password managers with MFA and claims setup is “just one click.”
Debug a Python function3Never named the real cause, that the default list is created once and shared between calls. Its first “fix” keeps the bug and throws away the argument, and the correct fix is buried as an alternative.
Decline a meeting politely6Short and polite, but it asks whether there’s “flexibility” to meet at a different time, which undercuts the decline. Vague about next quarter.
Backup advice3Says no, but for the wrong reasons. It buries the offsite copy at priority three, never mentions ransomware, immutable copies or separate credentials, and puts VLANs and firewalls first. Its own summary contradicts its numbering.

Verdict

Bonsai 2 2B is the fastest thing I’ve run on this Mac, and it isn’t close. It’s 107 tok/s, reads a 64k document in about a minute, and answers tool calls in under a second, all from 5.7 GB. Tools, instructions and cache handling were all perfect.

But it’s a 2B model, and it shows the moment a task needs real reasoning or judgment. It gave up on two puzzles, misread a buried code, and wrote debugging and backup advice that would do actual damage if anyone followed it. Its 9B sibling on the same Mac got every checkable answer right at about a third of the speed. That’s the one I’d run. Keep the 2B for routing, classification or simple tool calls where a person checks the result.

Fast enough to be useful, too small to be trusted.