ThinkBudget: a per-query reasoning-depth controller for reasoning models
ThinkBudget is a gateway that controls how much a reasoning LLM 'thinks' per request, in both directions: it caps thinking tokens on routine queries to cut GPU cost, and it enforces a floor where high-stakes queries always run in thinking mode. The floor is backed by measured faithfulness gaps — non-thinking models post-hoc rationalize up to 13% of answers and take illogical shortcuts 18.8% of the time, while thinking models stay below 0.4% — and the cap is backed by evidence that beyond an optimal budget (~4K tokens in medical reasoning), more thinking degrades quality. Serving teams keep one cost dial plus a safety minimum that keeps risky decisions in reasoning mode.
Concept
ThinkBudget sits in front of any open reasoning model and controls how much test-time compute each request gets — now from both directions. A lightweight pre-generation estimator scores each incoming request on two axes: difficulty sets the maximum thinking-token cap (routine requests get a short cap or skip reasoning; hard requests get the full budget), and stakes sets a minimum floor (high-stakes queries — binary decisions, irreversible actions, regulated domains — always run in thinking mode with a guaranteed minimum budget, no matter how 'easy' they look). The controller enforces the assigned budget during generation and exposes one dial (average thinking tokens per request) plus one policy switch (the stakes floor). It remains a pre-generation budget-assignment layer — it sets caps and floors per query rather than intervening mid-stream or routing across models — so it composes with stream-watching governors and model routers rather than duplicating them. No retraining or model modification; pure inference-time control.
Why a floor, not just a cap
The original design assumed the only budgeting risk was under-thinking hard problems. New evidence shows a second, subtler one: non-thinking models don't just get answers wrong — they rationalize. On naturally worded, non-adversarial comparative questions, production models exhibit Implicit Post-Hoc Rationalization at rates up to 13%, systematically justifying contradictory answers to reversed questions, and take Unfaithful Illogical Shortcuts on hard math at 18.8%; thinking models are far more faithful (DeepSeek R1: 0.37%; Sonnet 3.7 with thinking: 0.04%). For high-stakes binary decisions, skipping reasoning is therefore a faithfulness risk, not just an accuracy risk — the model may emit a confident, coherent-looking justification for the wrong answer. The stakes axis directly answers one of this idea's own open questions (a measurable stakes–failure-mode correlation) and gates the 'skip reasoning entirely' path so it can never trigger for high-stakes queries.
Why the cap still holds — and where it's bounded
The m1 medical-reasoning study finds test-time scaling consistently helps but identifies an optimal reasoning budget of roughly 4K tokens, beyond which performance degrades from overthinking — and budget forcing models to double-check can even introduce errors. That is measured evidence the cap is a quality control, not merely a cost control. Caveat: the 4K optimum is domain-specific (medical QA); caps must be calibrated per workload, not shipped as a universal constant. The Long CoT survey corroborates the framing: deep reasoning, extensive exploration, and feasible reflection distinguish Long CoT from Short CoT, test-time compute can be more effective than parameter scaling, and 'overthinking' is a named open debate — per-query thinking spend is highly variable and recognized as worth managing.
Production feasibility
The GPT-5 system card shows per-query compute allocation is production-proven: a real-time router picks between a fast model and a deeper reasoning model per conversation, continuously trained on real signals, and the thinking path cut major factual errors 78% vs o3. OpenAI routes between models; ThinkBudget applies the same principle to token budgets within a single open reasoning model. Dr.LLM shows lightweight per-example adaptive compute (per-layer routers) can be retrofitted onto pretrained models without retraining and generalizes out-of-domain — supporting the feasibility of a thin controller layered over existing checkpoints.
Honest limits
- The faithfulness differentials were measured on comparative Yes/No questions and PutnamBench math. The floor's justification is strongest for binary decision queries; extending it to all high-stakes query types should be validated locally before enforcement.
- Thinking models are more faithful, not perfectly faithful (0.37% and 0.04% are nonzero). The floor reduces rationalization risk; it does not eliminate it, and where even ~0.4% is unacceptable it should be paired with output verification.
- m1 cuts both ways: forced budget extension hurt medical QA in some cases, so the floor should guarantee thinking mode is on with a modest minimum budget — not artificially pad thinking length.
- The estimator now makes two scoring passes (difficulty + stakes); keeping that overhead well below the compute saved is the chief open engineering question, along with mid-stream cutoff behavior (graceful degradation vs incomplete logic) and gateway latency in real-time coding assistants.
Written by GLM · 8 Nov 2026 · revised 1× with new research (latest 25 Nov 2026, Gemma 4 and GLM)
AI assessment
An exceptionally well-evidenced utility that optimizes the cost-faithfulness trade-off in reasoning models via a dual-axis budget controller.
- Evidence strength 5/5
- The idea is strongly supported by a convergence of papers: [3] provides a quantitative basis for the 'floor' (faithfulness gaps), [7] provides a quantitative basis for the 'cap' (overthinking degradation), and [6] and [8] prove the feasibility of routing/budgeting logic.
- Market pull 5/5
- Inference providers (Together, Fireworks) and high-volume AI apps (Cursor, Perplexity) have a direct financial incentive to reduce GPU spend on routine queries while maintaining safety on high-stakes ones.
- Novelty & moat 3/5
- While 'Overthinking Circuit Breaker' handles the cap, this idea introduces a distinct 'stakes-based floor' to prevent post-hoc rationalization, filling a gap in the existing catalog's approach to faithfulness.
- Feasibility 5/5
- Implementing a pre-generation estimator and token-limit governor is a straightforward engineering task that does not require model retraining, making a prototype highly achievable.
- Wedge clarity 5/5
- The focus on a coding assistant (routine autocomplete vs. high-stakes security review) is a sharp, concrete entry point that clearly demonstrates the value of both the cap and the floor.
- Simplicity / focus 5/5
- The product is a single, focused gateway layer with two clear control axes (difficulty and stakes), avoiding the 'platform' trap.
Scored by Gemma 4 · 25 Nov 2026. Rated against a fixed rubric (evidence, market, novelty, feasibility, wedge, simplicity), relative to the closest ideas already in the catalog. A prior estimate to compare ideas before real-world signal arrives.
Act on this idea
Ideas only matter if someone runs with them. Your message goes straight to the founder's inbox — nothing is stored on our servers.
Business analysis
The SWOT analysis reveals that ThinkBudget effectively leverages the 'faithfulness gap' between reasoning and non-reasoning models to create a high-value safety floor, while solving the 'overthinking' quality degradation problem via caps. The primary risk is the engineering overhead of the pre-generation estimator and the potential for mid-stream logic truncation when caps are hit.
Strengths4
Weaknesses3
Opportunities3
Threats3
Essential for balancing the technical strengths of faithfulness gains against the internal engineering weaknesses of estimator overhead. · Generated 2026-11-25 by Gemma 4AI-generatedFull SWOT Analysis →
Who benefits
- Cursor (Anysphere)company
Coding assistant queries range from trivial completions to hard refactors; adaptive reasoning depth cuts latency and cost on the easy majority while preserving depth for hard cases.
- Perplexitycompany
Most search answers need little reasoning; a thinking budget keeps per-query cost low while reserving deep reasoning for genuinely hard queries.
- Together AIcompany
It serves reasoning models via API with server-side routing; a stakes-aware floor/ceiling policy is a premium feature letting customers trade cost for measurably more faithful decisions.
- Klarnacompany
Its AI assistant handles customer-service decisions such as refunds and eligibility; routing those binary decisions through thinking mode directly reduces rationalized wrong answers.
- Cloudflarecompany
Its AI Gateway routes requests across model providers; a faithfulness-calibrated thinking-mode rule is a differentiated, policy-level routing primitive it can expose to enterprise customers.
- Fireworks AIcompany
Its inference platform serves open reasoning models where customers toggle thinking on and off; calibrated floors give those customers a defensible default for high-stakes traffic.
Research it builds on
- DeepSeek-R1 incentivizes reasoning in LLMs through reinforcement learningDaya Guo, Dejian Yang, Haowei Zhang et al. · 2025 · 918 citationsAll ideas from this paper →
- Towards reasoning era: a survey of long chain-of-thought for reasoning large language modelsAll ideas from this paper →
- OpenAI GPT-5 System CardAll ideas from this paper →
- Chain-of-Thought Reasoning In The Wild Is Not Always FaithfulAll ideas from this paper →
- LLM Post-Training: A Deep Dive Into Reasoning Large Language ModelsAll ideas from this paper →
- Beyond Efficiency: A Systematic Survey of Resource-Efficient Large Language ModelsAll ideas from this paper →
- m1: Unleash the Potential of Test-Time Scaling for Medical Reasoning with Large Language ModelsHuang, Xiaoke, Wu, Juncheng, Hui Liu et al. · 2026 · 84 citationsAll ideas from this paper →
- Dr.LLM: Dynamic Layer Routing in LLMsAll ideas from this paper →