Claude Extended Thinking: Adaptive Thinking and Effort Levels

📚 Exam guide v1.1 (exams from 7 Dec 2026)🔄 Checked against official sources: 24 Nov 2026⏱️ 9 min read🎯 D5 Generation Mechanics and Model Options · D6 Prompt Revision

👋 In plain words: Before answering, Claude can think through a problem privately. On current models this happens automatically, and you control how hard it thinks with an “effort” setting. This lesson shows you how to turn the dial, read a summary of the reasoning, keep the reasoning intact across turns, and pay only for the thinking you need.

Advertisement

Thinking is now a default part of every Claude request, not an add-on. That changes how you prompt, how you budget and how you build multi-turn apps. In this lesson you will compare effort levels on the same task, read summarized thinking, pass thinking blocks back correctly in a conversation, see how thinking shows up in usage and cost, and learn when an explicit “reason step by step” prompt still adds value.

📖 What You’ll Learn: You will be able to configure adaptive thinking and effort, read summarized thinking, preserve thinking blocks across turns, control thinking cost, and apply safe reasoning practices in prompts.

🔑 Key terms

  • Extended thinking: Claude’s private reasoning before it writes the answer.
  • Adaptive thinking: thinking: {"type": "adaptive"}. Claude decides when and how much to think. It is the default on current models.
  • Effort: output_config.effort (low to max), the main control for thinking depth and token spend.
  • Display: whether you get thinking text back: omitted (the default on current models) or summarized.
  • Thinking block: a content block of type thinking, which carries a signature that must be sent back unchanged.

🪜 Step 1: Know the current rules

Older tutorials enable thinking with {"type": "enabled", "budget_tokens": N}. On current models that is wrong:

Topic Current behaviour (Opus 5.5, Sonnet 5.5, Haiku 5.5, Fable 5.2)
Turning thinking on It is on by default and adaptive. {"type": "adaptive"} is equivalent to omitting it.
Fixed budgets budget_tokens returns a 400 error. Use effort instead.
Turning thinking off Opus 5.5 and Fable 5.2: not possible. Sonnet 5.5: {"type": "between_tools"} at effort high or below. Haiku 5.5: disabled at effort high or below.
Seeing the reasoning Hidden by default; set "display": "summarized" for a readable summary. The raw chain of thought is never returned.
Billing Thinking tokens are output tokens, billed whether or not you display them.

🪜 Step 2: Compare effort levels on one task

Run the same debugging question at low and high and compare answer quality and output tokens:

📄 effort_compare.py

import anthropic

client = anthropic.Anthropic()

QUESTION = """A Playwright test passes locally but fails on CI about 1 run in 10 with
'TimeoutError: locator.click: Timeout 30000ms exceeded' on the Checkout button.
CI runs 8 workers in parallel against one shared staging database. Give the most likely cause and one fix."""

for effort in ["low", "high"]:
    r = client.messages.create(
        model="claude-opus-5-5",
        max_tokens=4000,
        output_config={"effort": effort},
        messages=[{"role": "user", "content": QUESTION}],
    )
    answer = next(b.text for b in r.content if b.type == "text")
    print(f"--- effort={effort}  output_tokens={r.usage.output_tokens}")
    print(answer)

⌨️ Terminal

python effort_compare.py

🖥️ Output (sample run)

--- effort=low  output_tokens=96
Likely a slow page load on CI. Increase the click timeout to 60 seconds.
--- effort=high  output_tokens=1840
Likely shared test data: 8 parallel workers use the same staging cart or product, so one worker's checkout leaves the button disabled or the cart empty for another. Fix: give each worker its own user and cart (for example a per-worker fixture that creates them), instead of raising timeouts.

In this sample run, low effort gives a quick surface answer (raise the timeout), while high effort connects “parallel workers” with “shared database” and finds the real cause, at roughly twenty times the output tokens. Your own numbers will differ; the trade-off is the point.

Choose effort per route, not globally: a classifier can run at low, a root-cause analysis at high.

Advertisement

🪜 Step 3: Read summarized thinking

To show or log Claude’s reasoning, request a summary:

📄 thinking_display.py

import anthropic

client = anthropic.Anthropic()

r = client.messages.create(
    model="claude-opus-5-5",
    max_tokens=4000,
    thinking={"type": "adaptive", "display": "summarized"},
    output_config={"effort": "high"},
    messages=[{"role": "user", "content": "Should a test that waits for an email use polling or a fixed 30 s sleep? One line."}],
)
for block in r.content:
    print(f"[{block.type}]", block.thinking if block.type == "thinking" else block.text)

⌨️ Terminal

python thinking_display.py

🖥️ Output (sample run)

[thinking] Fixed sleeps are slow when the email is quick and flaky when it is slow; polling with a timeout adapts to both.
[text] Use polling with an overall timeout: it is faster on good runs and more reliable on slow ones.
  • With the default omitted, the thinking block is still there, but block.thinking is an empty string. If you stream to users, that looks like a pause before the answer starts.
  • Summaries are for people and logs. Do not parse them in code as if they were a stable API.
Advertisement

🪜 Step 4: Pass thinking blocks back unchanged

In multi-turn conversations, and especially in tool loops, append Claude’s whole response.content to the history, thinking blocks included. Do not rebuild the assistant message from its text:

📄 preserve_thinking.py

import anthropic

client = anthropic.Anthropic()
history = [{"role": "user", "content": "List 2 risks of testing payments only in a sandbox."}]

r1 = client.messages.create(model="claude-opus-5-5", max_tokens=2000, messages=history)
history.append({"role": "assistant", "content": r1.content})  # keep every block, unchanged

history.append({"role": "user", "content": "Which of the two is harder to catch before release?"})
r2 = client.messages.create(model="claude-opus-5-5", max_tokens=2000, messages=history)

print("block types sent back:", [b.type for b in history[1]["content"]])
print("answer:", next(b.text for b in r2.content if b.type == "text"))

⌨️ Terminal

python preserve_thinking.py

🖥️ Output (sample run)

block types sent back: ['thinking', 'text']
answer: The second one: real card networks behave differently from the sandbox, and that only shows up with real transactions.
⚠️ Watch out: Thinking blocks carry a signature. On current models, editing earlier turns of a conversation that contains thinking blocks (changing the system prompt, deleting or rewriting messages) can make the API reject those blocks with a 400 that mentions an invalid signature. Keep conversation history append-only; add new instructions with mid-conversation system messages (Lesson 6) instead of editing old ones.

🪜 Step 5: Budget for thinking

Thinking tokens are billed as output tokens, the expensive side of the price list. Three levers keep them under control:

  1. Effort: the first lever. Lower it on simple routes.
  2. max_tokens: a hard ceiling on output, including thinking. Set it with headroom so complex answers are not cut off.
  3. Task budgets (beta, for agentic loops): tell Claude its total token budget so it paces itself. Lesson 44 covers budgets.

📄 thinking_cost.py

OUTPUT_PRICE = 20.00  # Claude Opus 5.5, $ per million output tokens
calls_per_day = 5_000
for effort, avg_output_tokens in [("low", 150), ("medium", 600), ("high", 1_800)]:
    daily = calls_per_day * avg_output_tokens / 1_000_000 * OUTPUT_PRICE
    print(f"effort={effort:<7} ~{avg_output_tokens:>5} output tokens/call -> ${daily:7.2f} per day")

⌨️ Terminal

python thinking_cost.py

🖥️ Output

effort=low     ~  150 output tokens/call -> $  15.00 per day
effort=medium  ~  600 output tokens/call -> $  60.00 per day
effort=high    ~ 1800 output tokens/call -> $ 180.00 per day

The token averages are illustrative; measure your own with response.usage.output_tokens (Lesson 44).

Advertisement

🪜 Step 6: Use reasoning prompts safely

With thinking built in, you rarely need “think step by step” to get reasoning. Prompting still matters in three ways:

  1. Ask for the reasoning you need in the answer, not for hidden thoughts. “List the evidence for and against each cause, then choose one” gives reviewers something to check.
  2. Separate reasoning from the final result when code reads the answer: put the verdict in a fixed field (or structured output) and the explanation in another.
  3. Do not ask Claude to reveal or reproduce its internal chain of thought. The raw reasoning is never returned, and prompts that try to extract it can be declined. Use the summarized display for transparency.
🎯 Exam focus: Scenario items about thinking usually test four facts: thinking is on by default and controlled with effort; budget_tokens is rejected on current models; thinking is billed as output even when hidden; and thinking blocks must be passed back unchanged in an append-only history.

🌍 Real-world example: Ravi tunes effort per route

Ravi’s failure-analysis bot ran everything at the default effort. Usage showed most output tokens came from a simple “is this the same failure as yesterday?” step. He set that step to low and kept root-cause analysis at high. Output spend fell by more than half with no drop on his golden set.

🧪 Practice Questions

Question 1. A team migrates code that sends thinking={“type”: “enabled”, “budget_tokens”: 8000} to Claude Opus 5.5 and every request returns 400. What is the correct change?

  • A. Increase budget_tokens to 16000
  • B. Remove the budget and use adaptive thinking with output_config.effort
  • C. Set thinking to {“type”: “disabled”}
  • D. Move budget_tokens into output_config
Show answer

Answer: B. Fixed thinking budgets are rejected on current models. Adaptive thinking with effort replaces them; disabling thinking is also rejected on Opus 5.5.

Question 2. Users of a streaming chat complain about a long pause before any text appears. The app uses Claude Opus 5.5 with default settings. What explains the pause, and what helps?

  • A. Claude is thinking with display omitted; show a summary with display “summarized” or lower effort for this route
  • B. The API is rate limited; add retries
  • C. max_tokens is too low
  • D. Streaming does not work with thinking
Show answer

Answer: A. Thinking happens before the answer and is hidden by default. A summary gives users something to see, and lower effort shortens the thinking.

Question 3. In a multi-turn app, the code rebuilds each assistant turn as {“role”: “assistant”, “content”: text}, dropping other blocks, and later edits old messages. Which two risks does this create? (Choose 2.)

  • A. Thinking blocks are lost, so later turns lose that context
  • B. The API starts charging double for input
  • C. Edited history with thinking blocks can be rejected for an invalid signature
  • D. Temperature resets to 1
Show answer

Answer: A and C. Append the full response.content and keep history append-only so thinking blocks remain valid.

Question 4. Where do thinking tokens appear in usage?

  • A. input_tokens
  • B. output_tokens
  • C. cache_read_input_tokens
  • D. They are free and not reported
Show answer

Answer: B. Thinking is generated output and is billed as output tokens.

📝 Assignment

  1. Task 1: Run effort_compare.py with your key on a real bug from your project at low, medium and high.
    ✅ Done when: you have a table of answer quality (your judgement) and output tokens per level.
  2. Task 2: Add display: "summarized" to one of your scripts and log the summary next to the answer.
    ✅ Done when: your log shows both for five requests.
  3. Stretch: Write a pytest test that checks your conversation code appends response.content unchanged (same block types and order).
    ✅ Done when: the test fails if someone rebuilds the turn from text only.
Advertisement

❓ Frequently Asked Questions

🤔 How do I enable extended thinking on Claude Opus 5.5?

You do not need to: adaptive thinking is on by default. Control depth with output_config.effort.

🤔 Can I see Claude’s chain of thought?

You can request a summary with display: "summarized". The raw reasoning is never returned.

🤔 Is thinking charged even when I do not display it?

Yes. Thinking tokens are billed as output tokens regardless of display.

🤔 What replaced budget_tokens?

Effort levels (low to max) for thinking depth, plus task budgets (beta) for agentic loops.

🏁 Summary

  • Thinking is adaptive and on by default; effort is the control, budget_tokens is rejected.
  • display: "summarized" returns readable summaries; the default omits thinking text.
  • Append the whole response.content and keep history append-only.
  • Thinking is billed as output; tune effort per route.
  • Ask for checkable reasoning in the answer, not for hidden chain of thought.
📝 Test yourself: D6 Prompt and Context Engineering practice test (20 random questions, 20 minutes), or browse all CCDV-F mock tests (3 full 70-question exams and 8 domain practice tests, with explanations).

Next, continue with Claude Prompt Chaining, Templates and Prompt Versioning.

🎬 Prefer video? Watch QA, automation and AI testing tutorials on the SQA Tools YouTube channel.

Independent study material by SQA Tools. Not affiliated with, endorsed by or sponsored by Anthropic. Claude is a trademark of Anthropic. Practice questions are original, not real exam content. Code outputs marked “sample run” come from running the exact code against a local stand-in for the Claude API, so real replies, IDs and token counts will differ. Exam facts checked against Anthropic’s official CCDV-F exam guide v1.1 on 24 Nov 2026.