Compare

Claude Opus 5 vs Claude Sonnet 5

Same two models, priced on three workload shapes. The rate card rarely decides this on its own — the ratio of input to output tokens usually does.

Per million tokens

Claude Opus 5

Claude Sonnet 5

Input$5.00$2.00
Output$25.00$10.00
Cached input$0.50$0.30
Context1M1M
Max output128K128K
ProviderAnthropicAnthropic

Monthly cost by workload

Chat assistant

60,000 requests · 1,200 in / 400 out · 30% cached — short prompts, short answers, high volume

Claude Opus 5

$862.80

Claude Sonnet 5

$347.28

Claude Sonnet 5 is 2.5× cheaper on this shape — $515.52 a month.

RAG over documents

20,000 requests · 18,000 in / 700 out · 75% cached — large retrieved context, heavily cached prefix

Claude Opus 5

$935.00

Claude Sonnet 5

$401.00

Claude Sonnet 5 is 2.3× cheaper on this shape — $534.00 a month.

Coding agent

4,000 requests · 45,000 in / 6,000 out · 80% cached — long tool-calling loops, big cached prefix

Claude Opus 5

$852.00

Claude Sonnet 5

$355.20

Claude Sonnet 5 is 2.4× cheaper on this shape — $496.80 a month.

Run these numbers on your own workload