Hormouz AIHormouz AIHormouzSign in

GPT-5.1 (batch): AI model

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

Thinking levels: high · medium · low · none

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

GPT-5.1 is the latest frontier-grade model in the GPT-5 series, offering stronger general-purpose reasoning, improved instruction adherence, and a more natural conversational style compared to GPT-5. It uses adaptive reasoning...

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": "openai/gpt-5.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

VendorOpenAI
TypeText, Image
Context window400,000 tokens
Pricing$0.62/M in · $5.00/M out
APIbatches
CapabilitiesVision · Tools

Benchmarks

49.4
Coding Index
Better than 54% of models we compared

Reasoning

GPQA Diamond
Graduate-level scientific reasoning
87.3%
HLE
Humanity's Last Exam
28.5%
IFBench
Instruction-following
72.9%
AA-LCR
Long-context reasoning
80%
CritPt
Research-level physics reasoning
4.9%
AA Omniscience
Broad factual knowledge accuracy
37.7%
Non-Hallucination
Rate of avoiding fabricated answers
48.1%

Coding

Terminal-Bench Hard
Agentic coding & terminal use
45.5%

Agentic

τ²-Bench
Tool-use agents in dual-control scenarios
81.9%
GDPval
Economically valuable tasks
16.5%

Source: Artificial Analysis

3D
Top 77%
1,071Elo
Win rate: 43.7%Avg time: 150s
ASCII Art
Top 94%
1,072Elo
Win rate: 40.2%Avg time: 37.6s
Code
Top 49%
1,177Elo
Win rate: 53%Avg time: 166s
Data Viz
Top 42%
1,203Elo
Win rate: 54.6%Avg time: 164s
Game Dev
Top 41%
1,191Elo
Win rate: 55.9%Avg time: 164s
SVG
Top 45%
1,148Elo
Win rate: 57.4%Avg time: 75.1s
UI Component
Top 55%
1,164Elo
Win rate: 52%Avg time: 142s
Website
Top 46%
1,193Elo
Win rate: 54%Avg time: 170s

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": "openai/gpt-5.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": "openai/gpt-5.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: "openai/gpt-5.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 GPT-5.1 (batch) API, paid in rial

  • Buy credit with an Iranian bank card; no foreign card or account needed.
  • One Hormouz key reaches GPT-5.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.
Create an accountBuy ChatGPT (OpenAI) 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