Skip to content
OpenKey

Claude Opus 4.7

AnthropicReleased Apr 16, 2026

Opus 4.7 is the next generation of Anthropic's Opus family, built for long-running, asynchronous agents. Building on the coding and agentic strengths of Opus 4.6, it delivers stronger performance on...

Try in playground
Context window
1M tokens
Max output
128K tokens
Input
text, image, file
Output
text
Tokenizer
Claude
Released
Apr 16, 2026
Reasoning
optional

Pricing

Per 1M tokens. The provider price and our flat 3% fee are separate columns — what you pay is their sum.

Per 1M tokensProvider+ 3% feeYou pay
Input$5.00$0.150$5.15
Output$25.00$0.750$25.75
Cache read$0.500$0.015$0.515
Cache write$6.25$0.188$6.44

Benchmarks

Artificial Analysis

Intelligence index
53.5
Coding index
73.6
Agentic index
44.4

Design Arena

CategoryEloWin rateRank
agenticgamedevagents128964.2%#1
agentichtmlslidesagents124358%#3
agenticslidesagents133464.7%#1
agenticslides(html)agents124257.8%#3
agenticslides(python-pptx)agents133566.5%#1
androidnativeagents132961.7%#2
Full-stackagents150380.1%#1
godotgamedevagents121050.8%#11
htmlslidesagents123857.5%#3
Mobile appsagents119850.9%#15
pptxslidesagents134467.3%#1
python-pptxslidesagents135166.3%#1
Web appsagents132865.5%#1
3Dmodels132560.8%#9
ASCII artmodels131465.1%#3
Codemodels133761.1%#4
Data vizmodels132762%#3
Game devmodels134363.1%#5
SVGmodels128261.7%#7
UI componentsmodels136564.7%#2
Websitesmodels133560.5%#4

Head-to-head preference voting. How we filter and rank

Supported parameters

  • include_reasoning
  • max_tokens
  • reasoning
  • response_format
  • stop
  • structured_outputs
  • tool_choice
  • tools
  • verbosity

Call it

OpenAI-compatible: point your SDK at api.openkey.ai/v1 and use model anthropic/claude-opus-4.7.

Code sample language
curl https://api.openkey.ai/v1/chat/completions \
  -H "Authorization: Bearer $OPENKEY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "anthropic/claude-opus-4.7",
    "messages": [{"role": "user", "content": "Hello"}]
  }'
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.openkey.ai/v1",
    api_key=os.environ["OPENKEY_API_KEY"],
)

completion = client.chat.completions.create(
    model="anthropic/claude-opus-4.7",
    messages=[{"role": "user", "content": "Hello"}],
)
print(completion.choices[0].message.content)
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://api.openkey.ai/v1",
  apiKey: process.env.OPENKEY_API_KEY,
});

const completion = await client.chat.completions.create({
  model: "anthropic/claude-opus-4.7",
  messages: [{ role: "user", content: "Hello" }],
});
console.log(completion.choices[0].message.content);

Questions

How much does Claude Opus 4.7 cost via API?
Through OpenKey, Claude Opus 4.7 costs $5.15 per 1M input tokens and $25.75 per 1M output tokens. That is the provider price ($5.00 / $25.00) plus a flat 3% fee — nothing else.
What is Claude Opus 4.7's context window?
Claude Opus 4.7 accepts up to 1M tokens of context and returns up to 128K tokens per request.
Is Claude Opus 4.7 OpenAI-compatible?
Yes. Send requests to OpenKey's /v1/chat/completions endpoint with model "anthropic/claude-opus-4.7" using any OpenAI SDK — only the base URL and API key change.
What inputs does Claude Opus 4.7 support?
Claude Opus 4.7 accepts text, image, file input and produces text output.

More from Anthropic

All Anthropic models →