Hormouz AIHormouz AIHormouzSign in

GPT-5.4 Nano (batch): AI model

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

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

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

GPT-5.4 nano is the most lightweight and cost-efficient variant of the GPT-5.4 family, optimized for speed-critical and high-volume tasks. It supports text and image inputs and is designed for low-latency...

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.4-nano: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.10/M in · $0.62/M out
APIbatches
CapabilitiesVision · Tools

Benchmarks

20.7
Intelligence Index
Better than 35% of models we compared
56.1
Coding Index
Better than 63% of models we compared
16
Agentic Index
Better than 45% of models we compared

Reasoning

GPQA Diamond
Graduate-level scientific reasoning
81.7%
HLE
Humanity's Last Exam
28.3%
IFBench
Instruction-following
75.9%
AA-LCR
Long-context reasoning
76.7%
CritPt
Research-level physics reasoning
9.3%
AA Omniscience
Broad factual knowledge accuracy
25.7%
Non-Hallucination
Rate of avoiding fabricated answers
25.8%

Coding

SciCode
Python for scientific computing
47.2%
Terminal-Bench Hard
Agentic coding & terminal use
42.4%

Agentic

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

Source: Artificial Analysis

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.4-nano: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.4-nano: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.4-nano: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.4 Nano (batch) API, paid in rial

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