Migrating from gpt-4.1 to gpt-4.5-preview
What changes when you move from gpt-4.1 to gpt-4.5-preview: context window 1,047,576 → 128,000 tokens.
- From
- gpt-4.1
- Status
- Active
- Shutdown
- none announced
- Time left
- —
- Status
- Retired
- Shutdown
- Jul 14, 2025
- Time left
- —
gpt-4.5-preview is itself retired. Its replacement is gpt-4.1.
Prices
USD per 1M tokens, standard tier| Type | gpt-4.1 | gpt-4.5-preview | Change |
|---|---|---|---|
| Input | $2.00first seen October 1, 2026 · source | Not published | — |
| Cached input | $0.50first seen October 1, 2026 · source | Not published | — |
| Output | $8.00first seen October 1, 2026 · source | Not published | — |
Other tiers, prompt-size bands and modalities are on each model's page.
Limits
Tokens| Limit | gpt-4.1 | gpt-4.5-preview | Change |
|---|---|---|---|
| Context window | 1,047,576 tokensin place when tracking began (October 6, 2026) · source | 128,000 tokensin place when tracking began (October 6, 2026) · source | −87.8% |
| Max output tokens | 32,768 tokensin place when tracking began (October 6, 2026) · source | 16,384 tokensin place when tracking began (October 6, 2026) · source | −50% |
Benchmarks
Same benchmark, source and setting on both sides| Benchmark | gpt-4.1 | gpt-4.5-preview | Change |
|---|---|---|---|
| Arena TextArena. Ranges don't overlap. | 1415 ±4 | 1445 ±6 | +30 |
| Arena Text: CodingArena. | 1456 ±7 | 1458 ±13 | +2 within range |
| Arena VisionArena. | 1214 ±7 | 1225 ±12 | +11 within range |
| GPQA DiamondEpoch AI. | 66.9% | 68.7% | +1.8 pts |
| MATH Level 5Epoch AI. | 83.0% | 78.6% | −4.4 pts |
| OTIS Mock AIME 2024-2025Epoch AI. | 38.3% | 37.8% | −0.5 pts |
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; Epoch AI, Capabilities & benchmarking (epoch.ai/benchmarks), CC BY.
Features and parameters
Compare models- Fine-tuning: supported on gpt-4.1, not supported on gpt-4.5-preview.gpt-4.1: in place when tracking began (October 6, 2026) · source · gpt-4.5-preview: in place when tracking began (October 6, 2026) · source
Same on both
- Structured outputs: supported on both.gpt-4.1: in place when tracking began (October 6, 2026) · source · gpt-4.5-preview: in place when tracking began (October 6, 2026) · source
- Function calling: supported on both.gpt-4.1: in place when tracking began (October 6, 2026) · source · gpt-4.5-preview: in place when tracking began (October 6, 2026) · source
- Prompt caching: supported on both.gpt-4.1: in place when tracking began (October 6, 2026) · source · gpt-4.5-preview: in place when tracking began (October 6, 2026) · source
- Batch API: supported on both.gpt-4.1: in place when tracking began (October 6, 2026) · source · gpt-4.5-preview: in place when tracking began (October 6, 2026) · source
- Image input: supported on both.gpt-4.1: in place when tracking began (October 6, 2026) · source · gpt-4.5-preview: in place when tracking began (October 6, 2026) · source
Not published for gpt-4.1: PDF input, Reasoning / thinking, temperature parameter, top_p parameter, logprobs.
Not published for gpt-4.5-preview: PDF input, Reasoning / thinking, Built-in web search, 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 | Microsoft Foundryversion 2025-04-14 | gpt-4.1 | 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.1togpt-4.5-preview. - Check
max_tokens: gpt-4.5-preview returns at most 16,384 tokens, gpt-4.1 up to 32,768 tokens. - Check prompt sizes: gpt-4.5-preview's context window is 128,000 tokens, gpt-4.1's 1,047,576 tokens.
Compared from AIWire's published data when this page loaded. Each fact links to the page it came from. Model pages: gpt-4.1, gpt-4.5-preview.