Claude Opus 4.8 API Pricing
- Input / output
- $5.00 / $25.00 per 1M tokens
- Cache read
- $0.50 / 1M
- Context
- 1M tokens
- Max output
- 128K tokens
As of November 24, 2026, Claude Opus 4.8 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. Across 11 providers on LiteLLM, the input price ranges from $5.00 to $6.00. It has a 1,000,000-token context window and returns up to 128,000 tokens per response.
Claude Opus 4.8 pricing by provider
24 listings across 11 providers. Token prices are in US dollars per 1M tokens. The highlighted row is the price quoted above.
| Provider | Model name in LiteLLM | Input | Output | Cache read | Cache write | Batch in | Batch out | Context |
|---|---|---|---|---|---|---|---|---|
| Anthropic | claude-opus-4-8 | $5.00 | $25.00 | $0.50 | $6.25 | $2.50 | $12.50 | 1M |
| Amazon Bedrock | anthropic.claude-opus-4-8 | $5.00 | $25.00 | $0.50 | $6.25 | – | – | 1M |
| Amazon Bedrock | bedrock/claude_platform/claude-opus-4-8 | $5.00 | $25.00 | $0.50 | $6.25 | $2.50 | $12.50 | 1M |
| Amazon Bedrock | bedrock/mantle/anthropic.claude-opus-4-8 | $5.50 | $27.50 | $0.55 | $6.875 | – | – | 1M |
| Amazon Bedrock Mantle | bedrock_mantle/anthropic.claude-opus-4-8 | $5.50 | $27.50 | $0.55 | $6.875 | – | – | 1M |
| Azure AI Foundry | azure_ai/claude-opus-4-8 | $5.00 | $25.00 | $0.50 | $6.25 | – | – | 1M |
| Databricks | databricks/databricks-claude-opus-4-8 | $5.00 | $25.00 | $0.50 | $6.25 | – | – | 1M |
| DeepInfra | deepinfra/anthropic/claude-opus-4-8 | $5.00 | $25.00 | – | – | – | – | 1M |
| GitHub Copilot | github_copilot/claude-opus-4.8 | $5.00 | $25.00 | $0.50 | $6.25 | – | – | 200K |
| Google Vertex AI | vertex_ai/claude-opus-4-8 | $5.00 | $25.00 | $0.50 | $6.25 | $2.50 | $12.50 | 1M |
| Google Vertex AI | vertex_ai/claude-opus-4-8@default | $5.00 | $25.00 | $0.50 | $6.25 | $2.50 | $12.50 | 1M |
| Perplexity | perplexity/anthropic/claude-opus-4-8 | $5.00 | $25.00 | $0.50 | – | – | – | – |
| Perplexity Orchestrator | perplexity_orchestrator/anthropic/claude-opus-4-8 | $5.00 | $25.00 | $0.50 | $6.25 | – | – | 1M |
| Snowflake Cortex | snowflake/claude-opus-4-8 | $5.00 | $25.00 | $0.50 | $6.25 | – | – | – |
| Amazon BedrockAPAC cross-region | apac.anthropic.claude-opus-4-8 | $5.50 | $27.50 | $0.55 | $6.875 | – | – | 1M |
| Amazon BedrockAustralia cross-region | au.anthropic.claude-opus-4-8 | $5.50 | $27.50 | $0.55 | $6.875 | – | – | 1M |
| Amazon Bedrockus-gov-east-1 | bedrock/us-gov-east-1/anthropic.claude-opus-4-8 | $6.00 | $30.00 | $0.60 | $7.50 | – | – | 1M |
| Amazon Bedrockus-gov-west-1 | bedrock/us-gov-west-1/anthropic.claude-opus-4-8 | $6.00 | $30.00 | $0.60 | $7.50 | – | – | 1M |
| Amazon BedrockEU cross-region | eu.anthropic.claude-opus-4-8 | $5.50 | $27.50 | $0.55 | $6.875 | – | – | 1M |
| Amazon BedrockGlobal cross-region | global.anthropic.claude-opus-4-8 | $5.00 | $25.00 | $0.50 | $6.25 | – | – | 1M |
| Amazon BedrockJapan cross-region | jp.anthropic.claude-opus-4-8 | $5.50 | $27.50 | $0.55 | $6.875 | – | – | 1M |
| Amazon BedrockUS GovCloud cross-region | us-gov.anthropic.claude-opus-4-8 | $6.00 | $30.00 | $0.60 | $7.50 | – | – | 1M |
| Amazon BedrockUS cross-region | us.anthropic.claude-opus-4-8 | $5.50 | $27.50 | $0.55 | $6.875 | – | – | 1M |
| Amazon Bedrock Mantleus-gov-west-1 | bedrock_mantle/us-gov-west-1/anthropic.claude-opus-4-8 | $6.00 | $30.00 | $0.60 | $7.50 | – | – | 1M |
Other Claude Opus 4.8 prices on Anthropic
| Cache write, 1 hour | $10.00 per 1M tokens |
| Web search | $10.00 per 1K searches |
What Claude Opus 4.8 costs in practice
1,000 requests with 2,000 input and 500 output tokens each
| Anthropic | $22.50 |
| Amazon Bedrock | $22.50 |
| Azure AI Foundry | $22.50 |
| DeepInfra | $22.50 |
| Anthropic batch | $11.25 |
100 long-document requests with 100,000 input and 2,000 output tokens each
| Anthropic | $55.00 |
| Amazon Bedrock | $55.00 |
| Azure AI Foundry | $55.00 |
| DeepInfra | $55.00 |
Claude Opus 4.8 cost calculator
At Anthropic's price ($5.00 input, $25.00 output per 1M tokens), 10,000 requests a day with 1,000 input and 500 output tokens each cost $175 a day, about $5,250 a month. Change the numbers for your workload, or compare it with other models.
- Per request
- $0.0175
- Per day
- $175
- Per month (30 days)
- $5,250
Claude Opus 4.8 features
Input: text, image, pdf. Output: text.
- Function calling
- Parallel tool calls
- Structured output
- Image input
- PDF input
- Reasoning
- Prompt caching
- Web search
- Computer use
Use Claude Opus 4.8 with LiteLLM
Call Claude Opus 4.8 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.
from litellm import completion
response = completion(
model="claude-opus-4-8",
messages=[{"role": "user", "content": "Hello!"}],
)model_list:
- model_name: claude-opus-4-8
litellm_params:
model: claude-opus-4-8
api_key: os.environ/ANTHROPIC_API_KEYcurl http://0.0.0.0:4000/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $LITELLM_API_KEY" \
-d '{
"model": "claude-opus-4-8",
"messages": [{"role": "user", "content": "Hello!"}]
}'Claude Opus 4.8 FAQ
How much does Claude Opus 4.8 cost?
Claude Opus 4.8 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. Across 11 providers on LiteLLM, the input price ranges from $5.00 to $6.00.
What is the context window of Claude Opus 4.8?
Claude Opus 4.8 has a 1,000,000-token context window and returns up to 128,000 tokens per response.
Which providers offer Claude Opus 4.8?
Claude Opus 4.8 is available from 11 providers through LiteLLM: Anthropic, Amazon Bedrock, Amazon Bedrock Mantle, Azure AI Foundry, Databricks, DeepInfra, GitHub Copilot, Google Vertex AI, Perplexity, Perplexity Orchestrator and Snowflake Cortex. The lowest price is on Anthropic.
How do I call Claude Opus 4.8 with an OpenAI-compatible API?
Use the LiteLLM Python SDK with model="claude-opus-4-8", 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 4.8 support?
Claude Opus 4.8 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 4.8?
Claude Opus 4.8 was added to LiteLLM's model price file in June 2026.
Compare Claude Opus 4.8
Sources
Prices come from LiteLLM's open-source model_prices_and_context_window.json, which LiteLLM uses to calculate the cost of every request. Maintainers update it from each provider's published pricing, and this page is usually rebuilt within 20 minutes of every change. Provider pricing pages:
- platform.claude.com/docs/en/about-claude/pricing
- pricing.us-east-1.amazonaws.com/offers/v1.0/aws/AmazonBedrockFoundationModels/current/index.json
- platform.claude.com/docs/en/about-claude/pricing#claude-platform-on-aws-pricing
- www.databricks.com/product/pricing/proprietary-foundation-model-serving
LiteLLM docs: Anthropic, Amazon Bedrock, Azure AI Foundry, Databricks, DeepInfra, GitHub Copilot.
Provider pages: Anthropic, Amazon Bedrock, Amazon Bedrock Mantle, Azure AI Foundry, Databricks, DeepInfra, GitHub Copilot, Google Vertex AI, Perplexity, Perplexity Orchestrator, Snowflake Cortex.