Deprecations / Migrate

Migrate off GPT-5-Codex

Retired

GPT-5-Codex has been retired and shut down on 23 Jul 2026. OpenAI's official replacement is GPT-5.6 Sol. The cheapest comparable model we track is Amazon Nova Lite (Amazon) at $0.105 per 1M tokens blended.

Last verified: 26 Sep 2026 · sourced from official provider documentation

What changes

GPT-5-Codex → GPT-5.6 Sol

Moving to GPT-5.6 Sol means a larger context window (400K → 1.1M).

SpecGPT-5-CodexGPT-5.6 Sol
StatusRetiredGA
Blended price /1M—$8
Input / output /1M—$4 / $20
Context window400K1.1M
Max output128.000128.000
Modalitytext, imagetext, image
Knowledge cutoff—16 Feb 2026

API string was gpt-5-codex → switch to gpt-5.6-sol. See GPT-5.6 Sol's full spec sheet →

Cheapest alternatives

Budget-friendly replacements for GPT-5-Codex

Generally-available models that match GPT-5-Codex's capabilities (and at least half its 400K context), ranked by blended price. Every number is computed from official catalog prices.

ModelBlended /1MInput / outputContext
Amazon Nova Lite
Amazon
$0.105$0.06 / $0.24300K
Llama 4 Scout (17B-16E Instruct)
Meta
$0.15$0.1 / $0.310M
Ministral 3 8B
Mistral
$0.15$0.15 / $0.15256K
FAQ

Migrating off GPT-5-Codex

What replaces GPT-5-Codex?

OpenAI's recommended migration for GPT-5-Codex is GPT-5.6 Sol. The cheapest comparable model in our catalog is Amazon Nova Lite (Amazon) at $0.105/1M blended.

Is GPT-5-Codex still available?

No — GPT-5-Codex has been retired (shut down 23 Jul 2026) and is no longer available via OpenAI's API.

What is the cheapest alternative to GPT-5-Codex?

Amazon Nova Lite (Amazon) is the cheapest generally-available alternative we track that matches GPT-5-Codex's capabilities, at $0.06 per 1M input and $0.24 per 1M output tokens ($0.105/1M blended).

Browse the full deprecation watch → or see GPT-5-Codex's full spec sheet →