Kamil Józwik
← All posts

GPT-5.6 vs. Claude Opus 5 and Sonnet 5: Tiered Routing Beats Single-Model Loyalty

For the last year, comparing OpenAI and Anthropic usually reduced to a binary question: which single flagship scored two points higher on SWE-bench this month? Across late June and July, both labs quietly moved past that framing. Between Anthropic launching Claude Sonnet 5 and Claude Opus 5, and OpenAI shipping its three-tier GPT-5.6 family (Sol, Terra, and Luna), the real competition shifted to price-per-solved-task, effort tuning, and cache preservation inside multi-step agent loops.

Having followed both launches closely while watching my own API spend climb on agentic coding workflows, the numbers point to a clear engineering strategy: mixing tiers beats staying loyal to one flagship endpoint.

OpenAI’s three-tier GPT-5.6 stack and in-memory tool calls

OpenAI took the GPT-5.6 lineup to general availability on July 9 with explicit pricing tiers built around a ~1.05M token context window: Sol at $5 input / $30 output per million tokens, Terra at $2.50 / $15 (matching GPT-5.5 capability at half the cost), and Luna at $1 / $6 for high-volume routing and simpler edits.

On coding and computer-use evaluations, Sol put down serious numbers: an 80 on the Artificial Analysis Coding Agent Index (2.8 points above Claude Fable 5), 64.6% on SWE-Bench Pro, 62.6% on OSWorld 2.0, and 90.4% on BrowseComp. Alongside raw scores, OpenAI added two practical API primitives: Programmatic Tool Calling in the Responses API (letting GPT-5.6 write lightweight in-memory code to filter intermediate tool output without round-tripping huge JSON payloads, while remaining ZDR-compatible), plus explicit prompt cache breakpoints with a 30-minute minimum cache life and a 90% cached-input discount. Pro and Codex power users also gained an ultra mode coordinating multiple parallel subagents for hard synthesis jobs.

Anthropic answers with Sonnet 5 and Opus 5

Anthropic opened on June 30 with Claude Sonnet 5, locking in permanent introductory pricing at $2 input / $10 output per million tokens with a 1M context window. Sonnet 5 closed most of the gap with Opus 4.8 on autonomous browsing and computer use, giving developers a realistic default workhorse instead of defaulting every CLI session to an Opus bill.

Then on July 24, Anthropic followed up with Claude Opus 5 at $5 / $25 per million tokens (the same rate as Opus 4.8, and half of Claude Fable 5’s $10/$50 tier). On Frontier-Bench v0.1, Opus 5 more than doubled Opus 4.8’s performance, and at max effort on CursorBench 3.2 it landed within 0.5% of Fable 5 at half the cost per task.

Just as welcome as the price drop are three API quality-of-life fixes in Opus 5 that directly address what frustrated teams after the Claude Fable 5 launch:

  1. Mid-conversation tool changes no longer invalidate the prompt cache, solving one of the costliest hidden bugs in dynamic agent harnesses that swap MCP or bash tools on the fly.
  2. Automatic safety fallback routing lets API callers opt into routing flagged requests down to Opus 4.8 cleanly, with classifiers intervening roughly 85% less often than on Fable 5.
  3. Most importantly for regulated teams, Opus 5 restores Zero Data Retention eligibility with no forced 30-day retention rule.

How developers should actually wire these together

Model Tier Input / Output (per 1M) Best Engineering Role
GPT-5.6 Luna $1.00 / $6.00 High-volume classification, boilerplate edits, triage
Claude Sonnet 5 $2.00 / $10.00 Default daily coding agent, browser search, tool loops
GPT-5.6 Terra $2.50 / $15.00 General production workloads replacing GPT-5.5
Claude Opus 5 $5.00 / $25.00 Deep debugging, verification, ZDR enterprise reasoning
GPT-5.6 Sol $5.00 / $30.00 Programmatic tool chains, multi-agent ultra tasks

Look at that table and the practical conclusion is obvious. Running every file lookup and lint fix through a $25 or $30 output model makes zero financial sense when Sonnet 5 costs $2/$10 and Luna sits at $1/$6. Conversely, reserving Opus 5 for hard root-cause verification or Sol when Programmatic Tool Calling cuts intermediate token bloat saves far more money than switching prompt templates. Both OpenAI and Anthropic now expect you to route dynamically across tiers inside one workflow, and by late July the APIs finally give developers clean knobs to pull it off.