ByteScope

Claude Sonnet 5

Sonnet 5's five lines, and the agent loop against Opus.

The rate card is read in this tab. Nothing is uploaded and no model API is called.

Last updated 2026-09-22 Source

Table

Per 1M tokens

Input, USD / 1M tokens
2 USD
Output, USD / 1M tokens
10 USD
Cache read, USD / 1M tokens
0.2 USD
Cache write, 5 minutes, USD / 1M tokens
2.5 USD
Cache write, 1 hour, USD / 1M tokens
4 USD
Context window, tokens
1,000,000 tokens
Max output, tokens
128,000 tokens
Batch factor
×0.5

Worked example

  • 0%$5.55 USD
  • 50%$3.25 USD
  • 90%$1.41 USD

Versus Claude Opus 5: $4.88 less than Claude Opus 5. Claude Opus 5

Other models

About this tool

Claude Sonnet 5

Sonnet 5 is the workhorse of the three Anthropic pages here. The loop is where it earns its own page. At a low hit rate you pay to write the prefix on every turn, and Sonnet's write lines are the ones a long agent session actually hits. At a high hit rate the read line dominates, and the gap versus Opus shrinks to whatever the read and output lines still differ by. That shrink is the comparison this page computes. People who only remember the input rate will overstate the savings of switching, and people who only remember the output rate will understate the cost of a cold prefix. The five lines are all on the card. None of them is a long-context tier.

Worked example

The Claude Sonnet 5 rates were checked against platform.claude.com on 2026-09-22.

0% cache hit: $5.55 50% cache hit: $3.25 90% cache hit: $1.41

At a 50% hit the Claude Sonnet 5 total of $3.25 is $0.1500 of new input, $0.4000 of output, $0.2000 of cache reads and $2.50 of cache writes. Cache writing is the largest share of the Claude Sonnet 5 bill at that hit rate, 77%.

Versus Claude Opus 5: $4.88 less than Claude Opus 5. Claude Sonnet 5 costs less than Claude Opus 5 at every hit rate from 0% to 90%: $8.32 less at 0% and $2.11 less at 90%.

Against the other models

On this loop at a 50% hit, Claude Sonnet 5 is number 6 of 10 models with a page here, counting from the cheapest. Claude Sonnet 5 costs more than Grok 4.7 below about a 73% hit and less above it. Claude Sonnet 5 costs less than GPT-5.6 Sol at every hit rate from 0% to 90%: $5.55 less at 0% and $1.41 less at 90%.

The loop, what a hit rate means, how batch and long-context tiers are treated and what a checked date promises are explained once on the LLM pricing table page.

Frequently asked questions

When were the Claude Sonnet 5 rates last checked?

The Claude Sonnet 5 card was checked on 2026-09-22, against the vendor page at platform.claude.com. Claude Opus 5, the comparison on this page, was checked the same day, so the gap between the two is not an artefact of two different check dates.

Which rate lines does the Claude Sonnet 5 card publish?

Claude Sonnet 5 publishes input at 2, output at 10, cache read at 0.2, five-minute cache write at 2.5, and one-hour cache write at 4, all in USD per million tokens. Its batch factor is ×0.5. Max output is 128,000 tokens. The Claude Sonnet 5 card has no long-context tier. Claude Sonnet 5 and Claude Opus 5 publish the same set of lines, so what separates them is the level of each rate.

Why is Claude Opus 5 the comparison?

Opus is the card you would move a hard loop onto. Same five lines. Read the delta at a low hit rate and at a high one before you decide the input line told you the whole story.