Hormouz AIHormouzSign in

OpenAI: o4 Mini: AI model

o4 Mini is an OpenAI model. A compact reasoning model tuned for fast, cost-efficient multimodal and agentic work, with up to 200K-token context. Reachable from inside Iran through Hormouz.

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

Thinking levels:

o4 Mini is a compact reasoning model tuned for fast, cost-efficient multimodal and agentic work. o4 Mini is a compact o-series reasoning model optimized for fast, cost-efficient performance while keeping strong multimodal and agentic capabilities. It supports tool use and chains tools, generates structured outputs and solves multi-step tasks with low latency. It supports a context window of up to 200K tokens, with training data through Jun 2024.

o4 Mini is served through Hormouz behind an OpenAI-compatible API. It supports tool calling, image (vision) input and step-by-step reasoning. Point your base URL at Hormouz and drop in a Hormouz key, and existing OpenAI SDK code runs unchanged.

Pricing is usage-based: $1.1 per million input tokens and $4.4 per million output tokens. Hormouz provides stable access to the model from inside Iran, with no foreign credit card or circumvention tooling required.

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

curl https://api.hormouz.net/v1/chat/completions \
  -H "Authorization: Bearer ng-YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "openai/o4-mini",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Specs

VendorOpenAI
TypeText, Image
Context window200,000 tokens
Pricing$1.10/M in · $4.40/M out
APIChat Completions
CapabilitiesStreaming · Vision · 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
curl https://api.hormouz.net/v1/chat/completions \
  -H "Authorization: Bearer ng-YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "openai/o4-mini",
    "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/o4-mini",
    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/o4-mini",
  messages: [{ role: "user", content: "Hello!" }],
});
console.log(response.choices[0].message.content);

Buy the OpenAI: o4 Mini API, paid in rial

  • Buy credit with an Iranian bank card; no foreign card or account needed.
  • One Hormouz key reaches OpenAI: o4 Mini 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.
Create an accountBuy ChatGPT (OpenAI) API access, paid in rial

Use via Hormouz

Connect to this model and 600+ others with one API key, then see usage down to each request.

Request company access

FAQ

How much does o4 Mini cost?
Billing is usage-based: $1.1 per million input tokens and $4.4 per million output tokens. There is no fixed monthly fee. You pay only for what you use, and current rates are shown in the Hormouz dashboard.
How do I access o4 Mini from inside Iran?
Create an account on Hormouz and generate an API key. Hormouz provides a stable path to o4 Mini from inside Iran, with no foreign credit card or circumvention tooling required.
Is o4 Mini compatible with OpenAI code?
Yes. Hormouz exposes an OpenAI-compatible API. Just change the base URL to Hormouz and swap in your Hormouz key. Your existing SDKs and chat-completions code run without a rewrite.
What context window and capabilities does o4 Mini have?
o4 Mini supports a context window of up to 200K tokens. It also supports tool calling, image (vision) input and step-by-step reasoning. That makes it a good fit for high-throughput reasoning, visual problem solving and code editing where latency or cost is critical.
What is o4 Mini good for?
o4 Mini works well for high-throughput reasoning, visual problem solving and code editing where latency or cost is critical.
What is o4 Mini's knowledge cutoff?
o4 Mini's training data runs through Jun 2024. For information newer than that, provide the relevant context in your prompt or connect a tool that fetches live data.

Updated 2026-10-13