gpt-5-codex

deprecatedproprietary

- Responses API only. - Input : Text/Image - Output : Text only - Structured outputs. - Text and image processing. - Functions, tools, and parallel tool calling. - Full summary of capabilities - Optimized for Codex CLI & Codex VS Code extension

Intelligence
Reasoning
Speed
Context
400K
Max output
128K
Input price
$1.25/1M tokens
Output price
$10/1M tokens

Capabilities

Reasoning & Interaction
Reasoning
Tool Calling
Output Control
Structured Output
JSON Mode
Infrastructure
Streaming

Details

Creator OpenAI
Familygpt-5
Licenseproprietary
Statusdeprecated
Typechat
Input modalitiestext, image
Output modalitiestext
Open weightNo
Parameters—
Architecture—
Context window400K tokens
Max input272K tokens
Max output128K tokens
Reasoning tokensYes
Knowledge cutoff
Release date—
Deprecation date
Sourceofficial

Tools

Function Callingfunction_calling
Call external functions and APIs

Pricing

Text tokensPer 1M tokens
InputCached inputOutput
Standard$1.25$0.125$10

Family Comparison: gpt-5

ModelContextMax out
gpt-5-chat128K16K
gpt-5-codex400K128K
gpt-5-mini400K128K
gpt-5-nano400K128K
gpt-5-pro400K128K
GPT-5 series400K128K

API

GET/v1/models/azure/gpt-5-codex

gpt-5-codex

deprecated

- Responses API only. - Input : Text/Image - Output : Text only - Structured outputs. - Text and image processing. - Functions, tools, and parallel tool calling. - Full summary of capabilities - Optimized for Codex CLI & Codex VS Code extension

Changes · 5 entries
gpt-5-codexupdateca7a400Nov 2, 2026, 03:02 AM
capabilitiestool callyesstructured outputyesjson modeyes
modalitiesinput["text"]→["text","image"]
description- Responses API only. - Input : Text/Image - Output : Tex...
knowledge_cutoff
context_window400000
max_output_tokens128000
tagline- Responses API only.
tools["function_calling"]
gpt-5-codexupdatebe3a0c6May 18, 2026, 04:21 AM
knowledge_cutoff-
gpt-5-codexupdate73d11c6May 18, 2026, 03:39 AM
description- Responses API only. - Input : Text/Image - Output : Tex...
knowledge_cutoff-
context_window400000
max_output_tokens128000
tagline- Responses API only.
tools["function_calling"]
gpt-5-codexupdate2b100acMar 23, 2026, 05:30 AM
model_typechat
gpt-5-codexcreate7f5c66fMar 21, 2026, 05:16 AM