Anthropiclegacypremium

Historical model (legacy). The rates below are the last recorded rates, not a recommendation for a new deployment.

Claude Sonnet 4 API Pricing

Claude Sonnet 4 costs $3.00 per 1M input tokens and $15.00 per 1M output tokens. These rates were last verified on .

Moving off Claude Sonnet 4?

Official replacement: Claude Sonnet 5.5 · 33.3% cheaper Source ↗

Same token usage, 3:1 input:output, standard list rates · excludes cache, batch and fast mode. Not a quality or compatibility claim. Full calculator →

Claude Sonnet pricing history

USD · units shown per rate · all Claude models →
● Sonnet
  1. Input: $2.00 / 1M tokensOutput: $10.00 / 1M tokens
    Rate first observed
    Latest
    Verified 2026-11-12
  2. Input: $2.00 / 1M tokensOutput: $10.00 / 1M tokens
    Rate first observed
    Available · older version
    Verified 2026-11-12
  3. Input: $3.00 / 1M tokensOutput: $15.00 / 1M tokens
    Rate first observed
    Available · older version
    Verified 2026-11-12
  4. Input: $3.00 / 1M tokensOutput: $15.00 / 1M tokens
    Rate first observed
    Deprecated · 2026-11-30
    Verified 2026-11-12
  5. Input: $3.00 / 1M tokensOutput: $15.00 / 1M tokens
    Rate first observed
    Shut down
    Verified 2026-11-12

Newest first. Release dates describe the model, not when today's rates took effect. Observations show when we recorded rates, not launch pricing. Image and text token meters are separate; no fixed image-token savings mix is assumed. How we verify

Published rates and billing units

Billing dimensionUSD list price
Input / 1M tokens$3.00
Cached input / 1M tokens$0.30
Cache write / 1M tokens$3.75
Output / 1M tokens$15.00
Cache write (1 hour) / 1M tokens$6.00
Batch: Input / 1M tokens$1.50
Batch: Output / 1M tokens$7.50
Batch: Cached input / 1M tokens$0.15
Batch: Cache write / 1M tokens$1.88
Batch: Cache write (1 hour) / 1M tokens$3.00

Verified 2026-11-12 · Official source · Pricing methodology. Taxes, optional services and account-specific discounts are not included.

Cost examples

These examples use published list prices only. They exclude taxes, enterprise discounts, minimum charges, retries, batch discounts, and provider-specific billing rules.

1M input + 1M output

$18.00

A direct per-million comparison against every other text model.

100K input + 25K output

$0.675

A compact chat, summarization, or analysis workload.

10M input + 2M output

$60.00

A monthly production estimate for heavier RAG or agent traffic.

75% cached input + 250K output

$4.73

Cached input is about 90% cheaper than standard input at list price.

Calculator for Claude Sonnet 4

Enter your own input, output, and cached-token assumptions. This calculator is preloaded with only Claude Sonnet 4, so the result stays focused on this model.

Input cost

$3.00

Output cost

$15.00

Total

$18.00

Price history

No list-price movement across 209 daily snapshots from 2026-04-16 to 2026-11-11.

When to use Claude Sonnet 4

Good fit

  • code generation, debugging, and agentic development work where output quality affects engineering time

Be careful with

  • bulk summarization or simple classification where cheaper models can pass evaluation
  • decisions that depend on unpublished context-window limits without checking the provider docs first

Alternatives to compare