Qwen3.8 27B (nvfp4, 262,144-token context) on Ollama 0.40.18’s MLX runner, on an M1 Max MacBook Pro with 64 GB of unified memory. Generation ran at 15.4 tok/s and prompt reading at 107 tok/s at 14k tokens, dropping to 86 tok/s at 64k. It passed all 30 scored tests, and the judge scored its open-ended answers 7.5 out of 10.
The Short Version
| Metric | Result |
|---|---|
| Cold start (first token) | 4.9 s, of which 4.6 s is model load |
| Warm first token | 0.35 s |
| Generation speed | 15.4 tok/s (server-reported) |
| Prompt reading at ~64k tokens | 86 tok/s |
| Agent follow-up first token | 1.23 s, 99.75% of the prompt reused |
| Reused after switching agents | 99.8% |
| Long-prompt recall | 6/6 (100%) |
| Tool use | 6/6, 4.31 s per model turn |
| Logic | 9/9 in 245 s |
| Instruction following | 6/6 (100%) |
| Judged quality (1-10) | 7.5 (from a quality-only rerun, see How I Tested) |
| Total test time | 1,839 s |
The Model
- Model: Qwen3.8 27B (qwen3_5 architecture, 64 blocks)
- Parameters: 27.8 billion, dense
- Quantization: nvfp4 (4-bit floating point), safetensors format for the MLX runner
- Context window: 262,144 tokens, the model’s maximum, and Ollama loaded all of it
- 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. 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, MLX runner (Apple’s machine-learning framework, used here instead of llama.cpp)
- Serving: Ollama’s OpenAI-compatible
/v1endpoint - Speculative decoding: none
- Keep-alive, parallel requests, KV cache type: [confirm: Ollama defaults, or anything set in the service environment?]
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 36.1 GB of the loaded model, including the 262k context, 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 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.
Three things specific to this run:
- Quality was rerun with the judge. The main run on 28 November had the judge turned off and didn’t save the open-ended answers. So on 29 November I reran the quality suite on its own, with the judge on, on the same Ollama version with nothing else loaded. The six instruction checks passed again in the rerun, and the judge score below comes from it. Every other number is from the main run.
- Real cold start. Nothing was loaded on the Mac when the main run started, so the 4.9 s includes loading the model.
- 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 15.4, 15.3 and 17.1 tok/s. First-token times were 1.38 s on the first run, then 0.35 and 0.20 s.
| Prompt tokens | Read time | Reading speed | Recall |
|---|---|---|---|
| 13,890 | 130.17 s | 107 tok/s | 3/3 |
| 63,779 | 739.65 s | 86 tok/s | 3/3 |
That’s the number that defines this setup. A 14k-token prompt takes over two minutes to read, and a 64k-token document takes more than twelve. The reading speed holds up well as prompts grow, but it starts slow.
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%) | 199.84 s |
| A2: agent A, follow-up | 20,752 | 20,691 (99.7%) | 1.24 s |
| A3: agent A, follow-up | 20,790 | 20,747 (99.8%) | 1.22 s |
| B1: agent B, first turn | 20,593 | 2 (0%) | 198.59 s |
| A4: back to agent A | 20,829 | 20,785 (99.8%) | 1.2 s |
A first turn costs over three minutes. Once the prompt is cached, follow-ups come back 162 times faster, and agent A’s cache survived agent B in between. The cache does its job perfectly. The trouble is every new conversation, and every agent with a fresh prompt, pays that 200-second entry fee.
Accuracy
Tool use: 6/6. Right tools, right arguments, no malformed JSON, at 4.31 s per model turn. In the three-step chain it looked up the customer, then the invoices, then used the calculator for the total, exactly as intended.
Long-prompt recall: 6/6. All three codes found at both sizes, and it never fell for the decoy.
Logic: 9/9, in 245 seconds. It used 6,473 output tokens across the nine puzzles, about 720 per puzzle. The sequence puzzle took the most work at 1,298 tokens and 49 seconds. Nothing got near the 8,192-token cap.
Instruction following: 6/6. Bullets, raw JSON, lowercase, the forbidden word, the passage question and the haiku all passed, in both the main run and the rerun. The forbidden-word test was the slowest at 27 seconds.
Judged quality: 7.5/10.
| Task | Score | Judge’s notes |
|---|---|---|
| Explain MFA to a non-technical owner | 7 | Plain and well organized, and it puts email, banking and an authenticator app ahead of text messages. But it skips backup codes, security keys and admin accounts, cites an unsupported “99% of attacks” figure, and runs right at the length limit. |
| Debug a Python function | 9 | Found the mutable default argument and gave the standard fix with no invented bugs. A little longer than the brief explanation asked for. |
| Decline a meeting politely | 6 | Polite and clear, but too long, and it piles on commitments that edge toward promises it can’t keep. It also left the next-quarter date as a fill-in-the-blank placeholder. |
| Backup advice | 8 | Says no and covers offsite copies, immutability, restore tests and monitoring, with a clear priority order. It never says to keep backup credentials separate, and it states a couple of assumptions as facts. |
The backup answer was the longest at 1,707 tokens and 110 seconds, and every answer finished well under the 8,192-token cap.
Verdict
Qwen3.8 27B on the Mac gets everything right. It just takes its time doing it. Every scored test passed, the judge gave it a solid 7.5, the cache reuse is close to perfect, and it fits comfortably in 64 GB with the full context loaded.
But I wouldn’t run it here for real work. Inkling 2 Mini on the same Mac also passed everything, generates about 1.5 times faster and reads prompts 2.5 times faster, and gpt-oss 20B is three times quicker still at generation. Qwen only wins on cached agent follow-ups and tool turns, and neither makes up for a three-minute first turn. If you’ve got a GPU box with the memory for it, run it there instead.
Correct answers, eventually.