Skip to content
mentoor

Topic 2 of 5 · 4 min read

Setting thinking effort and budgets

Goal: Pick a thinking effort level for a task from its accuracy, latency and cost needs.

Thinking is a dial, not a switch: you choose how much a model may think, and each step up buys accuracy with time and money. Most providers give you this dial as an effort level (low, medium, high), a token budget, or a model that decides for itself.

Check yourself · 1 of 3

Which statement about a thinking token budget is most accurate?

Choose one answer

Why it matters

Thinking tokens are billed as output and they delay the first visible word. A request that thinks for 30 seconds feels broken in a chat window, but is fine in a nightly batch job. The right setting depends on what the task costs when it is wrong and how long the person can wait.

The three kinds of dial

  1. Effort levels. You pick a word such as low, medium or high. OpenAI's reasoning models use this style. Low is fast and cheap; high thinks longer.
  2. Token budgets. You give a maximum number of thinking tokens. Claude's extended thinking works this way: the budget is a target ceiling, and the model may use less. Gemini offers a similar thinking budget.
  3. Adaptive thinking. The model chooses how much to think based on how hard the question looks, and your setting guides it.

Check your provider's current docs for names and limits, because they change often.

How to choose

  1. Start low. Run ten real examples.
  2. If the answers are wrong in ways extra thought could fix (arithmetic slips, missed constraints), raise one level and rerun the same ten.
  3. Stop when the gain stops. Record the setting and why.
  4. Keep room: the thinking budget must fit inside the maximum output limit, or the answer gets cut off.

Before and after

Before: Every request in a support bot uses the highest effort. Replies take 25 seconds and most questions are simple order lookups.

After: Order questions use low effort; refund-policy disputes with several rules use high effort. Median wait drops and the hard cases stay accurate.

What goes wrong

  • Max effort everywhere: slow, expensive, and often no better on easy tasks.
  • Budget larger than the output limit, so the final answer is truncated.
  • Changing the setting without re-testing. A level that worked on one model may behave differently on the next.

Examples

Two API calls, two dials

Plain version: one provider lets you say "effort: high", another lets you say "think for up to 8,000 tokens". Both are the same idea.

Optional code branch (Python, illustrative; check current docs for exact fields):

# Effort-level style
client.responses.create(model=MODEL, input=prompt, reasoning={"effort": "low"})

# Token-budget style
client.messages.create(
    model=MODEL, max_tokens=16000, messages=msgs,
    thinking={"type": "enabled", "budget_tokens": 8000},
)

Note that max_tokens is larger than the thinking budget.

A ten-example calibration

Take ten real tickets. Run them at low, then medium. If low gets 6 right and medium gets 9, the step is worth it. If medium gets 9 and high gets 9, stay at medium.

Key points

  • Thinking effort trades accuracy against latency and cost.
  • Providers expose it as effort levels, token budgets or adaptive thinking.
  • A token budget is usually a ceiling, not a promise that all tokens are used.
  • Start at a low setting and raise it only when real examples fail in ways more thought could fix.
  • The thinking budget has to fit inside the output limit or the answer can be cut off.

Common mistakes

  • Setting every request to the highest effort by default.
  • Setting a thinking budget larger than the maximum output length.
  • Raising effort without re-testing on real examples.
  • Copying a setting from one model to another and assuming it behaves the same.

Check yourself · 2 of 3

Your chat feature feels slow. Most questions are easy, a few are hard. What is the best change?

Choose one answer

Check yourself · 3 of 3

You set an 8,000-token thinking budget and a 6,000-token maximum output. What is likely to happen?

Choose one answer

Practice items, not counted towards your mastery.

Start here

More for this topic