Qwen 3.6 is frontier for local. It also thinks forever. I tried a...

It also thinks forever.
I tried a dumb inference-time trick: make its
Result:
- HumanEval+: 22x fewer think tokens, no accuracy loss
- LiveCodeBench public slice: +14% pass@1, ~5x fewer total tokens
Just GBNF-constrained decoding.
The constraint is applied only to the reasoning block, not the final answer/code.
Free-form thinking:
92.1% pass@1
3087 mean think tokens
Grammar:
92.7% pass@1
138 mean think tokens
Same accuracy band.
~22x fewer thinking tokens.
Free-form: 50% pass@1 and 11553 mean think tokens
Grammar: 64% pass@1 and 267 mean think tokens
On harder tasks, some reasoning moved into comments / post-think answer text.
Yet it reacts to how grammar is constructed.
I believe there may be task specific grammars discovered through @DSPyOSS style prompt optimization.
Constrained decoding can force a denser interface to the model’s latent reasoning.
But if the task really needs more deliberation, it leaks somewhere else.
verbose CoT at inference
training models to reason in latent space
Just constrain the text interface.
Full writeup + results:
andthattoo.dev/blog/structure…
and repo: github.com/andthattoo/str…