Models / OpenAI / GPT-4.1 mini

OpenAI · gpt-mini

GPT-4.1 mini

Affordable GPT-4.1 lane for fast coding help and structured extraction

$0.40 in · $1.60 out

per 1M tokens · first-party price. Reference price from OpenAI, the lab's own listing.

Provider input prices run from $0.32 to $0.70 per 1M tokens. Output prices run from $1.28 to $2.80.

Context
1,047,576
Max output
32,768
Cache read
$0.10
Cache write
—
Reasoning
No
Tool calls
Yes
Structured output
Yes
Vision
Yes
Open weights
No
License
—
Released
Apr 14, 2025
Updated in source
Apr 14, 2025
Knowledge
2024-04
Providers
25

What this model costs per month

Prices are USD per 1M tokens. A month is 30 days. Cache hits use the cache-read rate when the model has one; otherwise the cache field is ignored.

monthly = requests/day × 30 × (input tokens × (1 − cache hit) × input price + input tokens × cache hit × cache-read price + output tokens × output price) ÷ 1,000,000

Providers

Base rates from Models.dev. Where a provider lists the model more than once, the row is the listing whose id is closest to the canonical model id.
ProviderInputOutputCache readCache writeStatus
Ofox$0.32$1.28$0.08——
Abacus$0.40$1.60$0.10——
Azure$0.40$1.60$0.10—deprecated
Azure Cognitive Services$0.40$1.60$0.10—deprecated
Cloudflare AI Gateway$0.40$1.60$0.10——
DevPass$0.40$1.60$0.10——
Eden AI$0.40$1.60$0.10——
Impossibl$0.40$1.60$0.10——
Kilo Gateway$0.40$1.60$0.10——
LLM Gateway$0.40$1.60$0.10——
Merge Gateway$0.40$1.60$0.10——
NanoGPT$0.40$1.60$0.10——
NEAR AI Cloud$0.40$1.60$0.10——
OpenAIreference$0.40$1.60$0.10——
OpenRouter$0.40$1.60$0.10——
OrcaRouter$0.40$1.60$0.10——
Pioneer$0.40$1.60$0.20$0.40—
Prime Inference$0.40$1.60———
SAP AI Core$0.40$1.60$0.10——
Cortecs$0.43$1.70$0.13——
Requesty$0.44$1.76$0.11——
AI/ML API$0.52$2.08$0.13——
Vercel AI Gateway$0.70$2.80$0.18——
AnyAPI—————
Model Oracle AI—————

Jobs this model qualifies for