RunsLocalGPU checkerLocal AI toolsv5.8 · data Nov 22, 2026

Home / Best models / Coding

Best local coding models for your GPU or Mac

The best local coding model for your PC is the largest coding model that fits in your VRAM at Q4_K_M or better and still runs at 10+ tokens/sec. At 8K context: 6 GB GPU: Recursive Flint 40B-A2.5B (Q4_K_M, needs offload, ~33 tok/s); 8 GB GPU: Recursive Flint 40B-A2.5B (Q4_K_M, needs offload, ~36 tok/s); 10 GB GPU: Mellum2.1 12B-A2.5B Thinking (Q5_K_M, ~150+ tok/s); 11 GB GPU: Mellum2.1 12B-A2.5B Thinking (Q5_K_M, ~150+ tok/s); 12 GB GPU: Mellum2.1 12B-A2.5B Thinking (Q6_K, ~148 tok/s); 16 GB GPU: Mellum2.1 12B-A2.5B Thinking (Q8_0, ~150+ tok/s); 20 GB GPU: Qwen3.8 27B (Q4_K_M, ~28 tok/s); 24 GB GPU: Qwen3.6 35B-A3B (Q4_K_M, ~150+ tok/s); 32 GB GPU: Recursive Flint 40B-A2.5B (Q5_K_M, ~150+ tok/s); 72 GB GPU: Ripple-65B Preview (Q8_0, ~12 tok/s); 96 GB GPU: Ripple-65B Preview (Q8_0, ~16 tok/s). On a Mac: 32 GB Mac: Qwen3.6 35B-A3B (Q4_K_M, ~50 tok/s); 64 GB Mac: Recursive Flint 40B-A2.5B (Q8_0, ~123 tok/s); 128 GB Mac: Recursive Flint 40B-A2.5B (Q8_0, ~123 tok/s). Pair it with a free coding agent such as Continue, Cline and Aider.

Check your exact card

Best coding model by memory size

MemoryBest coding modelQuant · memoryEst. speedFastest MoE coder
6 GB GPU
RTX 2060
Recursive Flint 40B-A2.5BQ4_K_M · 24.9 GB33 tok/s—
8 GB GPU
RTX 4060
Recursive Flint 40B-A2.5BQ4_K_M · 24.9 GB36 tok/s—
10 GB GPU
RTX 3080 10GB
Mellum2.1 12B-A2.5B ThinkingQ5_K_M · 9.1 GB150+ tok/s—
11 GB GPU
RTX 2080 Ti
Mellum2.1 12B-A2.5B ThinkingQ5_K_M · 9.1 GB150+ tok/s—
12 GB GPU
RTX 4070
Mellum2.1 12B-A2.5B ThinkingQ6_K · 10.4 GB148 tok/s—
16 GB GPU
RTX 4070 Ti Super
Mellum2.1 12B-A2.5B ThinkingQ8_0 · 13.3 GB150+ tok/s—
20 GB GPU
RX 7900 XT
Qwen3.8 27BQ4_K_M · 18.0 GB28 tok/sMellum2.1 12B-A2.5B Thinking ~150+ tok/s
24 GB GPU
RTX 4090
Qwen3.6 35B-A3BQ4_K_M · 22.2 GB150+ tok/s—
32 GB GPU
RTX 5090
Recursive Flint 40B-A2.5BQ5_K_M · 29.1 GB150+ tok/s—
72 GB GPU
RTX PRO 5000 Blackwell 72GB
Ripple-65B PreviewQ8_0 · 70.6 GB12 tok/sRecursive Flint 40B-A2.5B ~150+ tok/s
96 GB GPU
RTX PRO 6000 Blackwell
Ripple-65B PreviewQ8_0 · 70.6 GB16 tok/sRecursive Flint 40B-A2.5B ~150+ tok/s
32 GB Mac
M5 32GB
Qwen3.6 35B-A3BQ4_K_M · 22.2 GB50 tok/s—
64 GB Mac
M4 Max 64GB
Recursive Flint 40B-A2.5BQ8_0 · 43.1 GB123 tok/s—
128 GB Mac
M4 Max 128GB
Recursive Flint 40B-A2.5BQ8_0 · 43.1 GB123 tok/s—

All coding models

Coding agents that use local models

Agentic coding needs long context; at 32K+ context the KV cache grows, so pick one size smaller or check your card in the tool. Speeds assume 32 GB system RAM.