Claude Opus 4.1 (batch): AI model
- Context window:
- 200,000 tokens
- Input:
- $7.5/1M tokens
- Output:
- $37.5/1M tokens
- Type:
- text, image
- Vision
- Tools
- Long context
Thinking levels:
Claude Opus 4.1 (batch) is a AI model from Anthropic, available through Hormouz via an OpenAI-compatible API with stable access from inside Iran.
Claude Opus 4.1 is an updated version of Anthropic’s flagship model, offering improved performance in coding, reasoning, and agentic tasks. It achieves 74.5% on SWE-bench Verified and shows notable gains...
Quickstart
# 1. Submit (up to 1,000 requests)
curl https://api.hormouz.net/v1/batches \
-H "Authorization: Bearer ng-YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"endpoint": "/v1/chat/completions", "model": "anthropic/claude-opus-4.1:batch", "requests": [{"custom_id": "q1", "body": {"messages": [{"role": "user", "content": "Hello!"}], "max_tokens": 200}}]}'
# 2. Poll until "status" is "completed", then read "results"
curl https://api.hormouz.net/v1/batches/BATCH_ID \
-H "Authorization: Bearer ng-YOUR_API_KEY"Specs
| Vendor | Anthropic |
|---|---|
| Type | Text, Image |
| Context window | 200,000 tokens |
| Pricing | $7.50/M in · $37.50/M out |
| API | batches |
| Capabilities | Vision · Tools |
Benchmarks
Reasoning
GPQA Diamond
Graduate-level scientific reasoning
80.9%
HLE
Humanity's Last Exam
12.5%
IFBench
Instruction-following
55.4%
AA-LCR
Long-context reasoning
76%
CritPt
Research-level physics reasoning
0%
Coding
Terminal-Bench Hard
Agentic coding & terminal use
34.3%
Agentic
τ²-Bench
Tool-use agents in dual-control scenarios
71.4%
Source: Artificial Analysis
Design Arena
How Design Arena works ↗3D
Top 46%1,164Elo
Win rate: 51.9%Avg time: 76.8s
ASCII Art
Top 40%1,178Elo
Win rate: 51.5%Avg time: 44.5s
Code
Top 55%1,171Elo
Win rate: 50.1%Avg time: 105s
Data Viz
Top 57%1,169Elo
Win rate: 47.9%Avg time: 85.2s
Game Dev
Top 49%1,176Elo
Win rate: 51.3%Avg time: 111s
SVG
Top 63%1,109Elo
Win rate: 50.1%Avg time: 27.5s
UI Component
Top 56%1,162Elo
Win rate: 48.7%Avg time: 92.4s
Website
Top 57%1,171Elo
Win rate: 49.4%Avg time: 112s
Metrics sourced from Design Arena
Code example
cURL
# 1. Submit (up to 1,000 requests)
curl https://api.hormouz.net/v1/batches \
-H "Authorization: Bearer ng-YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"endpoint": "/v1/chat/completions", "model": "anthropic/claude-opus-4.1:batch", "requests": [{"custom_id": "q1", "body": {"messages": [{"role": "user", "content": "Hello!"}], "max_tokens": 200}}]}'
# 2. Poll until "status" is "completed", then read "results"
curl https://api.hormouz.net/v1/batches/BATCH_ID \
-H "Authorization: Bearer ng-YOUR_API_KEY"Python
import requests, time
BASE = "https://api.hormouz.net/v1"
H = {"Authorization": "Bearer ng-YOUR_API_KEY"}
batch = requests.post(f"{BASE}/batches", headers=H, json={
"endpoint": "/v1/chat/completions",
"model": "anthropic/claude-opus-4.1:batch",
"requests": [{"custom_id": "q1", "body": {"messages": [{"role": "user", "content": "Hello!"}], "max_tokens": 200}}],
}).json()
while batch["status"] not in ("completed", "failed", "expired", "cancelled"):
time.sleep(60)
batch = requests.get(f"{BASE}/batches/{batch['id']}", headers=H).json()
for item in batch.get("results", []): # unordered: match by custom_id
print(item["custom_id"], item.get("body") or item.get("error"))JavaScript
const BASE = "https://api.hormouz.net/v1";
const H = { Authorization: "Bearer ng-YOUR_API_KEY", "Content-Type": "application/json" };
let batch = await (await fetch(BASE + "/batches", {
method: "POST",
headers: H,
body: JSON.stringify({
endpoint: "/v1/chat/completions",
model: "anthropic/claude-opus-4.1:batch",
requests: [{"custom_id": "q1", "body": {"messages": [{"role": "user", "content": "Hello!"}], "max_tokens": 200}}],
}),
})).json();
while (!["completed", "failed", "expired", "cancelled"].includes(batch.status)) {
await new Promise((r) => setTimeout(r, 60000));
batch = await (await fetch(BASE + "/batches/" + batch.id, { headers: H })).json();
}
for (const item of batch.results ?? []) console.log(item.custom_id, item.body ?? item.error);Buy the Claude Opus 4.1 (batch) API, paid in rial
- Buy credit with an Iranian bank card; no foreign card or account needed.
- One Hormouz key reaches Claude Opus 4.1 (batch) and nearly 700 other models, and you pay only for what you use.
- No VPN and no risk of a banned account; just change the base URL to api.hormouz.net/v1.
Use via Hormouz
Connect to this model and nearly 700 others with one API key, then see usage down to each request.
Request company accessUpdated 2026-11-27