LiteLLMModels

Claude Opus 5 API Pricing

As of October 10, 2026, Claude Opus 5 costs $5.00 per 1M input tokens and $25.00 per 1M output tokens on Anthropic, with cache reads at $0.50 and cache writes at $6.25 per 1M tokens. It has a 1,000,000-token context window and returns up to 128,000 tokens per response.

By AnthropicModel ID claude-opus-5Prices updated Checked
Input
$5.00 / 1M tokens
Output
$25.00 / 1M tokens
Cache read
$0.50 / 1M tokens
Context window
1,000,000 tokens
Max output
128,000 tokens
Providers
9
Added to LiteLLM
July 24, 2026

Claude Opus 5 pricing by provider

19 listings across 9 providers. Token prices are in US dollars per 1M tokens. The highlighted row is the price quoted above.

ProviderModel name in LiteLLMInputOutputCache readCache writeBatch inBatch outContext
Anthropicclaude-opus-5$5.00$25.00$0.50$6.25$2.50$12.501M
AIHubMixaihubmix/claude-opus-5$5.00$25.00$0.50$6.25––1M
Amazon Bedrockanthropic.claude-opus-5$5.00$25.00$0.50$6.25––1M
Azure AI Foundryazure_ai/claude-opus-5$5.00$25.00$0.50$6.25––1M
Databricksdatabricks/databricks-claude-opus-5$5.00$25.00$0.50$6.25––1M
DeepInfradeepinfra/anthropic/claude-opus-5$5.00$25.00––––1M
GitHub Copilotgithub_copilot/claude-opus-5––––––200K
Google Vertex AIvertex_ai/claude-opus-5$5.00$25.00$0.50$6.25$2.50$12.501M
Google Vertex AIvertex_ai/claude-opus-5@default$5.00$25.00$0.50$6.25$2.50$12.501M
Perplexityperplexity/anthropic/claude-opus-5$5.00$25.00$0.50––––
Amazon BedrockAPAC cross-regionapac.anthropic.claude-opus-5$5.50$27.50$0.55$6.875––1M
Amazon BedrockAustralia cross-regionau.anthropic.claude-opus-5$5.50$27.50$0.55$6.875––1M
Amazon Bedrockus-gov-east-1bedrock/us-gov-east-1/anthropic.claude-opus-5$6.00$30.00$0.60$7.50––1M
Amazon Bedrockus-gov-west-1bedrock/us-gov-west-1/anthropic.claude-opus-5$6.00$30.00$0.60$7.50––1M
Amazon BedrockEU cross-regioneu.anthropic.claude-opus-5$5.50$27.50$0.55$6.875––1M
Amazon BedrockGlobal cross-regionglobal.anthropic.claude-opus-5$5.00$25.00$0.50$6.25––1M
Amazon BedrockJapan cross-regionjp.anthropic.claude-opus-5$5.50$27.50$0.55$6.875––1M
Amazon BedrockUS GovCloud cross-regionus-gov.anthropic.claude-opus-5$6.00$30.00$0.60$7.50––1M
Amazon BedrockUS cross-regionus.anthropic.claude-opus-5$5.50$27.50$0.55$6.875––1M

Other Claude Opus 5 prices on Anthropic

Cache write, 1 hour$10.00 per 1M tokens
Web search$10.00 per 1K searches

What Claude Opus 5 costs in practice

1,000 requests with 2,000 input and 500 output tokens each

Anthropic$22.50
AIHubMix$22.50
Amazon Bedrock$22.50
Azure AI Foundry$22.50
Anthropic batch$11.25

100 long-document requests with 100,000 input and 2,000 output tokens each

Anthropic$55.00
AIHubMix$55.00
Amazon Bedrock$55.00
Azure AI Foundry$55.00

Claude Opus 5 features

Use Claude Opus 5 with LiteLLM

Call Claude Opus 5 through the LiteLLM Python SDK, or put it behind the LiteLLM proxy and send OpenAI-format requests to /v1/chat/completions. LiteLLM tracks the cost of every request at these prices.

Python SDK
from litellm import completion

response = completion(
    model="claude-opus-5",
    messages=[{"role": "user", "content": "Hello!"}],
)
Proxy config.yaml
model_list:
  - model_name: claude-opus-5
    litellm_params:
      model: claude-opus-5
      api_key: os.environ/ANTHROPIC_API_KEY
Call the proxy
curl http://0.0.0.0:4000/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer sk-1234" \
  -d '{
    "model": "claude-opus-5",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Claude Opus 5 FAQ

How much does Claude Opus 5 cost?

Claude Opus 5 costs $5.00 per 1M input tokens and $25.00 per 1M output tokens on Anthropic, with cache reads at $0.50 and cache writes at $6.25 per 1M tokens. Batch requests cost $2.50 per 1M input tokens and $12.50 per 1M output tokens.

What is the context window of Claude Opus 5?

Claude Opus 5 has a 1,000,000-token context window and returns up to 128,000 tokens per response.

Which providers offer Claude Opus 5?

Claude Opus 5 is available from 9 providers through LiteLLM: Anthropic, AIHubMix, Amazon Bedrock, Azure AI Foundry, Databricks, DeepInfra, GitHub Copilot, Google Vertex AI and Perplexity. The lowest price is on Anthropic.

How do I call Claude Opus 5 with an OpenAI-compatible API?

Use the LiteLLM Python SDK with model="claude-opus-5", or add the model to the LiteLLM proxy's config.yaml and send requests to /v1/chat/completions from any OpenAI client. LiteLLM tracks the cost of every request at the prices on this page.

What features does Claude Opus 5 support?

Claude Opus 5 supports function calling, parallel tool calls, structured output, image input, PDF input, reasoning, prompt caching, web search and computer use.

When did LiteLLM add Claude Opus 5?

Claude Opus 5 was added to LiteLLM's model price file on July 24, 2026.

Sources

Prices come from LiteLLM's open-source model_prices_and_context_window.json, which LiteLLM uses to calculate the cost of every request. Provider pricing pages:

LiteLLM docs: Anthropic, AIHubMix, Amazon Bedrock, Azure AI Foundry, Databricks, DeepInfra.

Provider pages: Anthropic, AIHubMix, Amazon Bedrock, Azure AI Foundry, Databricks, DeepInfra, GitHub Copilot, Google Vertex AI, Perplexity.