Hormouz AIHormouz AIHormouzSign in

Claude Sonnet 5 (batch): AI model

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

Thinking levels: max · xhigh · high · medium · low · none

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

Sonnet 5 is Anthropic's most capable Sonnet-class model, with frontier performance across coding, agents, and professional work. It supports adaptive thinking with selectable reasoning effort levels (low, medium, high, max,...

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-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.00/M in · $5.00/M out
APIbatches
CapabilitiesVision · Tools

Benchmarks

28.1
Intelligence Index
Better than 54% of models we compared

Reasoning

HLE
Humanity's Last Exam
30%
AA-LCR
Long-context reasoning
73.7%
CritPt
Research-level physics reasoning
8.6%
AA Omniscience
Broad factual knowledge accuracy
37.1%
Non-Hallucination
Rate of avoiding fabricated answers
30.1%

Coding

SciCode
Python for scientific computing
51.6%

Agentic

GDPval
Economically valuable tasks
33%

Source: Artificial Analysis

Agentic Game Dev
Top 29%
1,226Elo
Win rate: 52.3%
Android Native
Top 24%
1,237Elo
Win rate: 54.4%
Full-Stack
Top 23%
1,248Elo
Win rate: 53.7%
Godot Game Dev
Top 36%
1,225Elo
Win rate: 54.4%
HTML Slides
Top 22%
1,217Elo
Win rate: 53.7%
Mobile Apps
Top 26%
1,216Elo
Win rate: 51.5%
Python Slides
Top 41%
1,216Elo
Win rate: 50.1%
Web Apps
Top 26%
1,237Elo
Win rate: 53.3%
3D
Top 17%
1,272Elo
Win rate: 54.4%Avg time: 218s
ASCII Art
Top 25%
1,221Elo
Win rate: 52.1%Avg time: 58.4s
Code
Top 14%
1,283Elo
Win rate: 53.2%Avg time: 199s
Data Viz
Top 23%
1,256Elo
Win rate: 52.7%Avg time: 139s
Game Dev
Top 12%
1,296Elo
Win rate: 53%Avg time: 325s
SVG
Top 29%
1,191Elo
Win rate: 50%Avg time: 57.5s
UI Component
Top 17%
1,286Elo
Win rate: 54.3%Avg time: 134s
Website
Top 14%
1,283Elo
Win rate: 52.9%Avg time: 175s

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-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-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-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 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 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