OpenAI
·Released on Sep 23, 2025

GPT-5 Codex API Benchmarks, Pricing & Provider Data

Compare GPT-5 Codex with another model

Choose a model to open its comparison page.

Share on X
LLM

GPT-5 Codex benchmark, API pricing, and provider data cover 510 API providers, with prices starting at $0.0041/request. GPT-5 Codex free API options are available from 3 providers. The page also shows measured API speed and first-token latency.

OpenAI GPT-5 Codex is a code-specialized variant in the GPT-5 series, optimized for code generation, debugging, and software development tasks.

Speed
154char/s
2.76 s
Cost
#120of 181
$0.0041/ 1M · 8:1 in:out
$0.0007 in · $0.0035 out

Category Performance

Observed-capability estimates with uncertainty reported separately from independent benchmark families.

Coverage
3 / 8
Methodology
V3.0
Category PerformanceObserved-capability estimates with uncertainty reported separately from independent benchmark families.Agents-Coding55.9Reasoning56.7Knowledge-Math54.7Multilingual-Multimodal-Instruction following-
#1Reasoning56.7Estimated2/4 Measured dimensions
80% interval: 45.667.9
abstract logicPrior only
scientific causal55.6
gpqa · gpqa / hle · hle
multistep constraints57.8
mmlu_pro · mmlu_pro
evidence verificationPrior only
#2Coding55.9Provisional1/4 Measured dimensions
80% interval: 42.069.9
code generation55.9
livecodebench · livecodebench / scicode · scicode
repository engineeringPrior only
debugging testingPrior only
tooling qualityPrior only
#3Math54.7Provisional1/4 Measured dimensions
80% interval: 38.670.8
foundational math54.7
aa_math_index · artificial_analysis_math_index
competition mathPrior only
proof frontierPrior only
applied tool mathPrior only
No data:AgentsKnowledgeMultilingualMultimodalInstruction following

Specifications

Input and output token limits for this model, plus how it ranks on long-context understanding.

INPUT
400Ktokens
480 pages of text
OUTPUT
128Ktokens
8K128K1M4M
400K

Features

Technical Details

Input
Output
Released
Sep 2025
Knowledge cutoff
2024-09-30
Documentation
Tokenizer
GPT
Architecture
text+image->text
Moderated
Yes
Supported parameters
include_reasoningmax_tokensreasoningresponse_formatseedstructured_outputstool_choicetools

Rankings

Excels at

Detailed scores

Updated: Sep 1, 2026

Pricing

undefined metric} other undefined metrics}}

Input price$1.25/M#120 / 181Output price$10.00/M#139 / 181
Input price
LMSpeed rank#120
Score$1.25/M
UpdatedSep 1, 2026
Confidence4
Output price
LMSpeed rank#139
Score$10.00/M
UpdatedSep 1, 2026
Confidence4

Agents

V3.0

undefined metric} other undefined metrics}} · No data

No data80% interval30.8–69.20/4 Measured dimensions
Dimensions and evidence
Planning & decompositionPrior only
Tool usePrior only
Environment & long-horizon executionPrior only
Recovery & completion reliabilityPrior only

Coding

V3.0

undefined metric} other undefined metrics}} · Provisional

Score55.980% interval42.0–69.91/4 Measured dimensionsLiveCodeBench84.0%#10 / 115SciCode40.9%#74 / 206
Dimensions and evidence
Code generation55.9
undefined family} other undefined families}} · undefined metric} other undefined metrics}}
livecodebench · livecodebench · z 1.13 · q 1.00
scicode · scicode · z 0.29 · q 1.00
Repository engineeringPrior only
Debugging & testingPrior only
Tool-assisted development & qualityPrior only
LiveCodeBenchV3 evidence
LMSpeed rank#10
Score84.0%
UpdatedSep 1, 2026
Confidence4
SciCodeV3 evidence
LMSpeed rank#74
Score40.9%
UpdatedSep 1, 2026
Confidence4

Reasoning

V3.0

undefined metric} other undefined metrics}} · Estimated

Score56.780% interval45.6–67.92/4 Measured dimensionsMMLU-Pro86.5%#16 / 129GPQA83.7%#74 / 213
Dimensions and evidence
Abstract logicPrior only
Scientific & causal reasoning55.6
undefined family} other undefined families}} · undefined metric} other undefined metrics}}
gpqa · gpqa · z 0.41 · q 1.00
hle · hle · z 0.58 · q 1.00
Multi-step constraints57.8
undefined family} other undefined families}} · undefined metric} other undefined metrics}}
mmlu_pro · mmlu_pro · z 0.84 · q 1.00
Evidence integration & verificationPrior only
MMLU-ProV3 evidence
LMSpeed rank#16
Score86.5%
UpdatedSep 1, 2026
Confidence4
GPQAV3 evidence
LMSpeed rank#74
Score83.7%
UpdatedSep 1, 2026
Confidence4
HLEV3 evidence
LMSpeed rank#59
Score27.8%
UpdatedSep 1, 2026
Confidence4

Knowledge

V3.0

undefined metric} other undefined metrics}} · No data

No data80% interval30.8–69.20/4 Measured dimensions
Dimensions and evidence
Broad knowledgePrior only
Professional knowledgePrior only
FactualityPrior only
Retrieval & open-book usePrior only

Math

V3.0

undefined metric} other undefined metrics}} · Provisional

Score54.780% interval38.6–70.81/4 Measured dimensions
Dimensions and evidence
Foundational math54.7
undefined family} other undefined families}} · undefined metric} other undefined metrics}}
aa_math_index · artificial_analysis_math_index · z 1.03 · q 1.00
Competition mathPrior only
Advanced proofsPrior only
Applied & tool-assisted mathPrior only

Multilingual

V3.0

undefined metric} other undefined metrics}} · No data

No data80% interval30.8–69.20/4 Measured dimensions
Dimensions and evidence
Cross-language understandingPrior only
Multilingual generationPrior only
Reasoning transferPrior only
Low-resource robustnessPrior only

Multimodal

V3.0

undefined metric} other undefined metrics}} · No data

No data80% interval30.8–69.20/4 Measured dimensions
Dimensions and evidence
Perception & OCRPrior only
Document & spatial understandingPrior only
Visual reasoningPrior only
Video & grounded actionPrior only

Instruction following

V3.0

undefined metric} other undefined metrics}} · No data

No data80% interval30.8–69.20/4 Measured dimensions
Dimensions and evidence
Constraint followingPrior only
Structured outputPrior only
Novel-instruction generalizationPrior only
Multi-turn & long instructionsPrior only

Pricing Comparison

Compare GPT-5 Codex API pricing across 507 providers. Prices range from $0.0041/request to $495.00/M. Yun API offers the lowest rate at $0.0041/request. 3 providers offer free API credits or a free tier.

ProviderHealthModel VariantGroupInput ($/M)Output ($/M)Speed (t/s)First tokenAudit
L1
100%
gpt-5-codex
default
-93%$0.086/M
Cache read$0.0086/M
-93%$0.685/M
L1
100%
gpt-5-codex-medium
CodeX_05_token
$0.0068/request
-
L1
100%
gpt-5-codex
default
$0.014/request
-
L1
100%
gpt-5-codex-high
CodeX_05_token
$0.0068/request
-
L1
100%
gpt-5-codex-low
CodeX_05_token
$0.0068/request
-
L1
100%
gpt-5-codex-2025-09-15
default
$10.27/M
$82.19/M
L1
100%
gpt-5-codex
default
-86%$0.171/M
Cache read$0.017/M
-86%$1.37/M
L1
100%
gpt-5-codex
default
-23%$0.959/M
-23%$7.67/M
L1
100%
gpt-5-codex
default
$1.25/M
Cache read$0.125/M
$10.00/M
L1
100%
gpt-5-codex-2025-09-15
default
$75.00/M
$600.00/M
L1
100%
gpt-5-codex
官方优惠
Free
Free
L1
100%
gpt-5-codex
gpt-azure
-79%$0.266/M
-79%$2.13/M
L1
100%
L2
62%
gpt-5-codex
default
$1.25/M
Cache read$0.130/M
$10.00/M
L1
100%
gpt-5-codex
gpt-azure
$1.25/M
-37%$6.25/M
L1
100%
gpt-5-codex
default
-93%$0.086/M
Cache read$0.0086/M
-93%$0.685/M
L1
100%
gpt-5-codex
default
-96%$0.051/M
Cache read$0.0051/M
-96%$0.411/M
L1
100%
gpt-5-codex-2025-09-15
default
-96%$0.051/M
-96%$0.411/M
L1
100%
gpt-5-codex
official
$1.25/M
Cache read$0.130/M
$10.00/M
L1
99%
gpt-5-codex
az
-79%$0.257/M
Cache read$0.026/MCache write$0.321/MCache write 1h$0.514/M
-79%$2.05/M
L1
99%
gpt-5-codex-high
gpt-vip
-52%$0.599/M
Cache read$0.060/MCache write$0.749/MCache write 1h$1.20/M
-52%$4.79/M
Showing 20 model IDs of 89.

Alternatives & Similar Models

Frequently Asked Questions

What benchmark data does GPT-5 Codex include?
LMSpeed shows GPT-5 Codex benchmark context, API price, output speed, first-token latency, and provider data across 510 providers when those signals are available.
What is the GPT-5 Codex API price?
GPT-5 Codex has pricing from 510 providers, ranging from $0.0041/request to $495.00/M. Yun API has the lowest listed price.
What does the GPT-5 Codex API pricing table include?
The GPT-5 Codex API pricing table compares 510 providers by input price, output price, free tier status, speed, first-token latency, and recent health data when available.
Which provider has the cheapest GPT-5 Codex API pricing?
Yun API currently has the lowest listed GPT-5 Codex price at $0.0041/request across 510 providers.
Can I compare GPT-5 Codex API price and speed together?
Yes. LMSpeed shows GPT-5 Codex API price, output speed, first-token latency, and provider health on the same page so you can compare cost and performance together.
Is GPT-5 Codex API free?
Yes, GPT-5 Codex free API options are available through 3 providerundefined other undefined} on LMSpeed, including Dext API, 兔子API, 兔子API. These providers offer free API credits or a free tier with no per-token charges.
Where can I get GPT-5 Codex free API access?
LMSpeed currently lists 3 free API providerundefined other undefined} for GPT-5 Codex: Dext API, 兔子API, 兔子API. Check each provider row before using it because free tier limits can change.

Also known as

gpt-5-codexgpt-5-codex-2025-09-15gpt-5-codex-fastgpt-5-codex-highgpt-5-codex-high-fast

Rankings are based on community-submitted tests and periodic health probes. Advisory only, not official data.Artificial AnalysisStandard benchmark data may include BenchLM and other public sources.

Build with LMSpeed Data

Free

Free public API for LLM pricing, benchmarks & provider data

  • Real-time pricing & availability
  • Speed & latency benchmarks
  • 300+ models, 600+ providers
  • 1,000 requests/day
View API Documentation