Claude API, Field by Field

The Claude API one response field at a time: empty thinking blocks and effort, prompt caching that costs more, and tool_use errors. Every claim measured in a small lab on Claude Sonnet 5.5 and checked against the Claude docs.

3 tutorials · start at part 1 or jump anywhere

  1. 1 Claude API: Why Is Thinking Empty? Effort vs Thinking, Measured On Claude Sonnet 5.5 the thinking block comes back empty but is still billed. What effort changes at low, medium and high, the budget_tokens 400, and max_tokens, measured. Nov 17, 2026
  2. 2 Claude API Prompt Caching Not Working? A Timestamp Made My Bill Go Up On Claude Sonnet 5.5 one timestamp line made every call a cache write: 22 to 27 percent more than no caching, measured. The fix, and the diagnostics field that names the cause. Nov 17, 2026
  3. 3 Claude API Error: tool_use ids were found without tool_result blocks (Fixed) Claude API error 400: Claude made parallel tool calls and my program answered one. Measured on Claude Sonnet 5.5, the fix, and two more ways to get the tool result message wrong. Nov 18, 2026