ModelRot

gpt-4.5-preview vs gpt-4.1

OpenAI names gpt-4.1 as the replacement for gpt-4.5-preview. gpt-4.5-preview shut down on Jul 14, 2025.

Retired→Active
Per 1M tokensgpt-4.5-previewgpt-4.1
Input—$2
Output—$8
Blended changeUnknown: a list price is missing
ProviderOpenAIOpenAI
Statusretiredactive
ShutdownJul 14, 2025—
Context window——

Migrating

  • Replace the ID gpt-4.5-preview with gpt-4.1 everywhere it appears, including .env files, config and infrastructure templates.
  • Run your evaluation set or golden prompts on both before switching: output style, refusals and tool calling can differ between generations.
  • Check max output tokens and parameters: newer models sometimes rename or drop sampling options.
  • Watch the repo on ModelRot so the next retirement doesn't surprise you. gpt-4.1 lifecycle.