Models / OpenAI

GPT-5-Codex

Deprecated

Earlier Codex model. Deprecation announced 2026-04-22; shuts down 2026-07-23, replaced by gpt-5.5. Also covers gpt-5.1-codex* per the deprecation table. Context/max-output assumed gpt-5-class; price not captured.

Lifecycle warning

This model is deprecated. Scheduled shutdown: 23 Jul 2026. Recommended migration: gpt-5.5.

Provider
OpenAI
Status
Deprecated
Input price
Output price
Cached input
Blended price
Context window
400,000 tokens (400K)
Max output
128,000 tokens
Modality
text, image
Knowledge cutoff
Released
API string
gpt-5-codex

Source: OpenAI official documentation ↗