Anthropic model API pricing

Anthropic Claude Sonnet 5 API pricing

Direct answer

Anthropic Claude Sonnet 5 API pricing is $2.00 per 1M input tokens and $10.00 per 1M output tokens in the ByteCosts provider pricing index. For an equal 1M input plus 1M output token plan, the listed token cost is $12.00. Context window: 1M. Prompt cache prices: read $0.200, write $2.50, 1h write - per 1M tokens. The confidence grade is A+: Read from the provider's official pricing page. The source was last checked 2026-07-09. At a reference workload of 1M input tokens and 250K output tokens per month, the listed token cost is $4.50 / month. This is a planning estimate; real invoices can differ because taxes, discounts, commitments, gateway fees, and non-token charges are excluded.

Open the pricing index - Anthropic / Claude Sonnet 5 →

Pricing snapshot

Anthropic Claude Sonnet 5 pricing fields
FieldValue
ProviderAnthropic
ModelClaude Sonnet 5
Input / 1M tokens$2.00
Output / 1M tokens$10.00
Cache read / 1M tokens$0.200
Cache write / 1M tokens$2.50
Cache write 1h / 1M tokens-
Context window1M
Reference monthly workload$4.50 / month

The reference workload is 1M input tokens plus 250K output tokens per month. It excludes taxes, discounts, gateway fees, and non-token charges.

Reference workload examples

Each example is pure arithmetic from this committed record's input and output token prices. The assumptions are shown inline.

Anthropic Claude Sonnet 5 monthly workload examples
ExampleAssumed monthly tokensEstimated token cost
Light reference1M input + 250K output tokens/month$4.50 / month
Production reference10M input + 2.5M output tokens/month$45.00 / month
Heavy reference100M input + 25M output tokens/month$450 / month

Examples exclude taxes, discounts, commitments, gateway fees, cache effects, and non-token charges unless those charges are part of the committed token price record.

When this model is cost-effective

Claude Sonnet 5 ranks 2 of 11 Anthropic records by combined list price ($12.00 for 1M input plus 1M output tokens). That puts it in the lower-priced third of this provider's committed records.

Cached input reads are listed at $0.200 per 1M tokens, 10% of the fresh input rate, so repeated cached prompts have a lower committed input-token cost than fresh prompts.

The committed context window is 1M; use that as the only long-context signal on this page, not as a quality or latency claim.

Cheaper alternatives

These records have a lower committed input+output list price than this page's record. Same-provider records and same-model cross-provider records are preferred when available.

Anthropic Claude Sonnet 5 lower-priced alternatives
RecordInput / 1MOutput / 1MCombined / 1M + 1MDetail page
Anthropic Claude Haiku 4.5$1.00$5.00$6.00/tools/ai-provider-pricing/anthropic--claude-haiku-4.5
Z.AI GLM-4.7-Flash$0$0$0/tools/ai-provider-pricing/zai--glm-4.7-flash
Z.AI GLM-4.5-Flash$0$0$0/tools/ai-provider-pricing/zai--glm-4.5-flash

Evidence and freshness

ByteCosts grades this row A+. Read from the provider's official pricing page. The record was first tracked on 2026-07-09 and last checked on 2026-07-09.

The source URL is kept with the record so readers can verify the provider page before making a purchasing or architecture decision. Prices change often, so quote the last-checked date with any copied number.

Watch-outs

  • cache write premium

Price history

Anthropic Claude Sonnet 5 tracked changes
WhenFieldWasNowChange
2026-07-09inputnew$2.00new

Frequently asked questions

Is Claude Sonnet 5 free to use?

This ByteCosts row is not marked free. Use the listed token rates and verify the provider source for discounts, commitments, and account-specific terms.

Does this page include all possible charges?

No. The page focuses on source-backed token pricing and known cache/context fields. It does not include taxes, enterprise commitments, gateway markups, storage, retrieval, fine-tuning, or platform fees unless those charges are present in the source-backed row.

Cite this page

Anthropic Claude Sonnet 5 API pricing. ByteCosts. Updated 2026-07-09. https://bytecosts.com/tools/ai-provider-pricing/anthropic--claude-sonnet-5/

Sources

Machine-readable