gpt-oss-120b (batch): AI model
- Context window:
- 131,072 tokens
- Input:
- $0.03/1M tokens
- Output:
- $0.14/1M tokens
- Type:
- text
- Tools
- Long context
Thinking levels: Always thinks · high · medium · low
gpt-oss-120b (batch) is a AI model from OpenAI, available through Hormouz via an OpenAI-compatible API with stable access from inside Iran.
gpt-oss-120b is an open-weight, 117B-parameter Mixture-of-Experts (MoE) language model from OpenAI designed for high-reasoning, agentic, and general-purpose production use cases. It activates 5.1B parameters per forward pass and is optimized...
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-oss-120b: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
| Vendor | OpenAI |
|---|---|
| Type | Text |
| Context window | 131,072 tokens |
| Pricing | $0.03/M in · $0.14/M out |
| API | batches |
| Capabilities | Tools |
Benchmarks
11.6
Intelligence Index
Better than 19% of models we compared
30.4
Coding Index
Better than 33% of models we compared
3.7
Agentic Index
Better than 29% of models we compared
Reasoning
GPQA Diamond
Graduate-level scientific reasoning
78.2%
HLE
Humanity's Last Exam
19.6%
IFBench
Instruction-following
69%
AA-LCR
Long-context reasoning
52%
CritPt
Research-level physics reasoning
1.1%
AA Omniscience
Broad factual knowledge accuracy
21.8%
Non-Hallucination
Rate of avoiding fabricated answers
9.2%
Coding
SciCode
Python for scientific computing
34%
Terminal-Bench Hard
Agentic coding & terminal use
23.5%
Agentic
τ²-Bench
Tool-use agents in dual-control scenarios
65.8%
GDPval
Economically valuable tasks
5.6%
Source: Artificial Analysis
Design Arena
How Design Arena works ↗3D
Top 96%912Elo
Win rate: 29.4%Avg time: 16.9s
Code
Top 95%969Elo
Win rate: 33.4%Avg time: 24.1s
Data Viz
Top 90%995Elo
Win rate: 43.6%Avg time: 12.6s
Game Dev
Top 88%1,005Elo
Win rate: 40.5%Avg time: 23.3s
UI Component
Top 94%934Elo
Win rate: 35.7%Avg time: 16.2s
Website
Top 92%974Elo
Win rate: 32.5%Avg time: 25.4s
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-oss-120b: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-oss-120b: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-oss-120b: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-oss-120b (batch) API, paid in rial
- Buy credit with an Iranian bank card; no foreign card or account needed.
- One Hormouz key reaches gpt-oss-120b (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.
Use via Hormouz
Connect to this model and nearly 700 others with one API key, then see usage down to each request.
Request company accessUpdated 2026-11-27