Speed
Output tokens / second
Custom pricing for production workloads
Claude 4.7 Opus on AIMLAPI.
anthropic/claude-opus-4-7https://api.aimlapi.com/v1Coding and code review
Generate, debug, and review code across languages, reading whole files or repos in a single prompt.
Long-document analysis
Summarize and extract from contracts, papers, and reports without aggressive chunking.
Claude Opus 4.7 is documented as suited to hard coding work, including advanced software engineering and complex code reasoning tasks.
It is also suited to long-running agentic tasks and workflows that require staying on track over longer horizons.
The model is documented for professional knowledge work such as document creation, financial analysis, slides, data visualization, and multi-step research workflows.
It is additionally suited to visual understanding tasks, including reading dense screenshots, extracting data from complex diagrams, and working with charts, dense documents, and screen UIs where fine detail matters.
See how Claude 4.7 Opus compares in generation speed and latency. Data retrieved Nov 3, 2026.
Output tokens / second
Compare 15 models available on AI/ML API across 5 independent benchmarks.
Expert-written questions across academic subjects.
Graduate-level science questions written to resist web search.
Reasoning across long documents of about 100k tokens.
Following precise instructions about the shape of the answer.
Customer support agent tasks with tool calls.
| Usage | Price | Unit |
|---|---|---|
| Input | $5 | 1M tokens |
| Output | $25 | 1M tokens |
| Cached input | $0.5 | 1M tokens |
Prices from the AI/ML API price list, checked on Nov 4, 2026.
AI/ML API input and output rates for 5 models, per million tokens.
| Model | Input | Output |
|---|---|---|
| $5 | $25 | |
| $0.1 | $0.5 | |
| $2 | $10 | |
| $4 | $20 | |
| $10 | $50 |
Give your agent the model details, code and documentation.
export AIMLAPI_KEY="8f2b4c7d9a1e6b3f…"curl 'https://api.aimlapi.com/v1/chat/completions' \
-H "Authorization: Bearer $AIMLAPI_KEY" \
-H 'Content-Type: application/json' \
-d '{
"model": "anthropic/claude-opus-4-7",
"messages": [
{
"role": "user",
"content": "Write a haiku about the ocean."
}
]
}'import os
import requests
headers = {
"Authorization": f"Bearer {os.environ['AIMLAPI_KEY']}",
"Content-Type": "application/json",
}
payload = {
"model": "anthropic/claude-opus-4-7",
"messages": [
{
"role": "user",
"content": "Write a haiku about the ocean."
}
]
}
response = requests.post("https://api.aimlapi.com/v1/chat/completions", headers=headers, json=payload, timeout=120)
response.raise_for_status()
print(response.json())const response = await fetch("https://api.aimlapi.com/v1/chat/completions", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.AIMLAPI_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"model": "anthropic/claude-opus-4-7",
"messages": [
{
"role": "user",
"content": "Write a haiku about the ocean."
}
]
}),
});
if (!response.ok) throw new Error(`HTTP ${response.status}`);
console.log(await response.json());Claude 4.7 Opus has a 1,000,000 tokens context window and can return up to 128,000 tokens.
Claude 4.7 Opus takes text as input and returns text.
Use anthropic/claude-opus-4-7 as the model id. Requests go to https://api.aimlapi.com/v1/chat/completions.
Claude 4.7 Opus became available on April 16, 2026.
Claude 4.7 Opus costs $5 input and $25 output per 1M tokens on AI/ML API, billed as you go with no subscription.
Yes, Claude 4.7 Opus can stream responses as they are generated.
Claude 4.7 Opus was built by Anthropic.