Skip to main content
Back to all articles
AI Engineering 5 min readUpdated September 18, 2026

Your Reasoning Model Doesn't Need to Think Hard About Everything.

Reasoning effort should be a per-request policy, not a global model setting. Match thinking depth to task difficulty, measure quality per tier, and spend high-effort reasoning only where it changes the answer.

By Salman Butt · Senior Full-Stack & Generative AI Engineer
#Reasoning Models#LLM Engineering#Cost Optimization#AI Agents#LLM Evals#TypeScript#Python#Production AI
On this page

A reasoning model should not spend the same amount of effort on:

Text
Rewrite this sentence.

and:

Text
Reconcile these three contracts,identify the conflicting clauses,and recommend the safest migration plan.

Yet a lot of production systems configure reasoning once at startup and send every request through the same setting.

That is convenient.

It is also a bad match for real traffic.

Easy requests pay unnecessary latency and token cost. Hard requests may still need more depth than the global setting allows.

I prefer to treat reasoning effort as request policy, not model configuration.

The model stays the same.

The amount of thinking changes with the job.

Difficulty should be a product concept

I would not ask the reasoning model itself:

How hard is this request, and how much should you think?

That spends expensive reasoning to decide whether expensive reasoning was needed.

The cheapest requests should be obvious before the model is called.

In a real application, many routes already tell you something about difficulty:

Text
rewrite_title        → lowclassify_ticket      → lowsummarize_document   → mediumdebug_build_failure  → highplan_data_migration  → high

Start there.

Use a heuristic or a small classifier only for requests whose difficulty is genuinely unknown.

type Effort =  | "low"  | "medium"  | "high";​type RequestContext = {  taskType?: string;  prompt: string;  toolCount: number;};​const TASK_POLICY: Record<  string,  Effort> = {  rewrite_title: "low",  classify_ticket: "low",  summarize_document: "medium",  debug_build_failure: "high",  plan_data_migration: "high",};​function chooseEffort(  ctx: RequestContext,): Effort {  if (    ctx.taskType &&    TASK_POLICY[ctx.taskType]  ) {    return TASK_POLICY[ctx.taskType];  }​  if (ctx.toolCount >= 3) {    return "high";  }​  if (ctx.prompt.length < 400) {    return "low";  }​  return "medium";}

The exact rules will differ by product.

The useful part is that the decision is explicit and testable.

Keep your policy separate from the provider knob

Providers expose different controls.

Your application should not.

I want the rest of the codebase to reason in terms of:

Text
lowmediumhigh

and have one adapter translate that into the current provider API.

For example:

type ReasoningPolicy = {  effort: Effort;  maxOutputTokens: number;};​async function answer(  input: string,  policy: ReasoningPolicy,) {  return openai.responses.create({    model: process.env.REASONING_MODEL!,    input,    reasoning: {      effort: policy.effort,    },    max_output_tokens:      policy.maxOutputTokens,  });}

If you switch providers later, the product policy should survive.

Only the adapter changes.

That separation also stops model-specific options from leaking into business logic.

The runtime is simple

Reasoning effort routing flow

I do not want a sophisticated router on day one.

Known task types should skip classification entirely.

Unknown requests get a cheap difficulty estimate.

The reasoning model receives the selected effort.

Then the real result — quality, latency, and actual token usage — goes back into the eval data.

That last step matters because the policy should come from measurements, not intuition.

Do not use prompt length as a difficulty metric

Long does not always mean hard.

A 20-page document may need a straightforward extraction.

A one-line question may require difficult symbolic reasoning.

This is why I prefer features such as:

  • known task class;
  • number of dependent decisions;
  • number of tools or data sources required;
  • whether conflicting evidence must be reconciled;
  • whether the output causes a high-risk action.

Prompt length can be one weak signal.

It should not be the policy.

The quality gate has to be per tier

Suppose you lower effort on 70% of traffic and the overall eval score barely changes.

That sounds successful.

It can still hide a serious regression if the hard 30% got worse while the easy majority stayed perfect.

Measure quality separately:

type EvalRow = {  tier: Effort;  passed: boolean;  latencyMs: number;  reasoningTokens: number;};​function summarize(  rows: EvalRow[],) {  const tiers: Effort[] = [    "low",    "medium",    "high",  ];​  return Object.fromEntries(    tiers.map((tier) => {      const group = rows.filter(        (row) => row.tier === tier,      );​      const passRate =        group.filter(          (row) => row.passed,        ).length / group.length;​      return [        tier,        {          passRate,          avgLatencyMs:            group.reduce(              (sum, row) =>                sum + row.latencyMs,              0,            ) / group.length,          avgReasoningTokens:            group.reduce(              (sum, row) =>                sum +                row.reasoningTokens,              0,            ) / group.length,        },      ];    }),  );}

Now a cost improvement cannot quietly borrow quality from the requests that needed reasoning most.

The classifier needs an eval too

If the effort policy is wrong, the model can be perfectly capable and still underperform.

So I keep a small labeled dataset for the router itself:

Text
rewrite one sentence     → lowextract invoice total    → lowcompare two policies     → mediumdebug race condition     → highplan zero-downtime move  → high

Then track where the policy disagrees with the expected tier.

The expensive mistake is usually under-classifying a hard task.

A low-effort answer to an easy request may be fine.

A low-effort answer to a difficult migration or financial decision can be a quality incident.

That means I often make the penalty asymmetric:

Text
hard → low    = severe errorhard → medium = errorlow → high    = cost error

Both matter.

They do not matter equally.

Add a budget ceiling, but do not starve hard work

Per-request effort lowers average spend.

It does not create a hard cost ceiling.

Traffic can spike. A tenant can submit unusually difficult work. An agent loop can generate many high-effort calls.

I already treat AI spend as a budgeted resource in my broader cost-control article. Reasoning effort fits inside the same model.

When the budget is getting tight, I would degrade borderline requests first.

Not the genuinely hard ones.

function applyBudgetPressure(  effort: Effort,  utilization: number,): Effort {  if (utilization < 0.8) {    return effort;  }​  if (    utilization >= 0.95 &&    effort === "medium"  ) {    return "low";  }​  return effort;}

High stays high.

If the product cannot afford its truly hard requests, that is a pricing or capacity problem.

Silently making them dumber is not a budgeting strategy.

This is not model routing

I already wrote about model routing as a policy engine.

The two ideas are related but different.

Model routing asks:

Which model should handle this request?

Effort budgeting asks:

How much reasoning should this model spend on it?

I would usually try effort policy first when one strong reasoning model already covers the workload.

It keeps fewer moving parts:

  • one model behavior profile;
  • fewer cache and prompt differences;
  • simpler eval attribution;
  • less routing complexity.

If the economics still do not work, then add model routing on top.

One production rule I would keep

Do not optimize this from one day's invoice.

Build the effort policy from three measurements:

Text
qualitylatencyreasoning spend

per difficulty tier.

If low effort is just as good for a class of work, use it.

If medium closes the quality gap, stop there.

If high materially improves the tasks that matter, pay for it.

The point is not to minimize reasoning.

The point is to buy reasoning where it changes the answer.

That is a much better production contract than turning "high thinking" on globally and hoping the extra tokens are doing useful work.

References

KEEP READING

Related engineering notes