← Local LLM Choice
Local MLX experiment · matched instruct protocol

How much quantization buys you

A same-prompt, same-seed run of the text-only Qwen3.8-27B conversion at 4-bit, 6-bit, and 8-bit on a 48 GB M4 Pro. The useful surprise is not only speed: the output budget becomes the limiting resource.

3matched quantizations
5.469–12.142generation tokens/s range
17.021–30.471 GBpeak MLX memory range
0 / 3valid artifacts
Measured output

Same task, different weights

Prompt processing and generation rates come from MLX's own verbose counters. Wall time includes model generation. “Missing or invalid” means the process completed but the strict file wrapper was not closed before the cap; the raw output remains preserved in the run folder.

QuantDownloadPrompt t/sGeneration t/sPeak memoryGenerated tokensWall timeArtifactEvidence
4-bit 15.100 GB 114.802 12.142 17.021 GB 8192 687.622 s missing or invalid 2026-09-04-qwen38-27b-4bit-003
report evaluation raw prefix preview
6-bit 21.900 GB 94.225 9.398 23.744 GB 8192 888.504 s missing or invalid 2026-09-04-qwen38-27b-6bit-001
report evaluation raw prefix preview
8-bit 28.600 GB 58.639 5.469 30.471 GB 8192 1524.659 s missing or invalid 2026-09-04-qwen38-27b-8bit-001
report evaluation raw prefix preview
What the stream looked like

Partial previews, clearly labelled

These are screenshots of the exact HTML prefix each model emitted before the wrapper closed. They make the qualitative comparison inspectable while keeping the distinction between a visual preview and a valid artifact explicit.

4-bit partial artifact preview
4-bit · prefix preview · raw output
6-bit partial artifact preview
6-bit · prefix preview · raw output
8-bit partial artifact preview
8-bit · prefix preview · raw output

Qualitative read

The blind evaluation result

The three matched outputs were scored under randomized labels A, B, and C before the quantization labels were revealed. All three reached the same hard limit without closing a strict FILE block, so none produced a valid inspectable artifact in this batch.

Validity0 / 3 valid artifacts
Visual polishNot scoreable without a complete artifact
Originality / usefulnessIdeas were visible in partial streams, but not deliverable
Technical defectAll three truncated mid-JavaScript at 8,192 generated tokens
Blind labelRevealed quantPartial scoreRead
B4-bit2.6/5coherent but least complete
A6-bit3.0/5focused but incomplete
C8-bit3.6/5strongest partial closest to delivery

This is a failure-mode result, not a claim that the underlying model cannot make a polished artifact with a larger output budget or a more compact prompt.

Protocol

What was held constant

Base modelQwen/Qwen3.8-27B · revision 1d4bf0f2ff6012fd82039f2fa52739d0dd7c60c0
Prompt hash7ec483602373ea8db53b0b65ee828051c026c8d0c2993ad76ef929dba9445bf4
Samplertemperature 0.7 · top-p 0.8 · top-k 20 · min-p 0 · seed 38027
ReasoningThinking explicitly disabled; no inherited xhigh default
Context / output8,192-token KV context · 8,192-token maximum output
ConversionMatched text-only MLX conversions; one model at a time in fresh contexts