Anthropic API

Claude Sonnet 5 API Pricing 2026 — Cost per 1 Million Tokens

Current Claude Sonnet 5 API pricing from Anthropic per 1 million tokens, including input, output and cached-token rates when available.

ModelRatePrice / 1M tokens
Claude Sonnet 5
High-performance Claude tier for coding and agents at permanent $2/$10 API pricing.
1M context · 128K max output · $2 input / $10 output per 1M tokens.
Anthropic made the introductory $2 input / $10 output per 1M tokens pricing permanent on August 10, 2026; the previously planned $3/$15 pricing no longer applies.
Input$2
Claude Sonnet 5Output$10

How API token cost is calculated

Multiply the number of tokens by the provider rate, then divide by 1,000,000.

cost = tokens × price per 1M ÷ 1,000,000

Example: 250,000 input tokens at $2 / 1M = $0.50.

AI Price History

  1. Claude Sonnet 5 — input $3 → $2
  2. Claude Sonnet 5 — output $15 → $10