Per MillionLLM API prices, tracked daily

claude-sonnet-5 API Pricing

claude-sonnet-5 on DeepInfra costs $2.00 per 1M input tokens and $10.00 per 1M output tokens (as of ).

claude-sonnet-5 API Pricing. Source: the LiteLLM price list (MIT License)
Input$2.00 / 1M tokens
Output$10.00 / 1M tokens
Cached input (read)—
Cache write—
Batch input / output—
Above 200K tokens (input / output)—
Context window1M tokens
Max output— tokens
Supportsvision, tool calling, reasoning
Deprecation dateNone listed
API model idanthropic/claude-sonnet-5
In our records since

What it costs for common jobs

Estimated from the list price above (no caching or batch discount).

What it costs for common jobs. Source: the LiteLLM price list (MIT License)
JobEstimated cost
1,000 chat replies (2,000 tokens in, 500 out each)$9.00
Summarising 100 long documents (50,000 in, 1,000 out each)$11.00
1 million classification calls (300 in, 5 out each)$650.00

Try your own numbers in the LLM API cost calculator.

Price history

No price change recorded since .

Similarly priced models

Sort:

Similarly priced models. Source: the LiteLLM price list (MIT License)
ModelProviderInput / 1MOutput / 1MCached input / 1MContext
Qwen3.7-MaxDeepInfra$2.50$7.50$0.50256K
gemini-3.1-proDeepInfra$2.00$12.00—1M
gemini-2.5-proDeepInfra$1.25$10.00—1M
gemini-3.5-flashDeepInfra$1.50$9.00—1M
Qwen3.8-2.4T-A95BDeepInfra$2.00$6.00$0.20262K
Qwen3.8-MaxDeepInfra$1.65$4.95$0.21256K
Qwen3-MaxDeepInfra$1.20$6.00$0.24256K
Qwen3-Max-ThinkingDeepInfra$1.20$6.00$0.24256K