agent-bench

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.

  • Flint 40B-A2.5Brec, 262k context
    132 s · 131–146
  • MTPLX 2.13Bare Speed, 749k context
    188 s · 169–254
  • oMLX 0.8.3oQ4e-mtp, 262k context
    247 s · 212–250
  • Unsloth llama.cpp256k context
    375 s · 356–397
  • Unsloth llama.cpp64k context
    405 s · 394–406

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

ComputerMac Studio (Mac17,14)
ChipApple M5 Max · 18 CPU cores (6 Super + 12 Performance) · 40 GPU cores
Memory64 GB unified
OSmacOS 27.0.1
Harnesspi 1.6.0
Memory pressureAbout 26 GB of swap in use during the runs, left over from earlier sessions. See the method page.

All results