Claude Opus 4.7 vs Claude Sonnet 4 (latest): API price and specs
Claude Opus 4.7 is 4% cheaper than Claude Sonnet 4 (latest) on input price.
Claude Opus 4.7 is 4% cheaper than Claude Sonnet 4 (latest) on output price.
Claude Opus 4.7 is 4% cheaper than Claude Sonnet 4 (latest) on a 1M-in / 200k-out workload.
Claude Opus 4.7 has a 4.9% larger context than Claude Sonnet 4 (latest).
| Field | Claude Opus 4.7 | Claude Sonnet 4 (latest) |
|---|---|---|
| Lowest input, per 1M | $2.50 | $2.60 +4% |
| Median input, per 1M | $5.00 +66.7% | $3.00 |
| Lowest output, per 1M | $12.50 | $13.00 +4% |
| Median output, per 1M | $25.00 +66.7% | $15.00 |
| Lowest unit price | — | — |
| Cost of 1M in + 200k out | $5.00 | $5.20 +4% |
| Context | 1M | 1M +4.6% |
| Max output | 128K | 65K +49.2% |
| Providers | 33 | 18 +45.5% |
| Regions | AU, EU, GLOBAL, JP, US | APAC, EU, GLOBAL, US |
| Accepts | application/pdf, file, image, image/gif, image/jpeg, image/png, image/webp, pdf, text | application/pdf, file, image, image/gif, image/jpeg, image/png, image/webp, pdf, text |
| Returns | text | text |
| Type | Text models | Text models |
| Free option | no | no |
| Cheapest provider | openrouter | poe |
Your own workload: how many tokens the model gets (input) and gives back (output) - for example, in a month. The "Cost" row of the table above is recalculated for these numbers, for each model.
Computed from current offers each time the page opens; the best value of a row is bold, the percent is how far behind the best.
Providers selling both
aiml, amazon-bedrock, anthropic, cortecs, deepinfra, edenai, fastrouter, github-copilot, google-vertex, google-vertex-anthropic, jiekou, kilo, opencode, poe, requesty, vercel, zenmux
Frequently asked questions
Which is cheaper, Claude Opus 4.7 or Claude Sonnet 4 (latest)?
Claude Opus 4.7 is 4% cheaper than Claude Sonnet 4 (latest) on input price. Claude Opus 4.7 is 4% cheaper than Claude Sonnet 4 (latest) on output price. Claude Opus 4.7 is 4% cheaper than Claude Sonnet 4 (latest) on a 1M-in / 200k-out workload.
Which has the larger context, Claude Opus 4.7 or Claude Sonnet 4 (latest)?
Claude Opus 4.7: 1M tokens; Claude Sonnet 4 (latest): 1M tokens.
Where can I use both Claude Opus 4.7 and Claude Sonnet 4 (latest)?
aiml, amazon-bedrock, anthropic, cortecs, deepinfra, edenai, fastrouter, github-copilot, google-vertex, google-vertex-anthropic, jiekou, kilo, opencode, poe, requesty, vercel, zenmux