Migrating from gpt-4.1-mini to gpt-5-mini
What changes when you move from gpt-4.1-mini to gpt-5-mini: input price −37.5%, output price +25%, context window 1,047,576 → 400,000 tokens.
- From
- gpt-4.1-mini
- Status
- Active
- Shutdown
- none announced
- Time left
- —
- Status
- Active
- Shutdown
- none announced
- Time left
- —
Prices
USD per 1M tokens, standard tier| Type | gpt-4.1-mini | gpt-5-mini | Change |
|---|---|---|---|
| Input | $0.40first seen October 1, 2026 · source | $0.25first seen October 1, 2026 · source | −37.5% |
| Cached input | $0.10first seen October 1, 2026 · source | $0.025first seen October 1, 2026 · source | −75% |
| Output | $1.60first seen October 1, 2026 · source | $2.00first seen October 1, 2026 · source | +25% |
At 1M input and 250K output tokens a month: $0.80 on gpt-4.1-mini, $0.75 on gpt-5-mini (−6.3%).
Other tiers, prompt-size bands and modalities are on each model's page.
Limits
Tokens| Limit | gpt-4.1-mini | gpt-5-mini | Change |
|---|---|---|---|
| Context window | 1,047,576 tokensin place when tracking began (October 6, 2026) · source | 400,000 tokensin place when tracking began (October 6, 2026) · source | −61.8% |
| Max output tokens | 32,768 tokensin place when tracking began (October 6, 2026) · source | 128,000 tokensin place when tracking began (October 6, 2026) · source | +290.6% |
Benchmarks
Same benchmark and source on both sides; settings named where they differ| Benchmark | gpt-4.1-mini | gpt-5-mini | Change |
|---|---|---|---|
| Arena TextArena, high effort (vs no setting). | 1383 ±4 | 1390 ±5 | +7 within range |
| Arena Text: CodingArena, high effort (vs no setting). | 1433 ±8 | 1432 ±8 | −1 within range |
| Arena VisionArena, high effort (vs no setting). Ranges don't overlap. | 1201 ±8 | 1183 ±8 | −18 |
A score from one source is never compared with another source's, and company-reported scores are compared only within the same company; settings named where they differ. Data: Arena (arena.ai), CC BY 4.0.
Features and parameters
Compare models- Fine-tuning: supported on gpt-4.1-mini, not supported on gpt-5-mini.gpt-4.1-mini: in place when tracking began (October 6, 2026) · source · gpt-5-mini: in place when tracking began (October 6, 2026) · source
Same on both
- Structured outputs: supported on both.gpt-4.1-mini: in place when tracking began (October 6, 2026) · source · gpt-5-mini: in place when tracking began (October 6, 2026) · source
- Function calling: supported on both.gpt-4.1-mini: in place when tracking began (October 6, 2026) · source · gpt-5-mini: in place when tracking began (October 6, 2026) · source
- Batch API: supported on both.gpt-4.1-mini: in place when tracking began (October 6, 2026) · source · gpt-5-mini: in place when tracking began (October 6, 2026) · source
- Image input: supported on both.gpt-4.1-mini: in place when tracking began (October 6, 2026) · source · gpt-5-mini: in place when tracking began (October 6, 2026) · source
- Built-in web search: supported on both.gpt-4.1-mini: in place when tracking began (October 6, 2026) · source · gpt-5-mini: in place when tracking began (October 6, 2026) · source
Not published for gpt-4.1-mini: Prompt caching, PDF input, Reasoning / thinking, temperature parameter, top_p parameter, logprobs.
Not published for gpt-5-mini: Prompt caching, PDF input, temperature parameter, top_p parameter, logprobs.
Aliases
All aliasesNo aliases point at either model.
On cloud platforms
All platform dates| Model | Platform | Platform ID | Shutdown | Time left |
|---|---|---|---|---|
| gpt-4.1-mini | Microsoft Foundryversion 2025-04-14 | gpt-4.1-mini | Apr 14, 2027Deprecated | 181 days |
Read daily from each platform's own pages. The status above uses each company's own date. Time left counts to 00:00 UTC on the shutdown date, which is the evening before in ET.
Checklist
- Change the model string from
gpt-4.1-minitogpt-5-mini. - Check prompt sizes: gpt-5-mini's context window is 400,000 tokens, gpt-4.1-mini's 1,047,576 tokens.
- Re-check costs: gpt-5-mini costs more than gpt-4.1-mini (output +25%).
Compared from AIWire's published data when this page loaded. Each fact links to the page it came from. Model pages: gpt-4.1-mini, gpt-5-mini.