OpenAI: GPT-4o-mini (batch): AI model
- Context window:
- 128,000 tokens
- Input:
- $0.07/1M tokens
- Output:
- $0.3/1M tokens
- Type:
- text, image
- Vision
- Tools
- Streaming
- Long context
OpenAI: GPT-4o-mini (batch) is a AI model from OpenAI, available through Hormouz via an OpenAI-compatible API with stable access from inside Iran.
GPT-4o mini is OpenAI's newest model after GPT-4 Omni, supporting both text and image inputs with text outputs. As their most advanced small model, it is many multiples more affordable...
Quickstart
curl https://api.hormouz.net/v1/chat/completions \
-H "Authorization: Bearer ng-YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "openai/gpt-4o-mini:batch",
"messages": [{"role": "user", "content": "Hello!"}]
}'Specs
| Vendor | OpenAI |
|---|---|
| Type | Text, Image |
| Context window | 128,000 tokens |
| Pricing | $0.07/M in · $0.30/M out |
| API | Chat Completions |
| Capabilities | Streaming · Vision · Tools |
Benchmarks
11.4
Coding Index
Better than 7% of models we compared
Reasoning
GPQA Diamond
Graduate-level scientific reasoning
42.6%
HLE
Humanity's Last Exam
4.2%
IFBench
Instruction-following
31%
Agentic
GDPval
Economically valuable tasks
0%
Source: Artificial Analysis
Code example
cURL
curl https://api.hormouz.net/v1/chat/completions \
-H "Authorization: Bearer ng-YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "openai/gpt-4o-mini:batch",
"messages": [{"role": "user", "content": "Hello!"}]
}'Python
from openai import OpenAI
client = OpenAI(api_key="ng-YOUR_API_KEY", base_url="https://api.hormouz.net/v1")
response = client.chat.completions.create(
model="openai/gpt-4o-mini:batch",
messages=[{"role": "user", "content": "Hello!"}],
)
print(response.choices[0].message.content)JavaScript
import OpenAI from "openai";
const client = new OpenAI({ apiKey: "ng-YOUR_API_KEY", baseURL: "https://api.hormouz.net/v1" });
const response = await client.chat.completions.create({
model: "openai/gpt-4o-mini:batch",
messages: [{ role: "user", content: "Hello!" }],
});
console.log(response.choices[0].message.content);Buy the OpenAI: GPT-4o-mini (batch) API, paid in rial
- Buy credit with an Iranian bank card; no foreign card or account needed.
- One Hormouz key reaches OpenAI: GPT-4o-mini (batch) and 600+ 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 600+ others with one API key, then see usage down to each request.
Request company accessUpdated 2026-10-13