Hormouz AIHormouzSign in

OpenAI: GPT-4.1 Mini: AI model

GPT-4.1 Mini is an OpenAI model. A mid-sized model with a ~1M-token context at much lower latency and cost than the flagship, with up to 1M-token context. Reachable from inside Iran through Hormouz.

Context window:
1,047,576 tokens
Input:
$0.4/1M tokens
Output:
$1.6/1M tokens
Type:
text, image
  • Vision
  • Tools
  • Streaming
  • Long context
Good for:Popular for Translation · #13Ranks are based on global usage data

GPT-4.1 Mini is a mid-sized model with a ~1M-token context at much lower latency and cost than the flagship. GPT-4.1 Mini keeps the large context window while trading some peak quality for substantially lower latency and price. It supports a context window of up to 1M tokens, with training data through Jun 2024.

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

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

GPT-4.1 Mini is a mid-sized model delivering performance competitive with GPT-4o at substantially lower latency and cost. It retains a 1 million token context window and scores 45.1% on hard...

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-4.1-mini",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Specs

VendorOpenAI
TypeText, Image
Context window1,047,576 tokens
Pricing$0.40/M in · $1.60/M out
APIChat Completions
CapabilitiesStreaming · Vision · Tools

Benchmarks

20.2
Coding Index
Better than 19% of models we compared

Reasoning

GPQA Diamond
Graduate-level scientific reasoning
66.4%
HLE
Humanity's Last Exam
5%
IFBench
Instruction-following
38.3%
AA-LCR
Long-context reasoning
44%
CritPt
Research-level physics reasoning
0%
AA Omniscience
Broad factual knowledge accuracy
20.3%
Non-Hallucination
Rate of avoiding fabricated answers
7.3%

Coding

Terminal-Bench Hard
Agentic coding & terminal use
7.6%

Agentic

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

Source: Artificial Analysis

3D
Top 100%
847Elo
Win rate: 30.5%Avg time: 61.7s
Code
Top 91%
999Elo
Win rate: 47.5%Avg time: 71.4s
Data Viz
Top 86%
1,041Elo
Win rate: 49.2%Avg time: 73.6s
Game Dev
Top 77%
1,083Elo
Win rate: 58.5%Avg time: 86.6s
UI Component
Top 90%
968Elo
Win rate: 45.4%Avg time: 64.6s
Website
Top 89%
1,004Elo
Win rate: 47.8%Avg time: 70.4s

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/gpt-4.1-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/gpt-4.1-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/gpt-4.1-mini",
  messages: [{ role: "user", content: "Hello!" }],
});
console.log(response.choices[0].message.content);

Buy the OpenAI: GPT-4.1 Mini API, paid in rial

  • Buy credit with an Iranian bank card; no foreign card or account needed.
  • One Hormouz key reaches OpenAI: GPT-4.1 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 GPT-4.1 Mini cost?
Billing is usage-based: $0.4 per million input tokens and $1.6 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 GPT-4.1 Mini from inside Iran?
Create an account on Hormouz and generate an API key. Hormouz provides a stable path to GPT-4.1 Mini from inside Iran, with no foreign credit card or circumvention tooling required.
Is GPT-4.1 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 GPT-4.1 Mini have?
GPT-4.1 Mini supports a context window of up to 1M tokens. It also supports tool calling and image (vision) input. That makes it a good fit for long documents, codebases and multi-turn conversations.
What is GPT-4.1 Mini good for?
GPT-4.1 Mini suits high-volume, latency-sensitive tasks: classification, extraction, routing, summarization and simple chat where cost per request matters.
What is GPT-4.1 Mini's knowledge cutoff?
GPT-4.1 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