▚ LOCAL LLM BENCHMARK SUITE // LFU CACHE & ACID AUDIT

// BENCHMARK_RESULTS .json

13 models graded on a strict 5-pillar / 100-pt rubric · O(1) LFU + ACID transactions · M3 Max · LM Studio  ·  TOP: DeepSeek V4 Flash (CLOUD baseline)
Models Tested
13
Top Score
91
Average
64.9
Prod-Ready
1/13

▮ 5-PILLAR RADAR — TOP 3

▮ SCORE vs THROUGHPUT (tok/sec)

Local models only — cloud baseline (DeepSeek) excluded from the speed axis. Bars flagged ⚠ have suspected GPU-offload / inference issues (not representative of the model).

▮ KEY FINDINGS — patterns across 12 local models

5/12
RUN THEIR OWN TESTS
Half of local models crash before completing — runnability is the real filter.
8/12
CRITICAL BUGS
Cache corruption, evict-crashes, or fatal KeyErrors — not safe for systems work.
1/12
DECLARE __slots__
Rubric explicitly required it for memory efficiency; nearly all models miss it.
3/12
USE time.monotonic()
The rest use the system clock — NTP jumps corrupt TTL eviction.

▮ CLOUD-OFFLOAD STRATEGY — what to actually run when rationing cloud credits

Goal: a trustworthy local backup for when your cloud-LLM plan runs low. A model only earns offload duty if its code runs — a high score that crashes wastes your time and still costs a cloud call afterward. Only 5/12 local models produced runnable code; 7/12 crashed.

▮ LEADERBOARD

#ModelQuantFormatSpeedScoreVerdictBest For
#1
DeepSeek V4 Flash (CLOUD baseline) lfu
⚠ speed suspect
n/a (cloud) CLOUD N/A t/s
91
PROD Reference-quality baseline (91/100) — the bar the local mode… DECODE ▸
#2
Qwen 3.6 35B-A3B lfu
6-bit MLX MLX 68.9 t/s
82
FLAWS Solid daily-driver scaffolding for ACID/async patterns — pro… DECODE ▸
#3
Gemma 4 26B-A4B lfu
8-bit MLX 58.3 t/s
82
FLAWS Tied top local scorer (82). The only local model to use delt… DECODE ▸
#4
Gemma 4 31B lfu
⚠ speed suspect
GGUF GGUF 10.1 t/s
78
FLAWS Clean, correct, runnable code with solid O(1) structure and … DECODE ▸
#5
Qwen 3.6 27B lfu
⚠ speed suspect
8-bit MLX 12.3 t/s
78
FLAWS Clean, correct, runnable — same tier as Gemma 4 31B (78). Go… DECODE ▸
#6
Gemma 4 31B QAT lfu
⚠ speed suspect
QAT GGUF GGUF 15.0 t/s
70
CRIT Runnable and structurally sound, but the LFU eviction has a … DECODE ▸
#7
KAT-Coder v2.5 Dev XL lfu
MLX MLX 65.3 t/s
65
CRIT Promising code-design instincts (cleanest abstractions and b… DECODE ▸
#8
Qwen 3.6 35B-A3B lfu
4-bit MLX MLX 83.3 t/s
57
CRIT Not recommended for systems code as-is. The 4-bit quant degr… DECODE ▸
#9
Qwen3 Coder 30B lfu
6-bit MLX 72.7 t/s
50
CRIT Not usable as-is — transactions crash immediately due to an … DECODE ▸
#10
Qwen 3.6 35B-A3B rust
6-bit MLX MLX 69.0 t/s
50
CRIT NOT usable for Rust as-is — 7 compile errors. Same model tha… DECODE ▸
#11
Qwen 3.6 35B-A3B (uncensored hauhaucs aggressive) lfu
GGUF GGUF 62.5 t/s
49
CRIT Not recommended for production code. Reasonable API shape an… DECODE ▸
#12
Qwen 3.6 35B-A3B tts
6-bit MLX MLX 69.9 t/s
49
CRIT NOT a safe offload for async-pipeline / queue work despite s… DECODE ▸
#13
Gemma 4 12B Coder (fable5-composer2.5-v1-uncensored-heretic merge) lfu
mxfp8 MLX MLX 25.3 t/s
43
CRIT Not usable as-is — the cache cannot store its first key and … DECODE ▸

▮ FORMAT & QUANT SHOWDOWN — same family, different quants/formats

Families with 2+ variants. Click a row for the full audit. Compare how quant depth and MLX-vs-GGUF change the score.
Gemma 4 4 variants · score spread 39 · best 82 (8-bit)