Local models, graded as agents
Benchmarks for local models on Apple Silicon: how fast a model decodes, and whether it can finish real edit-and-test tasks inside an agent harness. The grader compiles and runs the output, and hidden tests catch cheating, so a pass means the code worked.
Recommendations
- Best Inkling 2 Mini setup: MTPLX. Every test passed, 188 s median for the three agent tasks, 125 tok/s decode. Its memory guard refuses work when RAM is tight, so stop other model servers first.
- Fastest overall: Flint on rec. 233 tok/s decode and 132 s. It is a different model, and it missed a hidden test in 2 of 3 runs, so check what it writes.
- Easiest: oMLX 0.8.3. A Mac app with an OpenAI-compatible server. Every test passed, 247 s, about a third slower than MTPLX.
- Slowest: Unsloth llama.cpp. 52 tok/s and 375–405 s. Pick it for GGUF portability, not speed. Longer context (256k) cost no extra time here.
Inkling 2 Mini, five ways to run it
Median wall time for three agent tasks (ledger, shop, planner), pi harness, 3 runs each. Shorter is faster.
Labels show the median, then the range across 3 runs. Bars start at zero.
| Setup | Median total | Greedy decode | Hidden tests |
|---|---|---|---|
| Flint 40B-A2.5B (rec) | 132 s | 233 tok/s | 1 of 3 runs clean; 2 missed 1 of 6 shop tests |
| MTPLX 2.13 Bare Speed | 188 s | 125 tok/s | all passed |
| oMLX 0.8.3 | 247 s | 75 tok/s | all passed |
Unsloth llama.cpp, 256k |
375 s | 52 tok/s | all passed |
Unsloth llama.cpp, 64k |
405 s | 52 tok/s | all passed |
Method, versions and per-run numbers: Inkling 2 Mini setups compared.
Test machine
| Computer | Mac Studio (Mac17,14) |
| Chip | Apple M5 Max · 18 CPU cores (6 Super + 12 Performance) · 40 GPU cores |
| Memory | 64 GB unified |
| OS | macOS 27.0.1 |
| Harness | pi 1.6.0 |
| Memory pressure | About 26 GB of swap in use during the runs, left over from earlier sessions. See the method page. |
All results
- Inkling 2 Mini, M5 Max StudioFive setups: method, versions, every run
- Flappy Bird contestSix setups build a mobile game
- Weather-app contestSix setups build a native macOS app
- Unsloth vs OllamaEarlier decode comparison and first agent runs
- Agent runs, M5 Max 64 GBpi, OpenCode and Claude Code harnesses
- Agent runs, M1 Max 64 GBThe same tasks on older silicon
- Coding benchmark, M5 Max 64 GBOne-shot compile-and-run grading
- Coding benchmark, M5 Max 36 GBPer-machine record
- Coding benchmark, M1 Max 64 GBPer-machine record
- Coding benchmark, M3 Pro 36 GBPer-machine record
- Coding benchmark, M2 Pro 32 GBPer-machine record
- MethodHow records are made and what is pinned