GPT-4.1 mini API pricing retiring 2027-01-14
✓ Matches the official page (checked 2026-11-24 01:00 UTC) · Official pricing ↗Synced 2026-11-24 01:00 UTC · Method
| Field | Per 1M tokens |
|---|---|
| Input | $0.40 |
| Output | $1.60 |
| Cached input | $0.10 |
| Batch input | $0.20 |
| Batch output | $0.80 |
OpenAI has announced the retirement of GPT-4.1 mini (2027-01-14). Prices above apply until then; plan a migration. OpenAI names GPT-6 Luna as the replacement. Compared with GPT-4.1 mini, GPT-6 Luna costs 75% less on input and 69% less on output. Provider notice Azure OpenAI lists a different retirement date: 2027-04-14 (model version 2025-04-14; checked 2026-11-18; Azure OpenAI schedule).
OpenAI · Context window 1,047,576 · Max input 1,014,808 · Max output 32,768
vision · tool calling · structured output
Per 1,000 tokens (1K): $0.0004 input, $0.0016 output.
Get notified in any feed reader. Your watch list is saved only in this browser (no account, no email). Clearing site data or switching device resets it.
Billing rules for caching, Batch and long prompts: OpenAI API cost guide.
Price in context
GPT-4.1 mini ranks 5 of 26 current OpenAI models by output price, cheapest first (GPT-6 Luna is the cheapest at $0.50, GPT-5.4 Pro the most expensive at $180.00). Output tokens cost 4× the input price; the median across all 126 current models is 5×. Against the whole table (median $1.25 input / $4.40 output per 1M), GPT-4.1 mini is cheaper on both input and output.
Cached input costs 25% of the normal input price ($0.10 vs $0.40 per 1M). In the support-chatbot scenario with 60% cache hits the month comes to $136 instead of $168 without caching (19% less). There is no separate cache-write charge: repeated prefixes are discounted automatically. The Batch API bills $0.20 input / $0.80 output per 1M (50% below the live rates) for jobs that are not time-critical; the batch-processing scenario costs $630 per month.
The context window is 1,047,576 tokens, roughly 2,095 pages of English text; 34% of current models accept more. The closest model from another provider by price is Qwen3.7 Plus ($0.40 / $1.60); the cheapest non-reasoning model for the chatbot scenario is Ministral 3b (latest) at $14.28 per month against $136 for GPT-4.1 mini.
What it costs per month
| Scenario (per month) | GPT-4.1 mini |
|---|---|
| Customer support chatbot 5,000 req/day · 1,200 in · 400 out · cache 60% | $136 |
| RAG over documents 2,000 req/day · 8,000 in · 600 out · cache 30% | $206 |
| Coding agent 1,500 req/day · 25,000 in · 2,000 out · cache 80% | $324 |
| Deep reasoning 800 req/day · 3,000 in · 6,000 out · cache 20% | $255 |
| Batch processing 50,000 req/day · 1,500 in · 150 out · batch | $630 |
Adjust the numbers in the calculator.
Cheaper alternatives
Lowest monthly cost for the chatbot scenario among non-reasoning models:
- Ministral 3b (latest) — $14.28/mo
- Ministral 8b (latest) — $21.42/mo
- Hy4 Flash — $22.22/mo
- Ministral 14b (latest) — $28.56/mo
- Mercury 2.5 — $61.56/mo
Comparisons
Other OpenAI models
GPT-6.2 Astra, GPT-6.2 Astra Law, GPT-6.2 Sol, GPT-6.1 Sol, GPT-6 Sol, GPT-6 Astra Law, GPT-6 Astra, GPT-5.6 Sol, GPT-5.6 Terra, GPT-5.5, GPT-5.5 Pro, GPT-5.4, GPT-5.4 Pro, GPT-5.3 Codex retiring 2027-04-01, GPT-5.2, GPT-5.2 Pro, GPT-5.1 retiring 2027-04-01, GPT-4.1 retiring 2027-01-14, GPT-4o retiring 2027-01-14, GPT-6.1 Terra, GPT-6 Luna, GPT-5.6 Luna, GPT-5.4 mini, GPT-5.4 nano retiring 2027-04-01, GPT-4o mini retiring 2027-01-14 · All OpenAI API prices →
Models at a similar price
Qwen3.7 Plus ($0.40/$1.60), Qwen Coder ($0.30/$1.50), GLM-5.3 FlashX ($0.37/$1.25), GLM-4.5v ($0.60/$1.80), Qwen Plus ($0.40/$1.20), DeepSeek Flash (V4.1) ($0.30/$1.20)
Price history
No price changes recorded since tracking began on 2026-10-08. See all price changes →
Source and checks
| Data source | LiteLLM price list (MIT) |
|---|---|
| Official pricing | developers.openai.com ↗ |
| Last synced | 2026-11-24 01:00 UTC |
| Last price change | No price changes recorded since tracking began on 2026-10-08. |
| Cross-check | Matches models.dev |
| Official check | Verified against the official page on 2026-11-24 (automatic check) |
| Price region | Not confirmed by an official check |
| Field | This site | Official | Status |
|---|---|---|---|
| Input | $0.40 | $0.40 | ✓ official |
| Output | $1.60 | $1.60 | ✓ official |
| Cached input | $0.10 | $0.10 | ✓ official |
| Batch input | $0.20 | $0.20 | ✓ official |
| Batch output | $0.80 | $0.80 | ✓ official |
| Context window | 1,047,576 | — | – unchecked |
| Max input | 1,014,808 | — | – unchecked LiteLLM lists 1,047,576 |
| Max output | 32,768 | — | – unchecked |
✓ official = the official page's value is in use (other sources' values noted) · ✓ verified = other source equals the official page · ≠ mismatch = differs and is held for confirmation; both shown · … pending = the automatic check could not read the page · – unchecked = not listed on the official page or not checked yet
Cite: GPT-4.1 mini API pricing, https://apicostcheck.com/models/gpt-4.1-mini/, retrieved 2026-11-24. Reuse under CC BY 4.0; a plain or nofollow link is fine.