Claude Opus 4.7
Claude Opus 4.7 handles complex, long-running tasks with rigor and consistency, pays precise attention to instructions, and devises ways to verify its own outputs before reporting back.
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-4-7",
max_tokens=1024,
messages=[
{
"role": "user",
"content": "What is the meaning of life?",
}
],
)
print(message.content[0].text)