Switch model

API PRICES

Anthropic · claude-sonnet-5

Provider prices, cheapest first

Browse all models

Price comparison

Official (cash)
Input 2 / output 10 USD/million tokensAnthropic ·
Lowest inference provider (cash)
Input 2 / output 10 USD/million tokensOpenRouter · Aggregator ·
Lowest relay (credit)
Not listed

Official and inference-provider prices are cash; relay prices are site credit (USD credit or CNY credit), a different unit, compared separately. Relay prices are per million total tokens at 75% input and 25% output.

All official and inference price observations

Anthropic · claude-sonnet-5 official price: input 2, output 10 USD per million tokens (Anthropic, observed 2026-10-24). Cheapest inference provider: OpenRouter, input 2, output 10 USD per million tokens. 509 sites have comparable prices; 916 sites list this model. Conditions: section: Model pricing · 1-hour cache write 4 USD per MTok; cacheWrite is the 5-minute write · Additional web_search price 0.01 USD (per unit as declared by OpenRouter)

Price ranges per million tokens

Official cash prices · Lowest 4 · median 4 · highest 4 · 1 quotes USD / per million tokens

Inference provider cash prices · Lowest 4 · median 5 · highest 6 · 2 quotes USD / per million tokens

Official price

ProviderTariffInputOutputCache readCache writeUnitObservedConditions and source
AnthropicStandard2100.22.5USD / 1M tokenssection: Model pricing · 1-hour cache write 4 USD per MTok; cacheWrite is the 5-minute write
Full price conditions
{
  "sourceUnit": null,
  "sourceAmounts": null,
  "conditions": [],
  "contextTier": null,
  "processingMode": null,
  "conditionNotes": [
    "section: Model pricing",
    "1-hour cache write 4 USD per MTok; cacheWrite is the 5-minute write"
  ],
  "effectiveFrom": null,
  "effectiveUntil": null
}

Official source

Official prices are the vendor's cash prices. Inference providers also list cash prices and can be compared directly. Relays list prices in site credit; what you actually pay depends on each site's top-up rate, so they cannot be compared with official prices directly.

Inference providers

ProviderTariffInputOutputCache readCache writeUnitObservedConditions and sourcevs official
OpenRouter · AggregatorStandard2100.22.5USD / 1M tokensAdditional web_search price 0.01 USD (per unit as declared by OpenRouter)
Full price conditions
{
  "sourceUnit": "USD_PER_TOKEN",
  "sourceAmounts": {
    "cacheRead": "0.0000002",
    "cacheWrite": "0.0000025",
    "input": "0.000002",
    "output": "0.00001"
  },
  "conditions": [],
  "contextTier": null,
  "processingMode": null,
  "conditionNotes": [
    "Additional web_search price 0.01 USD (per unit as declared by OpenRouter)"
  ],
  "effectiveFrom": null,
  "effectiveUntil": null
}

Official source
DeepInfraStandard315——USD / 1M tokens
Full price conditions
{
  "sourceUnit": null,
  "sourceAmounts": null,
  "conditions": [],
  "contextTier": null,
  "processingMode": null,
  "conditionNotes": [],
  "effectiveFrom": null,
  "effectiveUntil": null
}

Official source
Other tariffs and prices to review

Official price

ProviderTariffInputOutputCache readCache writeUnitObservedConditions and source
AnthropicBatch15——USD / 1M tokensBatch processing · section: Feature-specific pricing
Full price conditions
{
  "sourceUnit": null,
  "sourceAmounts": null,
  "conditions": [],
  "contextTier": null,
  "processingMode": "batch",
  "conditionNotes": [
    "section: Feature-specific pricing"
  ],
  "effectiveFrom": null,
  "effectiveUntil": null
}

Official source

Inference providers

ProviderTariffInputOutputCache readCache writeUnitObservedConditions and source
OpenRouter · AggregatorBatch150.11.25USD / 1M tokensOpenRouter batch variant · Additional web_search price 0.01 USD (per unit as declared by OpenRouter)
Full price conditions
{
  "sourceUnit": "USD_PER_TOKEN",
  "sourceAmounts": {
    "cacheRead": "0.0000001",
    "cacheWrite": "0.00000125",
    "input": "0.000001",
    "output": "0.000005"
  },
  "conditions": [
    "OpenRouter batch variant"
  ],
  "contextTier": null,
  "processingMode": null,
  "conditionNotes": [
    "Additional web_search price 0.01 USD (per unit as declared by OpenRouter)"
  ],
  "effectiveFrom": null,
  "effectiveUntil": null
}

Official source
Older official and inference provider prices

Earlier price observations and their original conditions

Official price

ProviderTariffInputOutputCache readCache writeUnitObservedConditions and source
AnthropicBatch15——USD / 1M tokensBatch processing · section: Feature-specific pricing
Full price conditions
{
  "sourceUnit": null,
  "sourceAmounts": null,
  "conditions": [],
  "contextTier": null,
  "processingMode": "batch",
  "conditionNotes": [
    "section: Feature-specific pricing"
  ],
  "effectiveFrom": null,
  "effectiveUntil": null
}

Official source
AnthropicStandard2100.22.5USD / 1M tokenssection: Model pricing · 1-hour cache write 4 USD per MTok; cacheWrite is the 5-minute write
Full price conditions
{
  "sourceUnit": null,
  "sourceAmounts": null,
  "conditions": [],
  "contextTier": null,
  "processingMode": null,
  "conditionNotes": [
    "section: Model pricing",
    "1-hour cache write 4 USD per MTok; cacheWrite is the 5-minute write"
  ],
  "effectiveFrom": null,
  "effectiveUntil": null
}

Official source

Inference providers

ProviderTariffInputOutputCache readCache writeUnitObservedConditions and source
OpenRouter · AggregatorBatch150.11.25USD / 1M tokensOpenRouter batch variant · Additional web_search price 0.01 USD (per unit as declared by OpenRouter)
Full price conditions
{
  "sourceUnit": "USD_PER_TOKEN",
  "sourceAmounts": {
    "cacheRead": "0.0000001",
    "cacheWrite": "0.00000125",
    "input": "0.000001",
    "output": "0.000005"
  },
  "conditions": [
    "OpenRouter batch variant"
  ],
  "contextTier": null,
  "processingMode": null,
  "conditionNotes": [
    "Additional web_search price 0.01 USD (per unit as declared by OpenRouter)"
  ],
  "effectiveFrom": null,
  "effectiveUntil": null
}

Official source
OpenRouter · AggregatorStandard2100.22.5USD / 1M tokensAdditional web_search price 0.01 USD (per unit as declared by OpenRouter)
Full price conditions
{
  "sourceUnit": "USD_PER_TOKEN",
  "sourceAmounts": {
    "cacheRead": "0.0000002",
    "cacheWrite": "0.0000025",
    "input": "0.000002",
    "output": "0.00001"
  },
  "conditions": [],
  "contextTier": null,
  "processingMode": null,
  "conditionNotes": [
    "Additional web_search price 0.01 USD (per unit as declared by OpenRouter)"
  ],
  "effectiveFrom": null,
  "effectiveUntil": null
}

Official source
DeepInfraStandard315——USD / 1M tokens
Full price conditions
{
  "sourceUnit": null,
  "sourceAmounts": null,
  "conditions": [],
  "contextTier": null,
  "processingMode": null,
  "conditionNotes": [],
  "effectiveFrom": null,
  "effectiveUntil": null
}

Official source

Unit: CNY credits per 1M tokens. These are site-credit prices; actual cost depends on each site’s top-up rate.

Showing: Related variants。These are special editions of the model (thinking, max, search, batch, long context, free, etc.). They are priced differently from the base model, so they are listed separately and not ranked. Names that only add an effort level such as low, high or nothinking are compared with the base model. Back to the default ranking

Filtering by provider: xmtoken.top

Searching…

Browse all providers
Clear filters

Blended price = input × 75% + output × 25%, without cache.

Price range: lowest — · median — · highest — (0 quotes, CNY credits per million total tokens)

sites have comparable prices509916 sites list this model; approximately 0 operators
Lowest input price—CNY credits / 1M
Median of each provider’s lowest price—CNY credits / 1M

No comparable prices

No prices match the filters. Clear them to see more.

View other prices and terms for this model
How this ranking works

All per-token prices: 93,968 prices from 854 sites (about 751 companies). 84,786 are ranked, from 838 sites (about 736 companies); 9,182 more are listed separately and not ranked. Prices collected up to 2026-10-24.

This model has 4307 recorded prices; 1854 can be compared directly (1699 ranked, 155 listed separately). Not comparable yet: tiered by rules (see Tiered prices) 885, price not parsed yet 880, new price under review; showing the previous one 178, billed per request or another unit 137, display unit not confirmed 88, scope of the official doc price not confirmed 48, ratio looks unset 45

0 recent · 0 stale (older than 10 days, or not updated by this refresh) · 0 unverified timestamps. No recent prices to summarize in this group. 0 zero-valued pairs are separately unverified, without proof of free eligibility. Timing does not verify payment, upstream identity or quality.

Prices are converted to site credits using each site’s published ratio. What you actually pay depends on its top-up rate. Input, output and cache prices in each row come from the same plan. Several sites run by the same company take one place in the ranking: its cheapest plan, with the other sites listed under it. We judge “same company” by identical prices, status pages or homepage code; this is not a legal finding. To see every site’s prices, choose “All plans” or filter by provider.

“Self-declared unofficial channel” means the plan name itself says “reverse-engineered” or similar. We have not verified their source or quality. Minimum and median only count regular plans.

Full methodology →

FAQ

Which API is cheapest for Anthropic · claude-sonnet-5?

No valid quotes within 10 days. Older quotes are listed as reference prices.

What is the official price for Anthropic · claude-sonnet-5?

Input 2, output 10 USD per million tokens, checked 2026-10-24. Lowest inference provider: OpenRouter, input 2, output 10 USD per million tokens.

How do I use Anthropic · claude-sonnet-5 in Claude Code or Codex?

Install Grandet Skill, then say "Connect the cheapest Anthropic · claude-sonnet-5 API to Claude Code for me". Install Skill →