Claude Opus 5
Claude Opus 5 is Anthropic's flagship Opus series model, engineered for advanced reasoning, coding and high-value knowledge-intensive tasks. It delivers cutting-edge performance comparable to Claude Fable 5 at roughly half the cost. It accepts text, image and file inputs and generates text outputs, boasting a 1-million-token context window, making it ideal for complex software engineering, scientific research and long-running agent workflows.
byAnthropicInput TypetextimagefileOutput TypetextContext Window1MMax Output128K
Providers
This model is available from multiple providers. Select one to see its pricing and sample code.
AnthropicDefault
$4 / $20/ 1M tokens0.80× base price
Supported formatsAnthropic Messages
Official channels of Anthropic
Claude Max
$1.5 / $7.5/ 1M tokens0.30× base price
Supported formatsAnthropic Messages
From Claude Max Membership
Pricing
Transparent pay-as-you-go pricing by token usage — no subscriptions or hidden fees.
Per 1M tokens
Input
Prompt and context tokens
$4
Output
Generated completion tokens
$20
Cache read
Reused or stored prompt context
$0.4
Cache write · 5m
Reused or stored prompt context
$5
Cache write · 1h
Reused or stored prompt context
$8
Code
Copy an example below to start calling this model in minutes.
API / request example
Sample Code & API
import anthropic
client = anthropic.Anthropic(
base_url="https://api.apipod.ai",
api_key="<YOUR_API_KEY>",
)
message = client.messages.create(
model="claude-opus-5",
max_tokens=1024,
messages=[
{
"role": "user",
"content": "What is the meaning of life?",
}
],
)
print(message.content[0].text)