D2: Extended Thinking in the API
Claude Certified Developer – Foundations exam practice questions · 10 flashcards
Question
How do you enable extended thinking?
1 / 10
Tip: Space flips the card, ← / → navigate.
Show all 10 Extended Thinking in the API practice questions and answers
- How do you enable extended thinking?Add a thinking parameter, e.g. type enabled with budget_tokens (or adaptive thinking on supported models).
- What is budget_tokens?The maximum tokens Claude may use for internal reasoning; it must be less than max_tokens.
- What appears in the response with thinking enabled?thinking content blocks (with a signature) before the final text.
- What must you do with thinking blocks during tool use?Pass them back unmodified with the assistant turn so reasoning continues correctly.
- What is adaptive thinking?A mode where Claude decides how much to think based on task complexity.
- Does thinking cost tokens?Yes. Thinking tokens are billed as output tokens.
- When is extended thinking worth it?For complex reasoning, math, coding and multi-step analysis, not simple lookups.
- What's the latency impact of thinking?Responses take longer because Claude reasons before answering.
- Can thinking be combined with streaming?Yes; thinking deltas stream before text deltas.
- Which parameter interactions should you watch with thinking?Some settings (e.g. certain temperature changes or forced tool_choice) aren't compatible; check docs.