ModelRot

gpt-5.4-nano vs gpt-6-luna

OpenAI names gpt-6-luna as the replacement for gpt-5.4-nano. gpt-5.4-nano shuts down on Apr 1, 2027. At standard list prices, gpt-6-luna costs -57% per token (blended 3:1 input:output).

Deprecated→Active
Per 1M tokensgpt-5.4-nanogpt-6-luna
Input$0.2$0.1
Output$1.25$0.5
Blended change-57%
ProviderOpenAIOpenAI
Statusdeprecatedactive
ShutdownApr 1, 2027—
Context window——

Migrating

  • Replace the ID gpt-5.4-nano with gpt-6-luna 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-6-luna lifecycle.