The Spectrum Dispatch News

technology

4-bit quantization of Qwen3.8 27B matches full model on coding benchmarks

Testing shows Q4_K_M quantization at 17GB maintains performance on GPQA Diamond, IFBench, and Terminal-Bench 2.1, but 1-bit quantization collapses to near-random scores.

4-bit quantization of Qwen3.8 27B matches full model on coding benchmarks

A detailed benchmark study of Qwen3.8 27B quantizations reveals that aggressive model compression works well up to a point, then fails catastrophically.

4-bit quantization of Qwen3.8 27B matches full model on coding benchmarks

The full BF16 model requires 55GB of GPU RAM, making it inaccessible to most consumer hardware. According to the analysis, the 4-bit Q4_K_M quantization at 17GB fits on consumer cards like the RTX 4090 while maintaining performance across multiple benchmarks. The author spent approximately $3,000 on Modal GPUs to test the model using llama.cpp, running the model on GPQA Diamond (graduate-level science questions), IFBench (instruction-following), and Terminal-Bench 2.1 (agentic coding with 89 tasks).

Results showed minimal degradation down to 4-bit compression. On Terminal-Bench 2.1, the Q4_K_M quantization matched the full model’s results. On GPQA Diamond, performance remained stable across quantization levels down to 2-bit, with only noise-level differences. For IFBench, the 2-bit quantization at under 11GB showed no measurable change from the full model.

However, performance collapsed at 1-bit quantization. According to the findings, 1-bit models scored around random-chance levels on GPQA Diamond, with longer reasoning tasks performing even worse. The author notes that while Unsloth claims 1-bit models retain “around 72% top-1% accuracy,” this remaining 28% accuracy loss proves critical for task performance.

The study also examined task-solving efficiency. On successfully solved tasks, the 2-bit UD-Q2_K_XL quantization required roughly the same number of turns as the full model but generated approximately 25% more tokens.

The author concludes that quantization should be “embraced, rather than feared,” recommending the Q4_K_M for most tasks and UD-Q2_K_XL for simpler applications. The analysis demonstrates that model compression follows a nonlinear degradation curve: initially imperceptible, then gradually declining, before finally collapsing entirely at extreme compression levels.

Key facts

  • Q4_K_M 4-bit quantization (17GB) matches full BF16 model on Terminal-Bench 2.1 coding benchmark
  • 2-bit quantization shows no measurable change on IFBench instruction-following tests
  • 1-bit quantization scores near random chance on GPQA Diamond, worse with longer reasoning
  • Full model requires 55GB; Q4_K_M fits on 24GB RTX 4090 with room for 64k token context
  • Benchmark testing cost approximately $3,000 in Modal GPU rental fees

Sources

← All posts