Hormouz AIHormouz AIHormouzSign in

o4 Mini (batch): AI model

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

Thinking levels: Always thinks

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

OpenAI o4-mini is a compact reasoning model in the o-series, optimized for fast, cost-efficient performance while retaining strong multimodal and agentic capabilities. It supports tool use and demonstrates competitive 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/o4-mini: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 window200,000 tokens
Pricing$0.55/M in · $2.20/M out
APIbatches
CapabilitiesVision · Tools

Benchmarks

Reasoning

GPQA Diamond
Graduate-level scientific reasoning
78.4%
HLE
Humanity's Last Exam
16.5%
IFBench
Instruction-following
68.7%
AA-LCR
Long-context reasoning
61%
CritPt
Research-level physics reasoning
0.6%
AA Omniscience
Broad factual knowledge accuracy
24.8%
Non-Hallucination
Rate of avoiding fabricated answers
19.5%

Coding

Terminal-Bench Hard
Agentic coding & terminal use
15.2%

Agentic

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

Source: Artificial Analysis

3D
Top 99%
864Elo
Win rate: 34%Avg time: 30.6s
Code
Top 92%
982Elo
Win rate: 46.4%Avg time: 38.9s
Data Viz
Top 89%
999Elo
Win rate: 50%Avg time: 29.2s
Game Dev
Top 86%
1,016Elo
Win rate: 50%Avg time: 35.8s
UI Component
Top 89%
990Elo
Win rate: 46.9%Avg time: 46.0s
Website
Top 90%
992Elo
Win rate: 47.1%Avg time: 40.6s

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/o4-mini: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/o4-mini: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/o4-mini: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 o4 Mini (batch) API, paid in rial

  • Buy credit with an Iranian bank card; no foreign card or account needed.
  • One Hormouz key reaches o4 Mini (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