# GPT-5.1 Codex

> Source: LMSpeed (https://lmspeed.net) — https://lmspeed.net/model/gpt-5-1-codex. When citing or reusing this content, credit "LMSpeed" and link to https://lmspeed.net/model/gpt-5-1-codex.

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

Canonical URL: https://lmspeed.net/model/gpt-5-1-codex
Last updated: 2026-11-04

Reproduction and quotation must name LMSpeed, link to the canonical HTML URL, and retain individual source citations.

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

LLM

Quality[[3]](https://lmspeed.net/model/gpt-5-1-codex#model-source-3)

#60of 193

69.0

Official API price[[1]](https://lmspeed.net/model/gpt-5-1-codex#model-source-1)

$1.25input / 1M tokens

Output $10.00/1M

## Category Performance

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

Coverage

3 / 8

Methodology

[V3.0](https://lmspeed.net/methodology)

#1Reasoning53.6RatedGlobal rank #583/4 Measured dimensions

80% interval: 45.0–62.3

abstract logicPrior only

scientific causal54.9

critpt · critpt / gpqa · gpqa / hle · hle

multistep constraints56.3

mmlu_pro · mmlu_pro

evidence verification49.7

lcr · lcr

#2Agents48.5Estimated3/4 Measured dimensions

80% interval: 39.3–57.8

planning49.6

deep_planning · gert_labs

tool use50.9

tau · tau2_bench

environment executionPrior only

recovery reliability45.1

jobbench · job_bench

#3Coding47.3RatedGlobal rank #1013/4 Measured dimensions

80% interval: 39.0–55.6

code generation54.7

designarena · designarena_code_elo / designarena · designarena_website_elo / livecodebench · livecodebench

repository engineering37.9

designarena · designarena_webapps_elo / lmarena_webdev · lmarena_webdev_overall_rating / lmarena_webdev · lmarena_webdev_webdev_rating / vibecode · vibe_code_bench

debugging testing49.2

swe_verified · swe_bench_verified

tooling qualityPrior only

## Specifications

[[2]](https://lmspeed.net/model/gpt-5-1-codex#model-source-2)

Model weights

Closed / proprietary

License

[Closed / proprietary](https://lmspeed.net/model/license/proprietary)[[1]](https://lmspeed.net/model/gpt-5-1-codex#model-source-1)

Context window

400Ktokens

400,000 tokens · [[2]](https://lmspeed.net/model/gpt-5-1-codex#model-source-2)

≈ 480 pages of text

OpenRouter-reported max output

128Ktokens

128,000 tokens · [[2]](https://lmspeed.net/model/gpt-5-1-codex#model-source-2)

8K128K1M4M

400K

### Features

### Technical Details

Input

Output

Released

Nov 2025

Documentation

[OpenRouter](https://openrouter.ai/openai/gpt-5.1-codex)[Ollama](https://ollama.com/search?q=GPT-5.1%20Codex)

Tokenizer

GPT

Architecture

text+image->text

Moderated

No

Supported parameters

include_reasoningmax_completion_tokensreasoningreasoning_effortresponse_formatseedstructured_outputstool_choicetoolsverbosity

## Rankings

### Excels at

## Detailed scores

Updated: Dec 2, 2026

#### Overall

2 metrics

Overall score69.0#60 / 193SVGBench Arena1560.0#51 / 220

Benchmark

Score

LMSpeed rank

Updated

Confidence

Overall score[[3]](https://lmspeed.net/model/gpt-5-1-codex#model-source-3)

Score69.0

LMSpeed rank#60/193

UpdatedNov 7, 2026

Confidence2

SVGBench Arena[[3]](https://lmspeed.net/model/gpt-5-1-codex#model-source-3)

Score1560.0

LMSpeed rank#51/220

UpdatedDec 2, 2026

Confidence-

#### Speed & latency

10 metrics

LiveCodeBench / medium · cost per test (USD, per_test)0.073947#36 / 43LiveCodeBench / medium · latency (source_duration, reported_duration)117.498#31 / 45

Benchmark

Score

LMSpeed rank

Updated

Confidence

LiveCodeBench / medium · cost per test (USD, per_test)[[3]](https://lmspeed.net/model/gpt-5-1-codex#model-source-3)

Score0.073947

LMSpeed rank#36/43

UpdatedDec 2, 2026

Confidence-

LiveCodeBench / medium · latency (source_duration, reported_duration)[[3]](https://lmspeed.net/model/gpt-5-1-codex#model-source-3)

Score117.498

LMSpeed rank#31/45

UpdatedDec 2, 2026

Confidence-

LiveCodeBench / easy · cost per test (USD, per_test)[[3]](https://lmspeed.net/model/gpt-5-1-codex#model-source-3)

Score0.007355

LMSpeed rank#22/43

UpdatedDec 2, 2026

Confidence-

LiveCodeBench / easy · latency (source_duration, reported_duration)[[3]](https://lmspeed.net/model/gpt-5-1-codex#model-source-3)

Score13.338

LMSpeed rank#20/45

UpdatedDec 2, 2026

Confidence-

LiveCodeBench / hard · cost per test (USD, per_test)[[3]](https://lmspeed.net/model/gpt-5-1-codex#model-source-3)

Score0.331205

LMSpeed rank#36/43

UpdatedDec 2, 2026

Confidence-

LiveCodeBench / hard · latency (source_duration, reported_duration)[[3]](https://lmspeed.net/model/gpt-5-1-codex#model-source-3)

Score569.836

LMSpeed rank#37/45

UpdatedDec 2, 2026

Confidence-

LiveCodeBench / overall · cost per test (USD, per_test)[[3]](https://lmspeed.net/model/gpt-5-1-codex#model-source-3)

Score0.137502

LMSpeed rank#37/43

UpdatedDec 2, 2026

Confidence-

LiveCodeBench / overall · latency (source_duration, reported_duration)[[3]](https://lmspeed.net/model/gpt-5-1-codex#model-source-3)

Score233.557

LMSpeed rank#33/45

UpdatedDec 2, 2026

Confidence-

Vibe Code Bench v1.1 / overall · cost per test (USD, per_test)[[3]](https://lmspeed.net/model/gpt-5-1-codex#model-source-3)

Score3.797914

LMSpeed rank#38/73

UpdatedDec 2, 2026

Confidence-

Vibe Code Bench v1.1 / overall · latency (source_duration, reported_duration)[[3]](https://lmspeed.net/model/gpt-5-1-codex#model-source-3)

Score3026.069

LMSpeed rank#58/74

UpdatedDec 2, 2026

Confidence-

#### Pricing

2 metrics

Input price$1.25/MOutput price$10.00/M

Benchmark

Score

LMSpeed rank

Updated

Confidence

Input price[[3]](https://lmspeed.net/model/gpt-5-1-codex#model-source-3)

Score$1.25/M

LMSpeed rank-

UpdatedNov 4, 2026

Confidence-

Output price[[3]](https://lmspeed.net/model/gpt-5-1-codex#model-source-3)

Score$10.00/M

LMSpeed rank-

UpdatedNov 4, 2026

Confidence-

#### Agents

3 metrics

Τ²-bench results83.0#55 / 94Gert Labs49.7#35 / 84

48.5Estimated

Dimensions and evidenceV3.0Estimated

80% interval 39.3–57.83/4 Measured dimensions

Planning & decomposition49.61 family · 1 metric

deep_planning · gert_labsz 0.09 · q 1.00

Tool use50.91 family · 1 metric

tau · tau2_benchz -0.08 · q 1.00

Environment & long-horizon executionPrior only

Recovery & completion reliability45.11 family · 1 metric

jobbench · job_benchz -0.55 · q 1.00

Benchmark

Score

LMSpeed rank

Updated

Confidence

Τ²-bench results[[3]](https://lmspeed.net/model/gpt-5-1-codex#model-source-3)V3 evidence

Score83.0

LMSpeed rank#55/94

UpdatedNov 7, 2026

Confidence2

Gert Labs[[3]](https://lmspeed.net/model/gpt-5-1-codex#model-source-3)V3 evidence

Score49.7

LMSpeed rank#35/84

UpdatedNov 7, 2026

Confidence2

JobBench[[3]](https://lmspeed.net/model/gpt-5-1-codex#model-source-3)V3 evidence

Score26.2

LMSpeed rank#23/32

UpdatedNov 7, 2026

Confidence2

#### Coding

19 metrics

LiveCodeBench84.9%#7 / 113Arena webdev / webdev1338.2#87 / 102

47.3#101

Dimensions and evidenceV3.0Rated

80% interval 39.0–55.63/4 Measured dimensions

Code generation54.72 families · 3 metrics

designarena · designarena_code_eloz -0.21 · q 1.00designarena · designarena_website_eloz -0.17 · q 1.00livecodebench · livecodebenchz 0.59 · q 1.00

Repository engineering37.93 families · 4 metrics

designarena · designarena_webapps_eloz -1.80 · q 1.00lmarena_webdev · lmarena_webdev_overall_ratingz -0.91 · q 1.00lmarena_webdev · lmarena_webdev_webdev_ratingz -0.99 · q 1.00vibecode · vibe_code_benchz -0.66 · q 1.00

Debugging & testing49.21 family · 1 metric

swe_verified · swe_bench_verifiedz -0.45 · q 1.00

Tool-assisted development & qualityPrior only

Benchmark

Score

LMSpeed rank

Updated

Confidence

LiveCodeBench[[3]](https://lmspeed.net/model/gpt-5-1-codex#model-source-3)V3 evidence

Score84.9%

LMSpeed rank#7/113

UpdatedNov 4, 2026

Confidence4

Arena webdev / webdev[[3]](https://lmspeed.net/model/gpt-5-1-codex#model-source-3)V3 evidence

Score1338.2

LMSpeed rank#87/102

UpdatedDec 2, 2026

Confidence-

Arena webdev / overall[[3]](https://lmspeed.net/model/gpt-5-1-codex#model-source-3)V3 evidence

Score1338.2

LMSpeed rank#88/102

UpdatedDec 2, 2026

Confidence-

Arena webdev / webdev-html[[3]](https://lmspeed.net/model/gpt-5-1-codex#model-source-3)

Score1346.9

LMSpeed rank#85/101

UpdatedDec 2, 2026

Confidence-

SWE-bench Lite[[3]](https://lmspeed.net/model/gpt-5-1-codex#model-source-3)V3 evidence

Score66.0%

LMSpeed rank#15/46

UpdatedNov 23, 2026

Confidence-

Vibe Code Bench[[3]](https://lmspeed.net/model/gpt-5-1-codex#model-source-3)V3 evidence

Score13.1

LMSpeed rank#31/36

UpdatedNov 7, 2026

Confidence2

Coding score[[3]](https://lmspeed.net/model/gpt-5-1-codex#model-source-3)

Score70.5

LMSpeed rank#28/142

UpdatedNov 7, 2026

Confidence2

LiveCodeBench (Vals)[[3]](https://lmspeed.net/model/gpt-5-1-codex#model-source-3)

Score85.6

LMSpeed rank#28/67

UpdatedNov 7, 2026

Confidence2

LiveCodeBench / medium[[3]](https://lmspeed.net/model/gpt-5-1-codex#model-source-3)

Score89.0%

LMSpeed rank#18/45

UpdatedDec 2, 2026

Confidence-

LiveCodeBench / easy[[3]](https://lmspeed.net/model/gpt-5-1-codex#model-source-3)

Score98.8%

LMSpeed rank#15/45

UpdatedDec 2, 2026

Confidence-

LiveCodeBench / hard[[3]](https://lmspeed.net/model/gpt-5-1-codex#model-source-3)

Score68.9%

LMSpeed rank#21/45

UpdatedDec 2, 2026

Confidence-

LiveCodeBench / overall[[3]](https://lmspeed.net/model/gpt-5-1-codex#model-source-3)

Score85.5%

LMSpeed rank#20/45

UpdatedDec 2, 2026

Confidence-

Vibe Code Bench v1.1 / overall[[3]](https://lmspeed.net/model/gpt-5-1-codex#model-source-3)

Score13.1%

LMSpeed rank#65/72

UpdatedDec 2, 2026

Confidence-

DesignArena Browser game generation · elo (elo, game-dev)[[3]](https://lmspeed.net/model/gpt-5-1-codex#model-source-3)

Score1138.0

LMSpeed rank#60/103

UpdatedOct 21, 2026

Confidence-

DesignArena Agentic web applications · elo (elo, webapps)[[3]](https://lmspeed.net/model/gpt-5-1-codex#model-source-3)V3 evidence

Score1018.0

LMSpeed rank#37/37

UpdatedOct 21, 2026

Confidence-

DesignArena Data visualization generation · elo (elo, data-viz)[[3]](https://lmspeed.net/model/gpt-5-1-codex#model-source-3)

Score1213.0

LMSpeed rank#39/86

UpdatedOct 21, 2026

Confidence-

DesignArena UI component generation · elo (elo, ui-components)[[3]](https://lmspeed.net/model/gpt-5-1-codex#model-source-3)

Score1237.0

LMSpeed rank#38/98

UpdatedOct 21, 2026

Confidence-

DesignArena Website generation · elo (elo, website)[[3]](https://lmspeed.net/model/gpt-5-1-codex#model-source-3)V3 evidence

Score1162.0

LMSpeed rank#68/108

UpdatedOct 21, 2026

Confidence-

DesignArena Overall frontend coding · elo (elo, code)[[3]](https://lmspeed.net/model/gpt-5-1-codex#model-source-3)V3 evidence

Score1152.0

LMSpeed rank#64/102

UpdatedOct 21, 2026

Confidence-

#### Reasoning

6 metrics

MMLU-Pro86.0%#23 / 137GPQA86.0%#71 / 238

53.6#58

Dimensions and evidenceV3.0Rated

80% interval 45.0–62.33/4 Measured dimensions

Abstract logicPrior only

Scientific & causal reasoning54.93 families · 3 metrics

critpt · critptz 0.06 · q 1.00gpqa · gpqaz 0.52 · q 1.00hle · hlez 0.35 · q 1.00

Multi-step constraints56.31 family · 1 metric

mmlu_pro · mmlu_proz 0.73 · q 1.00

Evidence integration & verification49.71 family · 1 metric

lcr · lcrz -0.47 · q 1.00

Benchmark

Score

LMSpeed rank

Updated

Confidence

MMLU-Pro[[3]](https://lmspeed.net/model/gpt-5-1-codex#model-source-3)V3 evidence

Score86.0%

LMSpeed rank#23/137

UpdatedNov 4, 2026

Confidence4

GPQA[[3]](https://lmspeed.net/model/gpt-5-1-codex#model-source-3)V3 evidence

Score86.0%

LMSpeed rank#71/238

UpdatedNov 4, 2026

Confidence4

HLE[[3]](https://lmspeed.net/model/gpt-5-1-codex#model-source-3)V3 evidence

Score25.7%

LMSpeed rank#95/252

UpdatedNov 4, 2026

Confidence4

AA-LCR[[3]](https://lmspeed.net/model/gpt-5-1-codex#model-source-3)V3 evidence

Score69.3

LMSpeed rank#99/154

UpdatedNov 7, 2026

Confidence2

CritPt[[3]](https://lmspeed.net/model/gpt-5-1-codex#model-source-3)V3 evidence

Score5.7

LMSpeed rank#69/120

UpdatedNov 7, 2026

Confidence2

Reasoning score[[3]](https://lmspeed.net/model/gpt-5-1-codex#model-source-3)

Score70.9

LMSpeed rank#67/151

UpdatedNov 7, 2026

Confidence2

#### Knowledge

9 metrics

Artificial Analysis Intelligence Index23.7#73 / 142AA-GPQA Diamond86.0#59 / 135

Benchmark

Score

LMSpeed rank

Updated

Confidence

Artificial Analysis Intelligence Index[[3]](https://lmspeed.net/model/gpt-5-1-codex#model-source-3)

Score23.7

LMSpeed rank#73/142

UpdatedNov 7, 2026

Confidence2

AA-GPQA Diamond[[3]](https://lmspeed.net/model/gpt-5-1-codex#model-source-3)

Score86.0

LMSpeed rank#59/135

UpdatedNov 7, 2026

Confidence2

AA-HLE[[3]](https://lmspeed.net/model/gpt-5-1-codex#model-source-3)

Score25.7

LMSpeed rank#84/156

UpdatedNov 7, 2026

Confidence2

AA-Omniscience Accuracy[[3]](https://lmspeed.net/model/gpt-5-1-codex#model-source-3)

Score39.9

LMSpeed rank#51/131

UpdatedNov 7, 2026

Confidence2

AA-Omniscience Hallucination Rate[[3]](https://lmspeed.net/model/gpt-5-1-codex#model-source-3)

Score77.2

LMSpeed rank#46/130

UpdatedNov 7, 2026

Confidence2

Knowledge score[[3]](https://lmspeed.net/model/gpt-5-1-codex#model-source-3)

Score59.7

LMSpeed rank#94/172

UpdatedNov 7, 2026

Confidence2

BullshitBench v2 · green rate (score_fraction, all_attempts)[[3]](https://lmspeed.net/model/gpt-5-1-codex#model-source-3)

Score32.0%

LMSpeed rank#63/120

UpdatedDec 2, 2026

Confidence-

BullshitBench v2 · red rate (score_fraction, all_attempts)[[3]](https://lmspeed.net/model/gpt-5-1-codex#model-source-3)

Score43.0%

LMSpeed rank#75/120

UpdatedDec 2, 2026

Confidence-

BullshitBench v2 · avg score (score, judge_grade_0_to_2)[[3]](https://lmspeed.net/model/gpt-5-1-codex#model-source-3)

Score0.8

LMSpeed rank#72/120

UpdatedDec 2, 2026

Confidence-

#### Multimodal

3 metrics

AA-MMMU-Pro72.5#61 / 88Design Arena Website1160.0#75 / 97

Benchmark

Score

LMSpeed rank

Updated

Confidence

AA-MMMU-Pro[[3]](https://lmspeed.net/model/gpt-5-1-codex#model-source-3)

Score72.5

LMSpeed rank#61/88

UpdatedNov 7, 2026

Confidence2

Design Arena Website[[3]](https://lmspeed.net/model/gpt-5-1-codex#model-source-3)

Score1160.0

LMSpeed rank#75/97

UpdatedNov 7, 2026

Confidence2

Multimodal Grounded score[[3]](https://lmspeed.net/model/gpt-5-1-codex#model-source-3)

Score71.5

LMSpeed rank#55/100

UpdatedNov 7, 2026

Confidence2

#### Instruction following

2 metrics

AA-IFBench70.0#39 / 95Instruction Following score85.6#40 / 103

Benchmark

Score

LMSpeed rank

Updated

Confidence

AA-IFBench[[3]](https://lmspeed.net/model/gpt-5-1-codex#model-source-3)

Score70.0

LMSpeed rank#39/95

UpdatedNov 7, 2026

Confidence2

Instruction Following score[[3]](https://lmspeed.net/model/gpt-5-1-codex#model-source-3)

Score85.6

LMSpeed rank#40/103

UpdatedNov 7, 2026

Confidence2

## 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.

|  |  |  |  |  |  |  |
| --- | --- | --- | --- | --- | --- | --- |
| Azure azure | $1.25/M | $10/M | 100% | — | — | 400K tokens / 128K tokens |

## Pricing Comparison

Third-party relay quote comparison, not official model pricing. Verify currency and billing units before comparing.

|  |  | Model Variant | Group |  |  |  |  | Audit |
| --- | --- | --- | --- | --- | --- | --- | --- | --- |
| [YUNWU API](https://lmspeed.net/provider/yunwu-ai) | L1 99% | gpt-5.1-codex | default | $0.086/M Cache read$0.0086/M | $0.685/M | — | — | — |
| [APIMart](https://lmspeed.net/provider/apimart) | L1 100% | gpt-5.1-codex | default | $0.959/M | $7.67/M | — | — | — |
| [ZEN-AI VIP](https://lmspeed.net/provider/vip-zen-ai-top) | L1 100% | gpt-5.1-codex-2025-11-13 | default | $0.051/M | $0.411/M | — | — | — |
|  | L1 100% | gpt-5.1-codex | default | $0.051/M Cache read$0.0051/M | $0.411/M | — | — | — |
| [向量引擎](https://lmspeed.net/provider/api-vectorengine-ai) | L1 100% | gpt-5.1-codex | default | $0.086/M Cache read$0.0086/M | $0.685/M | — | — | — |
| [Aiberm](https://lmspeed.net/provider/aiberm-com) | L1 100% | openai/gpt-5.1-codex | default | $0.270/M | $2.16/M | — | — | — |
|  | L1 100% | gpt-5.1-codex | default | $0.270/M | $2.16/M | — | — | — |
| [钱多多 API](https://lmspeed.net/provider/api2-aigcbest-top) | L1 100% | gpt-5.1-codex | default | $0.625/M Cache read$0.063/M | $5.00/M | — | — | — |
| [Your API](https://lmspeed.net/provider/yunrapi.cn) | L1 100% | gpt-5.1-codex | default | $1.25/M Cache read$0.125/M | $10.00/M | — | — | — |
|  | L1 100% | gpt-5.1-codex-2025-11-13 | default | $75.00/M | $600.00/M | — | — | — |
| [DeepKey API](https://lmspeed.net/provider/deepkey-top) | L1 100% | gpt-5.1-codex-high | gpt-azure4 | $2.00/M | $10.00/M | — | — | — |
|  | L1 100% | gpt-5.1-codex | gpt-azure4 | $2.00/M | $10.00/M | — | — | — |
|  | L1 100% | gpt-5.1-codex-medium | gpt-azure4 | $2.00/M | $10.00/M | — | — | — |
| [KFCV50](https://lmspeed.net/provider/kfcv50) | L1 100% | gpt-5.1-codex-high | default | $0.014/request | - | — | — | — |
|  | L1 100% | gpt-5.1-codex | default | $0.014/request | - | — | — | — |
|  | L1 100% | gpt-5.1-codex-medium | default | $0.014/request | - | — | — | — |
|  | L1 100% | gpt-5.1-codex-2025-11-13 | default | $0.171/M Cache read$0.017/M | $1.37/M | — | — | — |
| [乐天图书馆](https://lmspeed.net/provider/api-lotte-library-top) | L1 100% | gpt-5.1-codex | default | $0.342/M | $2.74/M | — | — | — |
| [EasyMore](https://lmspeed.net/provider/ai-easymoreapi-com) | L1 100% | gpt-5.1-codex | openai-offical | $1.25/M Cache read$0.125/M | $10.00/M | — | — | — |
| [PoloAPI](https://lmspeed.net/provider/poloai-top) | L1 100% | gpt-5.1-codex | gpt-vip | $4.38/M Cache read$0.438/MCache write$5.47/MCache write 1h$8.75/M | $35.00/M | — | — | — |

This table includes 5 free-priced rows for this model. Free means the current listed price is $0, not an unlimited quota. [Free LLM API directory](https://lmspeed.net/free) · [Free API keys](https://lmspeed.net/free-api-keys)

Showing 20 model IDs of 65.

## Frequently Asked Questions

### What is the GPT-5.1 Codex API price?

Official Standard API: input $1.25, output $10.00 per 1M tokens, USD. Standard · USD

## Sources & notes

- [1]

[Official · via Artificial Analysis · Model license](https://artificialanalysis.ai/models/gpt-5-1-codex)Checked: 2026-11-04, 2026-10-17

- [2]

[OpenRouter-reported; not official](https://openrouter.ai/openai/gpt-5.1-codex)

- [3]

[Benchize](https://benchize.com/)Checked: 2025-11-13, 2026-12-02, 2026-11-04, 2026-11-23, 2026-10-21

- [4]

[LMSpeed methodology](https://lmspeed.net/methodology)

Benchmark data comes from Benchize (benchize.com). Category scores are calculated by LMSpeed.

Download benchmark evidence (JSON)

---
Cite as: GPT-5.1 Codex — LMSpeed, https://lmspeed.net/model/gpt-5-1-codex (retrieved 2026-12-04)
