Back to Text & reasoning

Model comparison

Claude Opus 5 vs Claude Sonnet 5

Provider-published facts for Claude Opus 5 and Claude Sonnet 5, side by side: price, limits, inputs, access and data policy. No mystery scores and no invented benchmark rankings.

Estimate your cost

Set your usage. Your estimate updates as you type.

Example: 6,000 input tokens for 10 pages, plus a 500-token summary. Page lengths vary; adjust the numbers below.

One run sends your input to the model once and receives an answer. Tokens are pieces of text: input is what you send, output is the answer you receive.

Advanced options
How this estimate works

Estimates exclude taxes, tools, cache storage/writes, free allowances and custom discounts. Image estimates cover output only, not prompt or reference-image charges. Quality modes differ by model. Unlisted settings are not treated as free.

Estimate your cost
ModelEstimated total (USD)
Claude Sonnet 5Anthropic$0.017
Claude Opus 5Anthropic$0.0425

Quick take

Claude Opus 5

A Claude model for substantial code changes, reasoning and business workflows with many steps.

Best for

  • Codebase changes
  • Multi-step workflows

Watch out for

Thinking is on by default. Reasoning effort and longer answers affect both cost and response time.

Claude Sonnet 5

A lower-priced Claude option for everyday coding, writing and tool-assisted work.

Best for

  • Coding assistants
  • Everyday analysis

Watch out for

Migration from older Sonnet versions needs testing: thinking settings and tokenization have changed.

Compare the published facts

Claude Opus 5 vs Claude Sonnet 5

Values use each provider's own published units and limits. A blank means the provider did not publish a directly comparable value in the sources reviewed.

Text & reasoningClaude Opus 5Claude Sonnet 5
Context windowMaximum combined prompt and working context documented by the provider.1M tokens1M tokens
Maximum outputProvider-published response limit, where available.128K tokens128K tokens
Knowledge cutoffLatest reliable knowledge date explicitly published by the model provider. Search and connected tools can retrieve newer information but do not change the model's built-in cutoff.May 2026January 2026
Input priceCurrent standard list price per million input tokens unless noted.$5 / 1M$2 / 1M
Output priceCurrent standard list price per million output tokens unless noted.$25 / 1M$10 / 1M
InputsMedia types accepted by the listed model endpoint.Text, imageText, image
Tools & agentsSelected native tools and agent-building capabilities, not an exhaustive list.Tool use, agents, vision, coding workflowsTool use, agents, vision, coding workflows

How to choose

Data policy and API access

Start with the job you need to complete, then validate cost, access, and policy details on your exact provider route.

Claude Opus 5

Anthropic does not train on API data without express permission. Retention depends on the API feature, account agreement and cloud provider.

Claude Sonnet 5

Anthropic does not train on API data without express permission. Retention depends on the API feature, account agreement and cloud provider.

Frequently asked questions

Claude Opus 5 vs Claude Sonnet 5 FAQ

What is the main difference between Claude Opus 5 and Claude Sonnet 5?

Claude Opus 5: A Claude model for substantial code changes, reasoning and business workflows with many steps. Claude Sonnet 5: A lower-priced Claude option for everyday coding, writing and tool-assisted work.

Should I choose Claude Opus 5 or Claude Sonnet 5?

Best fit for Claude Opus 5: Codebase changes. Best fit for Claude Sonnet 5: Coding assistants. Test both with your own data and provider route before committing.

Where do the facts in this Claude Opus 5 vs Claude Sonnet 5 comparison come from?

From each provider's own documentation, pricing and policy pages for the Text & reasoning category. Cody does not add its own benchmark scores or name a universal winner.