Hormouz AIHormouz AIHormouzSign in

Claude Sonnet 4.5 (batch): AI model

Context window:
1,000,000 tokens
Input:
$1.5/1M tokens
Output:
$7.5/1M tokens
Type:
text, image
  • Vision
  • Tools
  • Long context

Thinking levels:

Claude Sonnet 4.5 (batch) is a AI model from Anthropic, available through Hormouz via an OpenAI-compatible API with stable access from inside Iran.

Claude Sonnet 4.5 is Anthropic’s most advanced Sonnet model to date, optimized for real-world agents and coding workflows. It delivers state-of-the-art performance on coding benchmarks such as SWE-bench Verified, with...

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-sonnet-4.5: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

VendorAnthropic
TypeText, Image
Context window1,000,000 tokens
Pricing$1.50/M in · $7.50/M out
APIbatches
CapabilitiesVision · Tools

Benchmarks

Reasoning

GPQA Diamond
Graduate-level scientific reasoning
72.7%
HLE
Humanity's Last Exam
7.2%
IFBench
Instruction-following
42.7%
AA-LCR
Long-context reasoning
54%
CritPt
Research-level physics reasoning
0%
AA Omniscience
Broad factual knowledge accuracy
28.4%
Non-Hallucination
Rate of avoiding fabricated answers
47.3%

Coding

Terminal-Bench Hard
Agentic coding & terminal use
28.8%

Agentic

τ²-Bench
Tool-use agents in dual-control scenarios
70.5%

Source: Artificial Analysis

3D
Top 45%
1,168Elo
Win rate: 51%Avg time: 66.4s
ASCII Art
Top 39%
1,186Elo
Win rate: 51.7%Avg time: 56.9s
Code
Top 41%
1,189Elo
Win rate: 51.5%Avg time: 98.4s
Data Viz
Top 54%
1,176Elo
Win rate: 47.4%Avg time: 73.7s
Game Dev
Top 47%
1,179Elo
Win rate: 51.1%Avg time: 96.6s
SVG
Top 66%
1,107Elo
Win rate: 49%Avg time: 27.6s
UI Component
Top 54%
1,168Elo
Win rate: 47.3%Avg time: 84.4s
Website
Top 44%
1,196Elo
Win rate: 51.8%Avg time: 108s
Full-Stack
Top 82%
1,049Elo
Win rate: 43.7%
Mobile Apps
Top 70%
1,134Elo
Win rate: 52.9%
Web Apps
Top 88%
1,053Elo
Win rate: 43.2%

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-sonnet-4.5: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-sonnet-4.5: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-sonnet-4.5: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 Sonnet 4.5 (batch) API, paid in rial

  • Buy credit with an Iranian bank card; no foreign card or account needed.
  • One Hormouz key reaches Claude Sonnet 4.5 (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.
Create an accountBuy Claude API access, paid in rial

Use via Hormouz

Connect to this model and nearly 700 others with one API key, then see usage down to each request.

Request company access

Updated 2026-11-27