Anthropic

Claude Sonnet 4 API Pricing

Listed on the pricing page as "retired, except on Bedrock and Google Cloud." Exact apiId/context window/max output not confirmed this session. Cache write shown is 5m-TTL; 1h-TTL is $6.00/MTok. Batch: $1.50/$7.50 per MTok.

Could not verify pricing on 2026-07-02 — treat these numbers as tentative.

View source ↗

Facts

DeprecatedUnverified

Specs

  • FamilyClaude Sonnet
  • API ID
  • ModalityMultimodal
  • Context window
  • Max output
  • Release dateNot published

Pricing (per 1M tokens)

  • Input$3.00 / 1M tokens
  • Output$15.00 / 1M tokens
  • Cached input$0.30 / 1M tokens
  • Cache write$3.75 / 1M tokens
  • Batch discount50%

Capabilities

vision, tool-use

Notes

Listed on the pricing page as "retired, except on Bedrock and Google Cloud." Exact apiId/context window/max output not confirmed this session. Cache write shown is 5m-TTL; 1h-TTL is $6.00/MTok. Batch: $1.50/$7.50 per MTok.

Worked cost examples

Estimated monthly cost on three common usage shapes

WorkloadEst. monthly cost

Chatbot

800 input / 200 output tokens per request, 100,000 requests/month

$540.00

RAG pipeline

6,000 input / 700 output tokens per request, 30,000 requests/month

$855.00

Batch summarization

20,000 input / 1,500 output tokens per request, 5,000 requests/month

$412.50

Price history

Changes we have documented since we began tracking

No price changes recorded since we began tracking.

Claude Sonnet 4 pricing FAQ

How much does Claude Sonnet 4 cost per 1M tokens?
Claude Sonnet 4 costs $3.00 per 1M input tokens and $15.00 per 1M output tokens.
How much does Claude Sonnet 4 cost per request?
A typical request of 800 input and 200 output tokens costs about $0.0054 on Claude Sonnet 4.
Is Claude Sonnet 4 cheaper than Claude Sonnet 4.5?
Claude Sonnet 4 and Claude Sonnet 4.5 charge the same per input token.
Does Claude Sonnet 4 have cache pricing?
Yes — cached input reads cost $0.30 per 1M tokens, and cache writes cost $3.75 per 1M tokens.