Does 4-bit quantization break thinking mode? Qwen3.8-27B BF16 vs FP8 vs NVFP4 vs INT4-AWQ on long reasoning
In Study 1, FP8, NVFP4 and INT4-AWQ lost no measurable accuracy on Qwen3.8-27B with thinking off. Here we turn thinking mode ON across the exact same four pinned commits (plus NVFP4’s shipped FP8 KV cache) on one NVIDIA RTX PRO 6000 with vLLM 0.34.0, measuring 4,672 reasoning rollouts, loop/truncation rates, token inflation and effective cost per solved problem at $2.712/h.
- NVFP448 users, 1,559 tok/s$0.48-6.7 pts
- INT4-AWQ24 users, 1,081 tok/s$0.70-5.8 pts
- FP832 users, 1,024 tok/s$0.74-7.5 pts
- BF1624 users, 517 tok/s$1.46baseline
Findings: thinking-mode quantization on Qwen3.8-27B
- Yes, ultra-long 32K math drops 5.8 to 7.5 points under quantization, but official FP8 drops just as much as 4-bit. On AIME 2024+2025 (60 problems x 2 runs, 32,768 max tokens), BF16 scored 90.8%. Every quantized checkpoint took a statistically significant paired loss: INT4-AWQ 85.0% (-5.8 pts, 95% CI -10.8 to -1.7), NVFP4 84.2% (-6.7 pts, CI -11.7 to -2.5), official FP8 83.3% (-7.5 pts, CI -15.0 to -0.8), and NVFP4 with its shipped FP8 KV cache 83.3% (-7.5 pts).
- The failure mode is 32K length truncation, not 4-bit arithmetic collapse or rampant repetition loops. Whenever an arm finished thinking inside 32,768 tokens on AIME-60, accuracy was 109/109 (100.0%) for BF16, 101/101 (100.0%) for NVFP4, 102/102 (100.0%) for INT4-AWQ, and 100/102 (98.0%) for FP8. Quantized checkpoints simply ran out of the 32K window 64% to 73% more often (18 to 19 truncations vs 11 for BF16), and NVFP4 spent +8.5% more completion tokens overall. Only 4 degenerate repetition loops occurred across 600 AIME rollouts (even at
presence_penalty=0.0): 3 in official FP8, 1 in INT4-AWQ, and 0 in BF16 or NVFP4. - On short and medium thinking chains (up to 16K), none of the quantized checkpoints lost measurable accuracy. On MATH-500 (500 problems, 16K cap), turning thinking ON lifted BF16 by +18.2 points over Study 1 (78.4% to 96.6%), and FP8 (96.6%), INT4-AWQ (96.6%), NVFP4 (96.2%) and NVFP4+FP8 KV (96.6%) all held within -0.4 to 0.0 points. On MMLU-Pro Hard-393 (all 393 Study 1 questions where every arm failed with thinking off), thinking rescued 33.1% for BF16, 34.1% for FP8, 35.9% for NVFP4 (using 6.1% fewer tokens) and 33.3% for INT4-AWQ.
- NVFP4’s shipped FP8 KV cache added no measurable extra loss over NVFP4 with BF16 KV. Comparing Arm F (FP8 KV) directly against Arm C (BF16 KV): AIME-60 -0.8 pts (CI -5.0 to +4.2), MATH-500 +0.4 pts (CI -0.8 to +1.8), with 0 loops in both arms.
- NVFP4 is 2.6x to 3.5x cheaper per solved problem than BF16, even after paying for longer AIME chains. On our dense 11-level SLA sweep (512 in / 2,048 out), NVFP4 holds the latency target up to 48 concurrent users at 1,559 tok/s (3.02x BF16’s 517 tok/s at 24 users). Effective cost per 1,000 solved problems: $1.07 vs $3.26 on MATH-500 (3.0x cheaper), $8.14 vs $20.97 on AIME-60 (2.6x cheaper), and $10.34 vs $36.02 on MMLU-Pro Hard (3.5x cheaper).
Effective cost per 1,000 solved thinking problems
Per-token pricing misses what matters in reasoning models: a cheaper checkpoint that thinks longer or drops accuracy can erase its speed advantage. Here we combine all three measured quantities (dense SLA throughput at $2.712/h, mean completion tokens per problem, and solved rate) into USD per 1,000 solved problems. Upper-left is better.
| Checkpoint | Dense SLA knee | Tok/s at knee | $ / M tok at knee | $ / 1k MATH-500 | $ / 1k AIME-60 | $ / 1k MMLU-Pro Hard |
|---|---|---|---|---|---|---|
| BF16 | 24 users | 516.7 | $1.46 | $3.26 | $20.97 | $36.02 |
| FP8 | 32 users | 1,023.5 | $0.74 | $1.65 | $12.36 | $17.51 |
| NVFP4 | 48 users | 1,559.3 | $0.48 | $1.07 | $8.14 | $10.34 |
| INT4-AWQ | 24 users | 1,080.8 | $0.70 | $1.52 | $10.72 | $16.54 |
AIME 2024 + 2025 (32K cap): where quantization hurts, and why
All five arms ran 60 competition math problems x 2 runs (120 rollouts per arm, 600 total) with Qwen’s official thinking sampling (temperature=0.6, top_p=0.95, top_k=20, presence_penalty=0.0) and a 32,768-token completion cap. Every paired difference and 95% interval comes from 10,000 problem-level bootstrap resamples against BF16 (seed 0).
| Arm | Accuracy | Paired delta vs BF16 (95% CI) | Verdict | Acc when finished (<32K) | Truncations | Loops | Mean / median tok |
|---|---|---|---|---|---|---|---|
| A, BF16 | 90.8% | ref | ref | 109/109 (100.0%) | 11 (9.2%) | 0 | 13,063 / 10,916 |
| B, FP8 | 83.3% | -7.5 (-15.0 to -0.8) | Loss | 100/102 (98.0%) | 18 (15.0%) | 3 | 14,000 / 10,670 |
| C, NVFP4 | 84.2% | -6.7 (-11.7 to -2.5) | Loss | 101/101 (100.0%) | 19 (15.8%) | 0 | 14,179 / 11,158 |
| D, INT4-AWQ | 85.0% | -5.8 (-10.8 to -1.7) | Loss | 102/102 (100.0%) | 18 (15.0%) | 1 | 13,067 / 8,390 |
| F, NVFP4 + FP8 KV | 83.3% | -7.5 (-12.5 to -2.5) | Loss | 100/102 (98.0%) | 18 (15.0%) | 0 | 13,801 / 11,368 |
Notice the fifth column: BF16, NVFP4 and INT4-AWQ each scored 100.0% whenever they reached a final answer before the 32K wall (109/109, 101/101 and 102/102). The entire 5.8 to 7.5 point drop came from quantized chains hitting the 32,768-token ceiling before emitting their boxed answer. Isolating NVFP4’s shipped FP8 KV cache (Arm F minus Arm C) shows no measurable extra penalty: -0.8 pts on AIME-60 (CI -5.0 to +4.2), +0.4 pts on MATH-500 (CI -0.8 to +1.8), and 0 loops in both arms.
MATH-500 and MMLU-Pro Hard-393 (16K cap): zero measurable loss
MATH-500 directly bridges Study 1 (thinking off) and Study 4 (thinking on) on the identical 500 problems and pinned checkpoints. Turning thinking mode on added +18.2 to +20.4 points across every precision, and erased even the small non-significant 1.4 to 2.2 point gap seen in Study 1.
| Arm | Study 1 (thinking off) | Study 4 (thinking on) | Paired delta vs BF16 (95% CI) | Verdict | Truncations | Loops | Mean / median tok |
|---|---|---|---|---|---|---|---|
| A, BF16 | 78.4% | 96.6% | ref | ref | 10 (2.0%) | 0 | 2,161 / 660 |
| B, FP8 | 76.2% | 96.6% | 0.0 (-1.4 to +1.4) | No measurable loss | 11 (2.2%) | 0 | 2,165 / 658 |
| C, NVFP4 | 76.4% | 96.2% | -0.4 (-2.0 to +1.2) | No measurable loss | 12 (2.4%) | 0 | 2,139 / 660 |
| D, INT4-AWQ | 77.0% | 96.6% | 0.0 (-1.4 to +1.4) | No measurable loss | 9 (1.8%) | 1 | 2,102 / 690 |
| F, NVFP4 + FP8 KV | n/a | 96.6% | 0.0 (-1.4 to +1.4) | No measurable loss | 11 (2.2%) | 0 | 2,220 / 662 |
MMLU-Pro Hard-393 (consensus-hard Study 1 failures)
All four Study 1 arms (BF16, FP8, NVFP4 and INT4-AWQ) scored 0.0% on these 393 MMLU-Pro questions with thinking off, eliminating both ceiling effects and selection bias toward any precision. With thinking on (16K cap), every quantized arm matched or slightly exceeded BF16’s rescue rate (all intervals cross zero, pre-registered verdict: no measurable loss).
| Arm | Rescued accuracy | Paired delta vs BF16 (95% CI) | Verdict | Truncations | Loops | Mean / median tok | Token ratio vs BF16 (95% CI) |
|---|---|---|---|---|---|---|---|
| A, BF16 | 33.1% | ref | ref | 98 (24.9%) | 0 | 8,172 / 6,772 | 1.000 |
| B, FP8 | 34.1% | +1.0 (-2.5 to +4.6) | No measurable loss | 97 (24.7%) | 0 | 8,113 / 7,019 | 0.993 (0.940 to 1.048) |
| C, NVFP4 | 35.9% | +2.8 (-1.0 to +6.6) | No measurable loss | 87 (22.1%) | 0 | 7,677 / 6,052 | 0.940 (0.887 to 0.996) |
| D, INT4-AWQ | 33.3% | +0.3 (-3.1 to +3.8) | No measurable loss | 104 (26.5%) | 1 | 7,911 / 6,185 | 0.968 (0.915 to 1.023) |
Truncations, repetition loops and thinking-token inflation
Across social media and local-LLM forums, the sharpest concern about 4-bit reasoning checkpoints is runaway repetition loops and 20% to 40% token bloat. We kept presence_penalty=0.0 deliberately so loops would not be hidden. Across all 4,672 rollouts, only 6 triggered the deterministic tail repetition detector (3 in FP8 AIME, 1 in INT4-AWQ AIME, 1 in INT4-AWQ MATH-500, 1 in INT4-AWQ MMLU-Pro Hard, and 0 in NVFP4 or BF16). Three of the four AIME loops collapsed onto the exact same \x7f? token pattern. What actually grew under quantization was 32K truncation rate (+5.8 to +6.7 points on AIME) and a modest +8.6% token increase for NVFP4 on AIME (while NVFP4 used 6.1% fewer tokens than BF16 on MMLU-Pro Hard).
Dense 11-level SLA throughput sweep and active-window energy
Study 1 used a coarse power-of-4 concurrency grid (1, 4, 16, 64, 128) on 1,024 in / 512 out, which penalized any checkpoint whose SLA knee sat between 4 and 16 users. Here we benchmarked a decode-heavy thinking shape (512 in / 2,048 out, --ignore-eos, prefix caching off) across an 11-level grid (1, 2, 4, 8, 12, 16, 24, 32, 48, 64, 128, 2 repeats per level, agreeing within 0.05%). Active GPU energy integrates only active samples (utilization.gpu > 5%) over vllm bench serve’s exact measured duration, removing client-startup bias.
| Checkpoint | 1-user tok/s | Dense SLA knee | Tok/s at knee | TTFT p95 at knee | TPOT p50 at knee | Peak tok/s (c=128) | Active J/tok (c=128) |
|---|---|---|---|---|---|---|---|
| BF16 | 26.7 | 24 users | 516.7 | 1.74 s | 45.8 ms | 1,195.8 | 0.361 |
| FP8 | 46.5 | 32 users | 1,023.5 | 1.45 s | 30.6 ms | 2,020.1 | 0.209 |
| NVFP4 | 60.7 | 48 users | 1,559.3 | 1.52 s | 30.3 ms | 2,306.9 | 0.179 |
| INT4-AWQ | 70.6 | 24 users | 1,080.8 | 1.81 s | 21.4 ms | 1,966.3 | 0.233 |
What we did
- GPU: 1x NVIDIA RTX PRO 6000 Blackwell Server Edition (96 GB, 600 W limit), driver 595.91.07, CUDA 13.2, Ubuntu 24.04 LTS. RTX PRO 6000 on Spheron, dedicated (not spot), $2.712/h on 30 Nov to 1 Dec 2026, deployed and operated through Spheron Agent GPU Sandbox (
sandbox: true). - Engine: vLLM 0.34.0 (identical version to Study 1),
--host 127.0.0.1 --max-model-len 40960 --max-num-seqs 256 --seed 0 --disable-prefix-caching --limit-mm-per-prompt '{"image":0,"video":0}' --reasoning-parser qwen3 --default-chat-template-kwargs '{"enable_thinking": true}'. KV cache forced to BF16 for arms A to D;auto(shipped FP8 KV) for arm F.--gpu-memory-utilization 0.85for NVFP4 arms C and F,0.90for A, B and D. - Checkpoints (exact same pinned commits as Study 1):
- A
Qwen/Qwen3.8-27B37561816e66b(BF16, 55.6 GB) - B
Qwen/Qwen3.8-27B-FP8c3a462cc3d38(FP8 e4m3 dynamic, 30.9 GB) - C
unsloth/Qwen3.8-27B-NVFP4f0b7c9e722f5(NVFP4 (compressed-tensors), 23.4 GB) - D
cyankiwi/Qwen3.8-27B-AWQ-INT4e3a700906e6a(INT4-AWQ group 32, 21.0 GB) - F uses C’s weights with its shipped FP8 KV cache (
auto) on AIME-60 and MATH-500.
- A
- Sampling & grading:
temperature=0.6,top_p=0.95,top_k=20,presence_penalty=0.0, deterministic per-run seeds. AIME 2024+2025 (60 problems x 2 runs, 32,768 max tokens) and MATH-500 (500 problems, 16,384 max tokens) graded withmath_verify; MMLU-Pro Hard-393 (393 Study 1 consensus failures, 16,384 max tokens) graded by exact option letter match. - Pre-registration: the plan and initial harness were SHA-256 frozen before any GPU measurement. Paired accuracy deltas, loop/truncation deltas and token ratios use 10,000 problem-level bootstrap resamples (seed 0) against BF16.
What this does not show
- AIME 2024+2025 predates Qwen3.8-27B’s release, so absolute AIME accuracy (90.8% BF16) may reflect training exposure. Because all five arms share the identical base model, the paired precision differences and 32K truncation mechanism remain clean.
- Presence penalty was held at 0.0 intentionally. Qwen’s model card recommends
presence_penalty=1.5to suppress repetition loops. Keeping it at 0.0 prevented masking quantization-induced loops; even at 0.0, NVFP4 and BF16 had 0 loops across all benchmarks. - A higher token cap (such as 64K) may close the AIME accuracy gap. Because NVFP4 and INT4-AWQ were 100.0% accurate whenever they finished inside 32,768 tokens, raising the thinking budget could recover most or all of the 5.8 to 7.5 point truncation loss at the cost of extra tokens and latency.
- One
math_verifyLaTeX edge case on MATH-500. Ontest/precalculus/1300.json, all five arms produced equivalent vectors using row-spacing macros (\\[2mm]or\\[2pt]) thatmath_verifydid not parse; because it affected all five arms identically, paired deltas are unaffected. - One GPU architecture (Blackwell SM120). NVFP4 runs natively on Blackwell; on Hopper (H100/H200), NVFP4 speed and cost rankings would differ.
What changed from the plan
- Client timeout fixed mid-Arm A (BF16 AIME). The initial
AsyncOpenAI(timeout=1800.0)with default retries timed out on 32K AIME chains at concurrency 32 (~35 min per 32K rollout). Fixed totimeout=3600.0,max_retries=0, no retry on timeout, and concurrency 20 for BF16 AIME. - AIME-60 passes adjusted from
k=4tok=2across all five arms. Mid-run pacing showed BF16 AIME chains averaged over 10K tokens. Adjusting uniformly tok=2(120 rollouts per arm = 60 problems x 2 seeds) kept all five arms strictly paired; the 58 extra BF16 run 2–3 rows generated before the switch are archived separately and excluded from scoring. - Hardware ECC fault at the end of Arm A. After Arm A completed all 3 thinking evals and 21 of 22 dense bench runs (
c=1..64x 2 plusc=128repeat 1), the physical GPU threwCUDA_ERROR_ECC_UNCORRECTABLEonc=128repeat 2. All Arm A outputs were backed up (SHA-256 verified), and Arms B, C, D and F ran cleanly on an identical replacement 1x RTX PRO 6000 (0 ECC errors). Arm Ac=128therefore uses 1 repeat instead of 2; all other levels have 2 repeats agreeing within 0.05%. - Quantized eval concurrency raised from 20/48 to 48/64. FP8, NVFP4 and INT4-AWQ have roughly double BF16’s KV-cache capacity; raising client concurrency sped up evaluation with zero change to prompts, sampling or model outputs.
Raw data, full traces and downloads
Every table and chart on this page is rebuilt directly from these files. Data is under CC BY 4.0, scripts under MIT.
- paired_vs_bf16.csvPre-registered paired bootstrap comparisons (10,000 resamples) vs BF16 (plus FP8 KV vs BF16 KV): accuracy delta, verdict, loop/truncation delta and token ratio with 95% intervals.
- quality.csvAccuracy, pass@k, loop rate, truncation rate and mean/median completion tokens per checkpoint and benchmark.
- throughput_summary.csvDense 11-level concurrency sweep (512 in / 2,048 out): median throughput, TTFT, TPOT, active-window joules per output token and USD per million tokens.
- throughput_runs.csvAll 87 individual dense-sweep repeats before taking medians.
- cost.csvDense SLA knee, peak throughput, single-user speed, tokens per solved problem and effective USD per 1,000 solved problems per benchmark.
- regressions.csvEvery problem-arm pair (129 rows) where BF16 beat a quantized arm in accuracy or loop/truncation rate.
- rollouts.csvOne row per scored thinking rollout (4,672 rows): correctness, finish reason, loop flag, prompt/completion tokens, reasoning/answer lengths and latency.
The price-free report, pre-registered plan hashes, harness scripts, charts and derived CSVs are in the public research repo. All 4,672 full thinking traces (including the 603-row failure-case subset and all 4 AIME repetition loops) are published as Parquet on Hugging Face at spheron/qwen38-27b-thinking-quantization. The public repo does not carry prices, so cost.csv and the cost-per-solved figures live on this page.
How to cite this study
The URL will not change. Corrections bump the version and add a dated line under Changes, with the old numbers left visible.
Spheron Research (2026). Does 4-bit quantization break thinking mode? Qwen3.8-27B BF16 vs FP8 vs NVFP4 vs INT4-AWQ on long reasoning. Measured 30 Nov 2026 to 1 Dec 2026, published 1 Dec 2026, version 1.
https://www.spheron.network/research/qwen38-27b-thinking-quantization/
Raw data: https://github.com/spheronai/research/tree/main/2026-11-30-qwen38-27b-thinking-quantization@misc{spheron2026qwen38thinkingquant,
author = {{Spheron Research}},
title = {Does 4-bit quantization break thinking mode? Qwen3.8-27B BF16 vs FP8 vs NVFP4 vs INT4-AWQ on long reasoning},
year = {2026},
note = {Measured 30 Nov 2026 to 1 Dec 2026, published 1 Dec 2026, version 1},
howpublished = {\url{https://www.spheron.network/research/qwen38-27b-thinking-quantization/}}
}Changes to this study
- 1 Dec 2026: version 1.
Related studies: Study 1 (Qwen3.8-27B with thinking off) and Study 3 (GLM-5.3-Flash coding agent quantization).
Serve Qwen3.8-27B NVFP4 on an RTX PRO 6000
Same 96 GB Blackwell GPU, vLLM 0.34.0: 1,559 tok/s at 48 concurrent users and $1.07 per 1,000 solved MATH-500 problems. Rent by the minute or deploy via Agent GPU Sandbox.
