,

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

Bonsai 2 27B (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 13.3 tok/s and prompt reading at 100 tok/s at 14k tokens, dropping to 76 tok/s at 64k. It passed every tool and logic test but missed one long-prompt code and one instruction test. The judge scored its open-ended answers 7.5 out of 10.

The Short Version

MetricResult
Cold start (first token)4.2 s, of which 4.0 s is model load (see How I Tested)
Warm first token0.19 s
Generation speed13.3 tok/s (server-reported)
Prompt reading at ~64k tokens76 tok/s
Agent follow-up first token0.89 s, 99.8% of the prompt reused
Reused after switching agents99.8%
Long-prompt recall5/6 (83%)
Tool use6/6, 8.76 s per model turn
Logic9/9 in 418 s
Instruction following5/6 (83%)
Judged quality (1-10)7.5
Total test time3,451 s

The Model

  • Model: Bonsai 2 27B (qwen35 architecture, 64 blocks)
  • Parameters: 26.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: 26.3 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 min_p 0.05. 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 26.3 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. The cold start is optimistic. Nothing was loaded when the run started. But the same model had been loaded and unloaded about 45 minutes earlier, so its files were probably still in macOS’s file cache. Treat the 4.2 s as a best case.
  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 14.0, 13.3 and 13.2 tok/s. First-token times were 0.75 s on the first run, then 0.19 and 0.18 s.

Prompt tokensRead timeReading speedRecall
13,889138.9 s100 tok/s3/3
63,803836.73 s76 tok/s2/3

A 14k-token prompt takes over two minutes to read. A 64k-token document takes 14 minutes before the model even starts thinking about it. That’s the number that rules this setup out for long documents.

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,6960 (0%)214.91 s
A2: agent A, follow-up20,72420,692 (99.8%)0.92 s
A3: agent A, follow-up20,75320,720 (99.8%)0.86 s
B1: agent B, first turn20,5960 (0%)214.06 s
A4: back to agent A20,78120,749 (99.8%)1.06 s

A first turn costs three and a half minutes. After that, follow-ups start in under a second, 241 times faster. Agent A’s cache even survived agent B in between. The cache is excellent. The entry fee is brutal, though. Every new conversation pays those 215 seconds again.

Accuracy

Tool use: 6/6. Right tools, right arguments, no malformed JSON, but slow at 8.76 s per model turn. The three-step chain took four turns and 34 seconds.

Long-prompt recall: 5/6. At 14k tokens it found all three codes. At 64k it found the codes at 10% and 50% depth, and it correctly spotted the decoy as retired. But it never found the real code buried at 90% depth. Its answer: “not stated in log.” It took 1,821 tokens of thinking to get there, and the whole 64k test ran 17 minutes.

Logic: 9/9, in 418 seconds. It used 5,419 output tokens across the nine puzzles, about 600 per puzzle. The sequence puzzle took the longest at 82 seconds. Nothing got near the 8,192-token cap. Puzzles aren’t where it gets lost.

Instruction following: 5/6. Bullets, raw JSON, lowercase, the forbidden word and the passage question all passed. The haiku failed. It thought for 7,402 tokens over nearly ten minutes, then stopped on its own with an empty answer. Three lines of poetry, and it never wrote one.

Judged quality: 7.5/10.

TaskScoreJudge’s notes
Explain MFA to a non-technical owner7Clear, plain and short, with prioritized steps and a good tip to prefer an authenticator app over text messages. But it cites a dubious “200+ days to recover” figure and skips backup codes, admin accounts and why phishing makes MFA matter.
Debug a Python function9Found the mutable default argument, explained why it happens, showed a clear example and gave the standard fix, concisely and with no invented bugs.
Decline a meeting politely6Courteous and clear, but over the length target. It makes small commitments that dilute the “no,” leaves a “Q[3/4]” placeholder, and assumes a proposal existed.
Backup advice8Says no and covers 3-2-1, offsite copies, immutability, restore tests and monitoring with a clear priority order. It doesn’t say to separate backup credentials, and it repeats a few points.

Verdict

Bonsai 2 27B on the Mac can reason. It went 9/9 on logic and 6/6 on tools, and it held its agent cache perfectly. The judge rated its writing level with Qwen3.8 27B on this machine. But it doesn’t always know when to stop thinking, and it lost a code buried deep in a long document.

I wouldn’t run it here. Inkling 2 Mini on the same Mac is nearly twice as fast at generation and reads prompts about three times faster. It also got the 64k recall and the haiku right. Bonsai’s 2-bit build belongs on a GPU that’ll push it through all that thinking quickly.

Smart, slow, and occasionally lost in thought.