Claude Opus 4.7
Anthropic's flagship for coding and agentic workflows.
Opus 4.7 is Anthropic's flagship, with adaptive reasoning and stronger coding and vision than Opus 4.6 — built for complex agentic workflows that run across many steps.
- Agentic coding
- Complex workflows
- Vision
Model details
- Context window
- 1M tokens
- Max output
- 128K tokens
- Input
- Text, images
- Output
- Text
- Capabilities
- Reasoning, Vision, Tool calling, Streaming
- Interfaces
- OpenAI-style Chat Completions, Anthropic-style Messages, OpenAI-style Responses
Pricing
Prices use the units shown below. No gateway fees. Usage, size and model options may affect the total.
| Metric | Price |
|---|---|
| / 1M input tokens | $5 |
| / 1M output tokens | $25 |
| / 1M cached input tokens | $0.5 |
| / 1M cache write tokens (5 min) | $6.25 |
| / 1M cache write tokens (1 hour) | $10 |
| / web search | $0.01 |
Why teams pick it
- Adaptive reasoning with stronger coding and vision
- Built for complex, multi-step agentic workflows
- 1M-token context for whole-repo and long-document work
Call Claude Opus 4.7
Claude Opus 4.7 answers on any of the APIs below — pick the one your code already speaks and just swap in your Cloakray key.
/v1/chat/completionsOpenAI-style Chat Completions · openai SDK or plain HTTP
curl https://api.cloakray.com/v1/chat/completions \
-H "Authorization: Bearer ckr_..." \
-H "Content-Type: application/json" \
-d '{
"model": "claude-opus-4-7",
"messages": [
{
"role": "user",
"content": "Hello"
}
]
}'/v1/messagesAnthropic-style Messages · @anthropic-ai/sdk SDK or plain HTTP
curl https://api.cloakray.com/v1/messages \
-H "Authorization: Bearer ckr_..." \
-H "Content-Type: application/json" \
-d '{
"model": "claude-opus-4-7",
"max_tokens": 1024,
"messages": [
{
"role": "user",
"content": "Hello"
}
]
}'/v1/responsesOpenAI-style Responses · openai SDK or plain HTTP
curl https://api.cloakray.com/v1/responses \
-H "Authorization: Bearer ckr_..." \
-H "Content-Type: application/json" \
-d '{
"model": "claude-opus-4-7",
"input": "Hello"
}'Conversation compaction is also available at POST /v1/responses/compact.
More from Anthropic
Claude Fable 5.1Anthropic's most intelligent model, for the hardest problems.$10 / 1M input tokens · $50 / 1M output tokens · See all rates on the model pageClaude Opus 5.5Long-running agentic coding at a lower price than Opus 5.$4 / 1M input tokens · $20 / 1M output tokens · See all rates on the model pageClaude Fable 5Next-generation intelligence for knowledge work and coding.$10 / 1M input tokens · $50 / 1M output tokens · See all rates on the model page