Claude Opus 4.7
Opus 4.7 is the next generation of Anthropic's Opus family, built for long-running, asynchronous agents.
claude-opus-4-7Released 16 Apr 2026 (Apr 2026)Pricing
List prices at Anthropic, in US dollars per million tokens.
| Tier | Input / 1M | Output / 1M | |
|---|---|---|---|
| Standard | $5.00 | $25.00 | |
| Cached input 90% off input | $0.50 | 90% off input | |
| Cache write, 5 minutes | $6.25 | ||
| Cache write, 1 hour | $10.00 | ||
| Batch 50% off | $2.50 | $12.50 | 50% off |
| Web search $10.00 per 1,000 searches | $10.00 per 1,000 searches | ||
| Regional endpoints 10% more | 10% more |
What it costs a month
At Anthropic list prices, 30 days.
- Chat assistant5,000 requests a day, 2K in / 0.5K out, cached$2,970
- RAG over documents2,000 requests a day, 8K in / 0.6K out, cached$2,220
- Coding agent1,000 requests a day, 40K in / 2K out, cached$3,720
- Overnight batch20,000 requests a day, 4K in / 0.4K out, batch$9,000
Where to run it
9 hosts serve Claude Opus 4.7. The comparison is on blended price, 3 parts input to 1 part output.
| Host | In / out per 1M | Model id | |
|---|---|---|---|
AnthropicLab API claude-opus-4-7 | $5.00 / $25.00 | claude-opus-4-7 | |
Amazon BedrockCloud anthropic.claude-opus-4-7 | $5.00 / $25.00 | anthropic.claude-opus-4-7 | |
Azure AI FoundryCloud claude-opus-4-7 | $5.00 / $25.00 Retires 6 Apr 2027 | claude-opus-4-7 | Retires 6 Apr 2027 |
Vertex AICloud claude-opus-4-7 | $5.00 / $25.00 No retirement before 16 Apr 2027 | claude-opus-4-7 | No retirement before 16 Apr 2027 |
DeepInfraInference claude-opus-4-7 | $5.00 / $25.00 | claude-opus-4-7 | |
ReplicateInference claude-opus-4.7 | $5.00 / $25.00 | claude-opus-4.7 | |
PerplexityGateway claude-opus-4-7 | $5.00 / $25.00 | claude-opus-4-7 | |
DatabricksCloud databricks-claude-opus-4-7 | $5.00 / $25.00 | databricks-claude-opus-4-7 | |
Kyma APICloud claude-opus-4-7 | $6.75 / $33.75 +35% vs headline | claude-opus-4-7 |
Show 11 more listings: regions, snapshots and variantsHide regional listings
| Anthropic | |||||||
| 2026-04-16 claude-opus-4-7-20260416 | $5.00 / $25.00 | claude-opus-4-7-20260416 | |||||
| Amazon Bedrock | |||||||
| Claude Platform claude-opus-4-7 | $5.00 / $25.00 | claude-opus-4-7 | |||||
| global global.anthropic.claude-opus-4-7 | $5.00 / $25.00 | global.anthropic.claude-opus-4-7 | |||||
| Mantle anthropic.claude-opus-4-7 | $5.50 / $27.50 +10% vs headline | anthropic.claude-opus-4-7 | |||||
| Mantle anthropic.claude-opus-4-7 | $5.50 / $27.50 +10% vs headline | anthropic.claude-opus-4-7 | |||||
| au au.anthropic.claude-opus-4-7 | $5.50 / $27.50 +10% vs headline | au.anthropic.claude-opus-4-7 | |||||
| eu eu.anthropic.claude-opus-4-7 | $5.50 / $27.50 +10% vs headline | eu.anthropic.claude-opus-4-7 | |||||
| jp jp.anthropic.claude-opus-4-7 | $5.50 / $27.50 +10% vs headline | jp.anthropic.claude-opus-4-7 | |||||
| us us.anthropic.claude-opus-4-7 | $5.50 / $27.50 +10% vs headline | us.anthropic.claude-opus-4-7 | |||||
| apac apac.anthropic.claude-opus-4-7 | $5.50 / $27.50 +10% vs headline | apac.anthropic.claude-opus-4-7 | |||||
| Vertex AI | |||||||
| Alias claude-opus-4-7@default | $5.00 / $25.00 No retirement before 16 Apr 2027 | claude-opus-4-7@default | No retirement before 16 Apr 2027 | ||||
Capabilities
Core
- Streaming
- Function calling
- JSON mode
- Structured outputs
Multimodal
- Vision
- Image input
- Audio
- Image generation
- Video
Advanced
- Reasoning
- Tool calling
- MCP
- Prompt caching
- Batch API
- Embeddings
- Takes in
- TextImagesPDFs
- Produces
- Text
- Effort settings the source lists
- xhighmax
- Features
- Adaptive thinkingComputer useNative structured outputPDF inputPrompt cachingBuilt-in web search
Cheaper alternatives
Current models that cost less and keep most of what this one can do: tools, vision, reasoning, structured output, caching and enough context.
Same model, cheaper host
No host sells it for less than Anthropic.
Smaller Anthropic models
- 20% less
- 60% less
- 98% less
Other frontier labs
- 52% less
- 60% less
- 70% less
- 60% less
Open-weight picks
- 60% less
- 78% less
- 83% less
- 95% less
Model line
Newer and older versions, at each lab's own price.
- Sep 2026Claude Opus 5.5Latest$4.00 / $20.00
- Jul 2026Claude Opus 5$5.00 / $25.00
- May 2026Claude Opus 4.8$5.00 / $25.00
- Apr 2026Claude Opus 4.7This page$5.00 / $25.00
- Feb 2026Claude Opus 4.6$5.00 / $25.00
- Nov 2025Claude Opus 4.5$5.00 / $25.00
- Aug 2025Claude Opus 4.1$15.00 / $75.00
- May 2025Claude Opus 4$5.00 / $25.00
Call it
Using Anthropic's API.
from anthropic import Anthropic
client = Anthropic() # reads ANTHROPIC_API_KEY
message = client.messages.create(
model="claude-opus-4-7",
max_tokens=1024,
messages=[{"role": "user", "content": "Hello"}],
)
print(message.content[0].text)curl https://api.anthropic.com/v1/messages \
-H "x-api-key: $ANTHROPIC_API_KEY" \
-H "anthropic-version: 2023-06-01" \
-H "content-type: application/json" \
-d '{"model": "claude-opus-4-7", "max_tokens": 1024, "messages": [{"role": "user", "content": "Hello"}]}'from litellm import completion
response = completion(
model="anthropic/claude-opus-4-7",
messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)Quick answers
How much does Claude Opus 4.7 cost?
On Anthropic, Claude Opus 4.7 costs $5.00 per million input tokens and $25.00 per million output tokens. Cached input costs $0.50 per million tokens.
Which APIs offer Claude Opus 4.7?
Claude Opus 4.7 runs on 9 APIs: Anthropic, Amazon Bedrock, Azure AI Foundry, Vertex AI, DeepInfra, Replicate, Perplexity, Databricks and Kyma API.
What is Claude Opus 4.7's context window?
1M tokens, with up to 128K tokens in one reply.
Is Claude Opus 4.7 being retired?
Azure AI Foundry retires it on 6 Apr 2027. 8 hosts keep serving it.
Is there a newer version of Claude Opus 4.7?
Yes. Claude Opus 5.5 is the newest model in this line, released on 22 Sep 2026.
What are cheaper alternatives to Claude Opus 4.7?
Models that cost less and keep most of what it can do: Claude Opus 5.5 on Anthropic (20% less), GPT-5.3 Codex on OpenAI (52% less), Gemini 4 Carbon on Google AI Studio (60% less) and Kimi K3.1 Pro on Databricks (60% less). Savings are on a mix of 3 input tokens to 1 output token.
When was Claude Opus 4.7 released?
Anthropic released it on 16 Apr 2026.
What is Claude Opus 4.7's API model id?
Use claude-opus-4-7 with Anthropic. Other hosts use their own ids: anthropic.claude-opus-4-7 on Amazon Bedrock, claude-opus-4.7 on Replicate, databricks-claude-opus-4-7 on Databricks.
Sources
- Amazon Bedrock pricing
- Anthropic pricing
- DeepInfra pricing
- Perplexity pricing
- Vertex AI pricing
- Replicate pricing
- Databricks pricing
- LiteLLM model map
Raw catalog entry for claude-opus-4-7 on Anthropic
{
"supports_web_search": true,
"supports_anthropic_compaction": true,
"cache_creation_input_token_cost": 0.00000625,
"cache_creation_input_token_cost_above_1hr": 0.00001,
"cache_creation_input_token_cost_batches": 0.000003125,
"cache_read_input_token_cost": 5e-7,
"cache_read_input_token_cost_batches": 2.5e-7,
"input_cost_per_token": 0.000005,
"input_cost_per_token_batches": 0.0000025,
"litellm_provider": "anthropic",
"max_input_tokens": 1000000,
"max_output_tokens": 128000,
"mode": "chat",
"output_cost_per_token": 0.000025,
"output_cost_per_token_batches": 0.0000125,
"search_context_cost_per_query": {
"search_context_size_high": 0.01,
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
"supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
"supports_pdf_input": true,
"supports_prompt_caching": true,
"supports_thinking_cache_preservation": true,
"supports_reasoning": true,
"supports_response_schema": true,
"supports_native_structured_output": true,
"supports_sampling_params": false,
"supports_tool_choice": true,
"supports_vision": true,
"supports_xhigh_reasoning_effort": true,
"supports_max_reasoning_effort": true,
"provider_specific_entry": {
"us": 1.1
},
"supports_output_config": true,
"prompt_cache_min_tokens": 2048,
"source": "https://platform.claude.com/docs/en/about-claude/pricing"
}