📚 Related: Qwen 3.6 Complete Guide · Quantization Explained · Function Calling with Local LLMs · Best Local Coding Models · Run Qwen 3.6 35B MoE Locally

Your Qwen 3.6 coding agent was fine yesterday. Today it’s fumbling tool calls, mangling diffs, and losing track of its own instructions 30 turns into a task, even though it still answers chat questions cleanly. Before you blame the model, look at your quant. The way most people run Qwen 3.6 locally, a low quantization quietly taxes the exact behaviors an agent depends on.

A viral r/LocalLLaMA thread this week put a name to it: a “huge quality gain” moving Qwen 3.6 from Q4 to Q6 for coding, 211 upvotes in a day. The instinct is to re-download six gigs of Q6 weights tonight. Hold off. By the poster’s own admission, three variables moved at once, so “Q4 is broken, Q6 fixes it” is the wrong takeaway, and it skips a cheaper fix.

Here’s the useful part. Underneath the confounded headline, four separate people describe the same failure with enough specificity to act on. None of it is a benchmark, and we didn’t run this ourselves. But the convergence is the signal, and it points somewhere more precise, and cheaper, than “use a bigger quant.”

Why “just use Q6” isn’t your first move

The thread’s claim is simple: someone running Qwen 3.6 as a coding assistant moved from a Q4 build to a Q6 build, called the jump “huge,” and said it changed which tasks they’d trust the model with. Tempting, but Q6 shouldn’t be your first move, because the same upgrade quietly changed three things at once and only one of them is the bit-depth. Work out which one actually rescued the agent and a cheaper fix opens up.

Quant level. Q4 to Q6. The variable everyone fixates on, and the most expensive to act on: more VRAM, a bigger download. (New to what the levels mean? Start with quantization explained.)

Quant calibration. The old build was a default Ollama Q4_K_M. The new one was a bartowski Q6_K_L. Those are different recipes, not just different bit-depths. One commenter made the point directly: an uncalibrated Q4_K_M versus a calibrated, imatrix build like Unsloth’s UD-Q4_K_XL is already a meaningful quality gap, before you change a single bit of precision. Calibration (imatrix) uses sample data to decide which weights to protect during quantization, so a good calibrated Q4 can beat a lazy Q6. This is the cheap fix hiding in the headline: same memory footprint, better-protected weights. More on K-quants and calibration here.

Runtime. The poster also switched from Ollama to llama.cpp, and noted in a follow-up that Ollama had been quietly truncating the context. That alone can masquerade as a dumber model. If the runtime silently drops the front of your prompt, the agent forgets its instructions and starts flailing, and you blame the quant. Rule this out before you touch quant levels at all. Context length exceeded covers the symptom.

So the headline “huge gain” rolls a precision bump, a calibration upgrade, and a runtime fix into one number. Two of those three cost you nothing. Before you spend VRAM on Q6, find out which lever actually moved the needle, because the reports point at the cheap ones first.

The real signal: where the quant tax actually bites

Strip out the confound and something more interesting survives. Several commenters, on different hardware, describe the same failure shape, and it isn’t the one you’d expect.

The expected story is that a low quant makes a model “dumber”: worse reasoning, worse math, higher perplexity. That is not what these reports say. They say reasoning mostly holds. What degrades is instruction-following and structured-output reliability inside long agentic loops, the exact behaviors a coding agent leans on and a chat user never exercises.

Four distinct voices, four angles on the same pattern:

ReporterSetup / contextWhat broke at Q4What helped
A dual-3090 userCoding agent with a long agents.md rule listNoticeable loss for instruction-heavy agents. On follow-up, the Q6 gain was the model following the long rule list more closely and staying detail-focused, not better logic or better solutionsQ6
One reporter whose model fumbled formattingAgentic codingReasoning held, but the model botched tool-call JSON and diff formatting. The Q4 cliff hit agentic work harder than perplexity scores suggestedQ5_K_M recovered most; Q6 cleaned up the last edits
Another who hit a context cliff around 30kLong agentic tasksHigher error rate throughout, then broke after roughly 30k context and became unable to handle tools at allQ6 ran the same long tasks without breaking
A fourth on chat-vs-agentGeneral useQ4 feels fine until a task carries many instructions. Agents expose quant damage faster than chat does(a diagnosis, not a fix)

Read those together and the through-line is clear. The quant tax on Qwen 3.6 coding isn’t a reasoning tax. It’s a reliability tax, and it gets collected at the two places agents actually live: following a long list of instructions, and emitting clean structured output (tool calls, diffs) turn after turn. It also compounds with context length, so the longer the loop runs, the more Q4 drifts. That’s why a chat user shrugs and an agent operator gets burned. If tool-call formatting is your specific pain, see function calling with local LLMs.

The fix

Here’s the deal: the fix is a ladder, not a single rung. Climb it in order and stop when your agent behaves.

1. Switch from a default Q4 to a calibrated Q4 first. Before you spend VRAM on more bits, fix the recipe. Replace a stock Ollama Q4_K_M with an imatrix build, like Unsloth’s UD-Q4_K_XL or a bartowski calibrated quant. This is the cheapest win, and per the calibration point above, it’s probably most of what the viral thread actually measured. Same memory footprint, better-protected weights.

2. Isolate your variables. If you’re going to test quant levels, change one thing. Keep the same runtime, the same context settings, the same calibration family. And confirm your runtime isn’t truncating context. If you’re on Ollama, check the context window it’s actually serving, because a silent cut looks exactly like quant damage. See how the runtimes compare.

3. Step up to Q5 or Q6 only if a calibrated Q4 still fails your agent. If you’ve got a good calibrated Q4, a clean context pipeline, and the agent still fumbles tool calls or drifts on long instruction lists, that’s your signal to spend the VRAM. One reporter found Q5_K_M recovered most of the loss and Q6 cleaned up the last few edits, so Q5 is a real middle rung, not a rounding error between Q4 and Q6.

4. On 24GB, you have headroom. Qwen 3.6-27B dense at Q6_K fits a single 24GB card, so a 3090 or 4090 owner doesn’t have to agonize: if a calibrated Q4 isn’t cutting it for agent work, Q6 is affordable. The 35B MoE math is different. See running Qwen 3.6 35B MoE locally for the quant-by-quant VRAM breakdown.

When Q4 is fine (the counter-signals)

Now the other side, because “always run Q6” is its own bad advice.

Q4 is fine for plenty of work. For chat, short single-shot coding questions, or anything that doesn’t run a long tool-driven loop, the reports agree a calibrated Q4 is hard to fault. The tax shows up under agentic load, not on an average prompt.

For the 35B MoE, one reporter saw Q5 and Q6 as roughly equal. If you’ve moved to the MoE variant, the Q5-to-Q6 step may not buy you much, which is one more reason to test rather than assume bigger is better.

Going higher isn’t automatically cleaner. One report on fp8 noted it wasn’t a clean win either, with the model still making silly mistakes. More precision is not a guarantee; past a point you’re chasing noisy, diminishing returns.

This isn’t a Qwen problem. Agentic reliability degrading faster than perplexity under quantization is expected behavior for basically any model that wasn’t quantization-aware-trained (QAT). Qwen 3.6 is simply the current popular local coding model, so it’s where people noticed. Swap in another non-QAT model and you’d likely see the same shape.

And nobody has hard numbers. This is the honest limit. Everything above is converging anecdote from one thread, not a controlled benchmark. There’s no public agentic eval that isolates Qwen 3.6 quant levels at fixed calibration and context. The convergence is strong enough to act on. It is not strong enough to quote a percentage.

Bottom line

Don’t re-download Q6 because a viral thread told you to. That “huge gain” bundled three upgrades into one number, and the cheapest of them, a calibrated quant, is probably doing most of the work.

Start with a calibrated Q4 (UD-Q4_K_XL or a bartowski build), make sure your runtime is serving the full context you think it is, and only climb to Q5 or Q6 if your agent still fumbles tool calls or loses the plot on long instruction lists. On a 24GB card, Q6_K of the 27B is right there if you need it. Test one variable at a time, and judge the model by how it behaves deep in an agent loop, not by how it answers your first question.