OpenAI
·Released on Nov 13, 2025

GPT-5.1 Codex API Benchmarks, Pricing & Provider Data

Compare GPT-5.1 Codex with another model

Choose a model to open its comparison page.

Share on X
LLM

GPT-5.1 Codex benchmark, API pricing, and provider data cover 379 API providers, with prices starting at $0.0041/request. GPT-5.1 Codex free API options are available from 2 providers.

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

Quality
0.0
LMSpeed score
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
6 / 8
Methodology
V3.0
Category PerformanceObserved-capability estimates with uncertainty reported separately from independent benchmark families.Agents49.7Coding50.6Reasoning55.3Knowledge50Math54.1Multilingual-Multimodal-Instruction following52.5
#1Reasoning55.3RatedGlobal rank #163/4 Measured dimensions
80% interval: 46.764.0
abstract logicPrior only
scientific causal56.5
critpt · critpt / gpqa · gpqa / hle · hle
multistep constraints57.3
mmlu_pro · mmlu_pro
evidence verification52.2
lcr · lcr
#2Math54.1Provisional1/4 Measured dimensions
80% interval: 38.070.3
foundational math54.1
aa_math_index · artificial_analysis_math_index
competition mathPrior only
proof frontierPrior only
applied tool mathPrior only
#3Instruction following52.5Provisional1/4 Measured dimensions
80% interval: 36.568.5
constraint followingPrior only
structured outputPrior only
novel instruction generalization52.5
ifbench · aa_if_bench
long multiturn instructionPrior only
#4Coding50.6Estimated2/4 Measured dimensions
80% interval: 39.461.8
code generation55.9
livecodebench · livecodebench / scicode · scicode
repository engineering45.3
vibecode · vibe_code_bench
debugging testingPrior only
tooling qualityPrior only
#5Knowledge50Provisional1/4 Measured dimensions
80% interval: 34.066.0
broad knowledge50
aa_omniscience · aa_omniscience_index
professional knowledgePrior only
factualityPrior only
retrieval open bookPrior only
#6Agents49.7Estimated3/4 Measured dimensions
80% interval: 40.459.0
planning50.3
deep_planning · gert_labs
tool use49.9
tau · tau2_bench
environment executionPrior only
recovery reliability48.9
jobbench · job_bench
No data:MultilingualMultimodal

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
Nov 2025
Documentation
Tokenizer
GPT
Architecture
text+image->text
Moderated
No
Supported parameters
include_reasoningmax_completion_tokensreasoningreasoning_effortresponse_formatseedstructured_outputstool_choicetools

Rankings

Excels at

It's decent at

Falls behind in

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}} · Estimated

Score49.780% interval40.4–59.03/4 Measured dimensionsΤ²-bench results83.0#51 / 82Gert Labs49.7#23 / 49
Dimensions and evidence
Planning & decomposition50.3
undefined family} other undefined families}} · undefined metric} other undefined metrics}}
deep_planning · gert_labs · z 0.06 · q 1.00
Tool use49.9
undefined family} other undefined families}} · undefined metric} other undefined metrics}}
tau · tau2_bench · z -0.12 · q 1.00
Environment & long-horizon executionPrior only
Recovery & completion reliability48.9
undefined family} other undefined families}} · undefined metric} other undefined metrics}}
jobbench · job_bench · z -0.40 · q 1.00
Τ²-bench resultsV3 evidence
LMSpeed rank#51
Score83.0
UpdatedAug 14, 2026
Confidence1
Gert LabsV3 evidence
LMSpeed rank#23
Score49.7
UpdatedAug 14, 2026
Confidence1
JobBenchV3 evidence
LMSpeed rank#14
Score26.2
UpdatedAug 14, 2026
Confidence1

Coding

V3.0

undefined metric} other undefined metrics}} · Estimated

Score50.680% interval39.4–61.82/4 Measured dimensionsLiveCodeBench84.9%#9 / 115SciCode40.2%#84 / 206
Dimensions and evidence
Code generation55.9
undefined family} other undefined families}} · undefined metric} other undefined metrics}}
livecodebench · livecodebench · z 1.17 · q 1.00
scicode · scicode · z 0.22 · q 1.00
Repository engineering45.3
undefined family} other undefined families}} · undefined metric} other undefined metrics}}
vibecode · vibe_code_bench · z -0.62 · q 1.00
Debugging & testingPrior only
Tool-assisted development & qualityPrior only
LiveCodeBenchV3 evidence
LMSpeed rank#9
Score84.9%
UpdatedSep 1, 2026
Confidence4
SciCodeV3 evidence
LMSpeed rank#84
Score40.2%
UpdatedSep 1, 2026
Confidence4
Vibe Code BenchV3 evidence
LMSpeed rank#28
Score13.1
UpdatedAug 14, 2026
Confidence1
AA-SciCodeV3 evidence
LMSpeed rank#67
Score40.2
UpdatedAug 14, 2026
Confidence1

Reasoning

V3.0

undefined metric} other undefined metrics}} · Rated

Score55.3#1680% interval46.7–64.03/4 Measured dimensionsMMLU-Pro86.0%#23 / 129GPQA86.0%#57 / 213
Dimensions and evidence
Abstract logicPrior only
Scientific & causal reasoning56.5
undefined family} other undefined families}} · undefined metric} other undefined metrics}}
critpt · critpt · z 0.30 · q 1.00
gpqa · gpqa · z 0.58 · q 1.00
hle · hle · z 0.51 · q 1.00
Multi-step constraints57.3
undefined family} other undefined families}} · undefined metric} other undefined metrics}}
mmlu_pro · mmlu_pro · z 0.77 · q 1.00
Evidence integration & verification52.2
undefined family} other undefined families}} · undefined metric} other undefined metrics}}
lcr · lcr · z -0.06 · q 1.00
MMLU-ProV3 evidence
LMSpeed rank#23
Score86.0%
UpdatedSep 1, 2026
Confidence4
GPQAV3 evidence
LMSpeed rank#57
Score86.0%
UpdatedSep 1, 2026
Confidence4
HLEV3 evidence
LMSpeed rank#64
Score25.7%
UpdatedSep 1, 2026
Confidence4
AA-LCRV3 evidence
LMSpeed rank#55
Score69.0
UpdatedAug 14, 2026
Confidence1
CritPtV3 evidence
LMSpeed rank#38
Score5.7
UpdatedAug 14, 2026
Confidence1

Knowledge

V3.0

undefined metric} other undefined metrics}} · Provisional

Score5080% interval34.0–66.01/4 Measured dimensionsArtificial Analysis Intelligence Index35.6#57 / 111AA-GPQA Diamond86.0#49 / 108
Dimensions and evidence
Broad knowledge50
undefined family} other undefined families}} · undefined metric} other undefined metrics}}
aa_omniscience · aa_omniscience_index · z -0.08 · q 1.00
Professional knowledgePrior only
FactualityPrior only
Retrieval & open-book usePrior only
Artificial Analysis Intelligence IndexV3 evidence
LMSpeed rank#57
Score35.6
UpdatedAug 14, 2026
Confidence1
AA-GPQA Diamond
LMSpeed rank#49
Score86.0
UpdatedAug 14, 2026
Confidence1
AA-HLE
LMSpeed rank#54
Score25.7
UpdatedAug 14, 2026
Confidence1
AA-Omniscience Accuracy
LMSpeed rank#32
Score39.9
UpdatedAug 14, 2026
Confidence1
AA-Omniscience Hallucination Rate
LMSpeed rank#45
Score77.2
UpdatedAug 14, 2026
Confidence1

Math

V3.0

undefined metric} other undefined metrics}} · Provisional

Score54.180% interval38.0–70.31/4 Measured dimensions
Dimensions and evidence
Foundational math54.1
undefined family} other undefined families}} · undefined metric} other undefined metrics}}
aa_math_index · artificial_analysis_math_index · z 0.95 · 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

80% interval30.8–69.20/4 Measured dimensionsAA-MMMU-Pro72.5#43 / 65Design Arena Website1183.0#53 / 75
Dimensions and evidence
Perception & OCRPrior only
Document & spatial understandingPrior only
Visual reasoningPrior only
Video & grounded actionPrior only
AA-MMMU-Pro
LMSpeed rank#43
Score72.5
UpdatedAug 14, 2026
Confidence1
Design Arena Website
LMSpeed rank#53
Score1183.0
UpdatedAug 14, 2026
Confidence1

Instruction following

V3.0

undefined metric} other undefined metrics}} · Provisional

Score52.580% interval36.5–68.51/4 Measured dimensionsAA-IFBench70.0#37 / 84
Dimensions and evidence
Constraint followingPrior only
Structured outputPrior only
Novel-instruction generalization52.5
undefined family} other undefined families}} · undefined metric} other undefined metrics}}
ifbench · aa_if_bench · z 0.05 · q 1.00
Multi-turn & long instructionsPrior only
AA-IFBenchV3 evidence
LMSpeed rank#37
Score70.0
UpdatedAug 14, 2026
Confidence1

OpenRouter endpoints

1 endpoints

Third-party OpenRouter endpoint data, shown separately from LMSpeed measurements. Some 30-minute live performance fields only appear after syncing with an OpenRouter API key.

Provider endpointInputOutput1d uptime30m latency30m throughputContext / output
Azure
azure
$1.25/M$10/M100%undefined tokens / undefined tokens

Pricing Comparison

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

ProviderHealthModel VariantGroupInput ($/M)Output ($/M)Speed (t/s)First tokenAudit
L1
100%
gpt-5.1-codex
default
-93%$0.086/M
Cache read$0.0086/M
-93%$0.685/M
L1
100%
gpt-5.1-codex-high
CodeX_05_token
$0.0068/request
-
L1
100%
gpt-5.1-codex
default
$0.014/request
-
L1
100%
gpt-5.1-codex-medium
CodeX_05_token
$0.0068/request
-
L1
100%
gpt-5.1-codex-2025-11-13
default
-86%$0.171/M
-86%$1.37/M
L1
100%
gpt-5.1-codex
default
-86%$0.171/M
Cache read$0.017/M
-86%$1.37/M
L1
100%
gpt-5.1-codex
default
-23%$0.959/M
-23%$7.67/M
L1
100%
gpt-5.1-codex
default
$1.25/M
$10.00/M
L1
100%
gpt-5.1-codex-2025-11-13
default
$75.00/M
$600.00/M
L1
100%
gpt-5.1-codex
官方优惠
Free
Free
L1
100%
gpt-5.1-codex
gpt-azure
$1.25/M
-37%$6.25/M
L1
100%
gpt-5.1-codex-2025-11-13
gpt-azure
$1.25/M
Cache read$0.125/M
$10.00/M
L1
100%
gpt-5.1-codex
default
-93%$0.086/M
Cache read$0.0086/M
-93%$0.685/M
L1
100%
gpt-5.1-codex
default
-96%$0.051/M
Cache read$0.0051/M
-96%$0.411/M
L1
100%
gpt-5.1-codex-2025-11-13
default
-96%$0.051/M
-96%$0.411/M
L1
100%
gpt-5.1-codex
official
$1.25/M
Cache read$0.125/M
$10.00/M
L1
99%
gpt-5.1-codex-2025-11-13
az
-79%$0.257/M
-79%$2.05/M
L1
99%
gpt-5.1-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.1-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
L1
99%
gpt-5.1-codex-medium
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 75.

Alternatives & Similar Models

Frequently Asked Questions

What benchmark data does GPT-5.1 Codex include?
LMSpeed shows GPT-5.1 Codex benchmark context, API price, output speed, first-token latency, and provider data across 379 providers when those signals are available.
What is the GPT-5.1 Codex API price?
GPT-5.1 Codex has pricing from 379 providers, ranging from $0.0041/request to $495.00/M. Yun API has the lowest listed price.
What does the GPT-5.1 Codex API pricing table include?
The GPT-5.1 Codex API pricing table compares 379 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.1 Codex API pricing?
Yun API currently has the lowest listed GPT-5.1 Codex price at $0.0041/request across 379 providers.
Is GPT-5.1 Codex API free?
Yes, GPT-5.1 Codex free API options are available through 2 providerundefined other undefined} on LMSpeed, including 兔子API, 兔子API. These providers offer free API credits or a free tier with no per-token charges.
Where can I get GPT-5.1 Codex free API access?
LMSpeed currently lists 2 free API providerundefined other undefined} for GPT-5.1 Codex: 兔子API, 兔子API. Check each provider row before using it because free tier limits can change.

Also known as

copilot/gpt-5.1-codexgpt-5-1-codexgpt-5.1-codexgpt-5.1-codex-2025-11-13gpt-5.1-codex-fast

Rankings are based on community-submitted tests and periodic health probes. Advisory only, not official data.Standard 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