OpenAI logo

OpenAI: GPT-5-Codex

Coding-optimized GPT model for repository edits, reviews, and agentic software work

Source-linked gpt-codex Closed weights Released 2025-09-15
API record Report
InputT
OutputT
Input price$1.1/M
Output price$9/M
Context400K
Max output128K
Providers13
Inference availability

Providers

Provider-specific identifiers, limits, and listed prices per million tokens. Every row links back to the provider's own documentation.

Report a price
Providers offering GPT-5-Codex
ProviderProvider model IDContextMax outputInputOutputCache readCapabilitiesDocs
Poe openai/gpt-5-codex 400K 128K $1.1 $9 — ReasoningTools Docs ↗
Requesty openai/gpt-5-codex 400K 128K $1.25 $10 $0.125 ReasoningToolsJSON Docs ↗
Vercel AI Gateway openai/gpt-5-codex 400K 128K $1.25 $10 $0.13 ReasoningToolsJSON Docs ↗
ZenMux openai/gpt-5-codex 400K 128K $1.25 $10 $0.125 ReasoningTools Docs ↗
OpenAI gpt-5-codex 400K 128K $1.25 $10 $0.125 ReasoningToolsJSON Docs ↗
OrcaRouter openai/gpt-5-codex 400K 128K $1.25 $10 $0.125 ReasoningToolsJSON Docs ↗
Abacus gpt-5-codex 400K 128K $1.25 $10 $0.125 ReasoningToolsJSON Docs ↗
Azure gpt-5-codex 400K 128K $1.25 $10 $0.125 ReasoningTools Docs ↗
Kilo Gateway openai/gpt-5-codex 400K 128K $1.25 $10 $0.125 ReasoningTools Docs ↗
OpenRouter openai/gpt-5-codex 400K 128K $1.25 $10 $0.125 ReasoningToolsJSON Docs ↗
Azure Cognitive Services gpt-5-codex 400K 128K $1.25 $10 $0.125 ReasoningTools Docs ↗
NanoGPT openai/gpt-5-codex 256K 32.768K $1.25 $10 $0.125 ReasoningToolsJSON Docs ↗
Impossibl openai/gpt-5-codex 400K 128K $1.25 $10 $0.125 ReasoningToolsJSON Docs ↗

Capability badges appear only where the provider catalog explicitly lists support. A blank cell means the source is silent, not that the feature is absent.

Listed rates

Price across providers

Input price per million tokens as published by each provider. Bars are drawn from listed rates only — no traffic weighting, since the catalog observes no requests.

Lowest input $1.1/M

Across 13 priced providers

Median input $1.25/M

Midpoint of listed rates

Highest input $1.25/M

1.1× the lowest listed rate

Output range $9 – $10

Per million output tokens

Poe $1.1/MLowest
Requesty $1.25/M
Vercel AI Gateway $1.25/M
ZenMux $1.25/M
OpenAI $1.25/M
OrcaRouter $1.25/M
Abacus $1.25/M
Azure $1.25/M
Kilo Gateway $1.25/M
OpenRouter $1.25/M
Azure Cognitive Services $1.25/M
NanoGPT $1.25/M
Impossibl $1.25/M
Cost calculator

Estimate a workload

$0.00
Excludes taxes, non-token charges, and tiered discounts.

Context limits also differ by provider, from 256K to 400K tokens. Compare the provider table above before choosing on price alone.

Specification

Capabilities

Recorded from the source catalog and provider listings.

✓ Reasoning Yes
✓ Tool calling Yes
? Structured output Unknown
✓ Attachments Yes
✓ Vision input Yes
× Open weights No
Creator
OpenAI
Model family
gpt-codex
Knowledge cutoff
2024-09-30
License
Not documented
Release date
2025-09-15
Model ID
openai/gpt-5-codex
Published evaluations

Benchmarks

Every result stays attached to its source, version, metric and harness. Scores from different versions are never merged, and the profile below plots each benchmark against its own population rather than on a shared scale.

Benchmark registry
Benchmark profile
Design Arena: w…Design Arena: webapps Design Arena: m…Design Arena: mobileapps SciCodeSciCode AA Coding IndexArtificial Analysis Coding Index Terminal-Bench…Terminal-Bench Hard This model — Design Arena: webapps: 1138 elo (30.6th percentile) This model — Design Arena: mobileapps: 1126 elo (22.7th percentile) This model — SciCode: 40.9 percent correct (94.4th percentile) This model — Artificial Analysis Coding Index: 38.9 index (98.1th percentile) This model — Terminal-Bench Hard: 37.9 success rate (97.7th percentile)

Each axis is this model's percentile among the 5 benchmarks it has published results for, measured against every other model with a score on that same benchmark. Percentiles are used because benchmarks do not share a scale — a 60 on one is not a 60 on another. Hover any point for the raw score.

Design Arena: webapps elo Source ↗
Design Arena: webapps #56 of 80
Design Arena: mobileapps elo Source ↗
Design Arena: mobileapps #60 of 77
SciCode percent correct · 2026-06-01 Source ↗
SciCode #2 of 27
Artificial Analysis Coding Index index · 2026-06-01 Source ↗
Artificial Analysis Coding Index #1 of 26
Terminal-Bench Hard success rate · 2026-06-01 Source ↗
Terminal-Bench Hard #1 of 22

Each strip shows every published score for that benchmark, with this model marked. The lighter shape behind the ticks is the density of results, and the dashed line is the median.

Cost against capability

Price and performance

Listed input price plotted against Design Arena: webapps, the benchmark with the widest published coverage that this model appears in.

0 708 1415 $0.1 $1 $10 Claude Fable 5 — $10/M, score 1261.0 Anthropic: Claude Fable 5.1 — $10/M, score 1318.0 Anthropic: Claude Fable 5.1 (batch) — $5/M, score 1318.0 Anthropic: Claude Fable 5 (batch) — $5/M, score 1261.0 Anthropic: Claude Opus 4.5 — $5/M, score 1159.0 Anthropic: Claude Opus 4.5 (batch) — $2.5/M, score 1159.0 Anthropic: Claude Opus 4.6 — $5/M, score 1206.0 Anthropic: Claude Opus 4.6 (batch) — $2.5/M, score 1206.0 Anthropic: Claude Opus 4.7 — $5/M, score 1279.0 Anthropic: Claude Opus 4.7 (batch) — $2.5/M, score 1279.0 Anthropic: Claude Opus 4.8 — $5/M, score 1233.0 Anthropic: Claude Opus 4.8 (batch) — $2.5/M, score 1233.0 Claude Opus 5 — $5/M, score 1266.0 Anthropic: Claude Opus 5.5 — $4/M, score 1318.0 Anthropic: Claude Opus 5.5 (batch) — $2/M, score 1318.0 Anthropic: Claude Opus 5 (batch) — $2.5/M, score 1266.0 Anthropic: Claude Sonnet 4.5 — $3/M, score 1059.0 Anthropic: Claude Sonnet 4.5 (batch) — $1.5/M, score 1059.0 Anthropic: Claude Sonnet 4.6 — $3/M, score 1190.0 Anthropic: Claude Sonnet 4.6 (batch) — $1.5/M, score 1190.0 Claude Sonnet 5 — $2/M, score 1245.0 Anthropic: Claude Sonnet 5.5 — $2/M, score 1306.0 Anthropic: Claude Sonnet 5.5 (batch) — $1/M, score 1306.0 Anthropic: Claude Sonnet 5 (batch) — $1/M, score 1245.0 DeepSeek V4 Pro — $0.66/M, score 1000.0 Gemini 3 Flash Preview — $0.5/M, score 1110.0 Google: Gemini 3 Flash Preview (batch) — $0.25/M, score 1110.0 Gemini 3.1 Pro Preview — $2/M, score 1125.0 Google: Gemini 3.1 Pro Preview (batch) — $1/M, score 1125.0 Gemini 3.5 Flash — $1.5/M, score 1202.0 Google: Gemini 3.5 Flash (batch) — $0.75/M, score 1202.0 Gemini 3.6 Flash — $0.75/M, score 1197.0 Google: Gemini 3.6 Flash (batch) — $0.375/M, score 1197.0 Gemini 3.7 Flash — $0.75/M, score 1223.0 Google: Gemini 3.7 Flash (batch) — $0.375/M, score 1223.0 Gemini 3.8 Flash — $0.75/M, score 1238.0 Google: Gemini 3.8 Flash (batch) — $0.375/M, score 1238.0 Muse Spark 1.1 — $1.25/M, score 1207.0 Muse Spark 1.2 — $1.25/M, score 1221.0 Muse Spark 1.3 — $1.25/M, score 1297.0 MiniMax: MiniMax M3 — $0.3/M, score 1200.0 MiniMax: MiniMax M3 (batch) — $0.3/M, score 1210.0 Kimi K2.5 — $0.375/M, score 1136.0 Kimi K2.6 — $0.95/M, score 1268.0 Kimi K2.7 Code — $0.95/M, score 1176.0 MoonshotAI: Kimi K2.7 Code (batch) — $0.475/M, score 1216.0 Kimi K3 — $3/M, score 1295.0 MoonshotAI: Kimi K3 (batch) — $2.28/M, score 1295.0 GPT-5-Codex — $1.1/M, score 1138.0 OpenAI: GPT-5 Codex (batch) — $0.625/M, score 1112.0 GPT-5.1 — $1.25/M, score 1032.0 GPT-5.1 Codex — $1.07/M, score 1018.0 OpenAI: GPT-5.1 (batch) — $0.625/M, score 1032.0 GPT-5.2 — $1.75/M, score 1086.0 GPT-5.2 Codex — $0.14/M, score 1051.0 OpenAI: GPT-5.2 (batch) — $0.875/M, score 1086.0 GPT-5.3 Codex — $1.75/M, score 1032.0 GPT-5.4 — $2.5/M, score 1059.0 OpenAI: GPT-5.4 (batch) — $1.25/M, score 1059.0 GPT-5.5 — $5/M, score 1117.0 OpenAI: GPT-5.5 (batch) — $2.5/M, score 1117.0 GPT-6.1 Sol — $2/M, score 1306.0 OpenAI: GPT-6.1 Sol (batch) — $1/M, score 1306.0 Qwen: Qwen3.7 Max — $1.475/M, score 1208.0 Qwen: Qwen3.8 Max — $2/M, score 1335.0 Inkling — $1/M, score 1196.0 Solar Pro 4 — $0.3/M, score 1105.0 SpaceXAI: Grok 4.20 — $1.25/M, score 1144.0 SpaceXAI: Grok 4.3 — $1.25/M, score 1126.0 SpaceXAI: Grok 4.3 (batch) — $1/M, score 1126.0 SpaceXAI: Grok 4.5 — $2/M, score 1218.0 SpaceXAI: Grok 4.6 — $2/M, score 1248.0 MiMo-V2.6-Pro — $0.435/M, score 1290.0 Z.ai: GLM 5.1 — $1.4/M, score 1175.0 Z.ai: GLM 5.2 — $0.034/M, score 1222.0 Z.ai: GLM 5.2 (batch) — $0.7/M, score 1227.0 Z.ai: GLM 5V Turbo — $1.2/M, score 1124.0 GPT-5-Codex Input price per million tokens (log scale) Elo

The stepped line is the efficient frontier: at each price, the best score available for that money or less. A model sitting on it is not being beaten by anything cheaper. Price is log-scaled because listed rates span four orders of magnitude. Only models with both a listed price and a score on this benchmark can appear.

Catalog activity

Change log

Field-level changes detected between successful source imports.

Full change log
Price Completion10.0 → 9.0
Price Prompt1.25 → 1.1
Price Completion9.0 → 10.0
Price Prompt1.1 → 1.25
Price Completion10.0 → 9.0
Price Prompt1.25 → 1.1
Price Completion9.0 → 10.0
Price Prompt1.1 → 1.25
Price Completion10.0 → 9.0
Price Prompt1.25 → 1.1
Provenance

Sources & verification

Every figure on this page traces back to one of these records.

Methodology
Public API

Use this record

Fetch the complete source-linked model record. No key, no account, no rate-limited tier.

API documentation
Endpoint
GET https://modelbench.lol/api/v1/models/openai/gpt-5-codex
curl
curl "https://modelbench.lol/api/v1/models/openai/gpt-5-codex"
Common questions

Frequently asked questions

Answered directly from the stored record — nothing here is generated beyond the catalog's own fields.

What is GPT-5-Codex?

Coding-optimized GPT model for repository edits, reviews, and agentic software work. It is published by OpenAI and catalogued here from Models.dev.

How much does GPT-5-Codex cost?

Listed input pricing starts at $1.1 per million tokens from Poe, rising to $1.25 across 13 listed providers.

What is the context length of GPT-5-Codex?

GPT-5-Codex accepts up to 400K tokens of context and returns up to 128K output tokens.

Does GPT-5-Codex support tool calling and structured output?

Provider catalogs list support for tool calling, reasoning, and image input.

Which providers serve GPT-5-Codex?

13 providers list this model: Poe, Requesty, Vercel AI Gateway, ZenMux, OpenAI, OrcaRouter and 7 more.

Are the weights for GPT-5-Codex open?

No. This model is served through hosted APIs only.

When was GPT-5-Codex released?

The catalog records a release date of 2025-09-15, last verified Oct 24, 2026.

More models from OpenAI

View all →