# GPT-5 Codex

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

OpenAI GPT-5 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-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 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-codex#model-source-3)

#73of 220

1504.0

Speed

154char/s

2.76 s

Official API price[[1]](https://lmspeed.net/model/gpt-5-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

1 / 8

Methodology

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

#1Reasoning55.6Estimated2/4 Measured dimensions

80% interval: 44.5–66.7

abstract logicPrior only

scientific causal54.4

gpqa · gpqa / hle · hle

multistep constraints56.8

mmlu_pro · mmlu_pro

evidence verificationPrior only

## Specifications

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

Model weights

Closed / proprietary

License

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

Context window

400Ktokens

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

≈ 480 pages of text

OpenRouter-reported max output

128Ktokens

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

8K128K1M4M

400K

### Features

### Technical Details

Input

Output

Released

Sep 2025

Knowledge cutoff

2024-09-30

Documentation

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

Tokenizer

GPT

Architecture

text+image->text

Moderated

Yes

Supported parameters

include_reasoningmax_tokensreasoningresponse_formatseedstructured_outputstool_choicetools

## Detailed scores

Updated: Dec 2, 2026

#### Overall

1 metric

SVGBench Arena1504.0#73 / 220

Benchmark

Score

LMSpeed rank

Updated

Confidence

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

Score1504.0

LMSpeed rank#73/220

UpdatedDec 2, 2026

Confidence-

#### Speed & latency

8 metrics

LiveCodeBench / hard · cost per test (USD, per_test)0.228984#33 / 43LiveCodeBench / hard · latency (source_duration, reported_duration)323.06#28 / 45

Benchmark

Score

LMSpeed rank

Updated

Confidence

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

Score0.228984

LMSpeed rank#33/43

UpdatedDec 2, 2026

Confidence-

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

Score323.06

LMSpeed rank#28/45

UpdatedDec 2, 2026

Confidence-

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

Score0.097451

LMSpeed rank#32/43

UpdatedDec 2, 2026

Confidence-

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

Score134.963

LMSpeed rank#26/45

UpdatedDec 2, 2026

Confidence-

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

Score0.006587

LMSpeed rank#21/43

UpdatedDec 2, 2026

Confidence-

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

Score8.824

LMSpeed rank#13/45

UpdatedDec 2, 2026

Confidence-

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

Score0.056783

LMSpeed rank#33/43

UpdatedDec 2, 2026

Confidence-

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

Score73.006

LMSpeed rank#20/45

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-codex#model-source-3)

Score$1.25/M

LMSpeed rank-

UpdatedNov 4, 2026

Confidence-

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

Score$10.00/M

LMSpeed rank-

UpdatedNov 4, 2026

Confidence-

#### Coding

5 metrics

LiveCodeBench84.0%#8 / 113LiveCodeBench / hard68.6%#22 / 45

Benchmark

Score

LMSpeed rank

Updated

Confidence

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

Score84.0%

LMSpeed rank#8/113

UpdatedNov 4, 2026

Confidence4

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

Score68.6%

LMSpeed rank#22/45

UpdatedDec 2, 2026

Confidence-

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

Score84.7%

LMSpeed rank#24/45

UpdatedDec 2, 2026

Confidence-

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

Score98.1%

LMSpeed rank#32/45

UpdatedDec 2, 2026

Confidence-

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

Score87.5%

LMSpeed rank#26/45

UpdatedDec 2, 2026

Confidence-

#### Reasoning

3 metrics

MMLU-Pro86.5%#16 / 137GPQA83.7%#89 / 238

55.6Estimated

Dimensions and evidenceV3.0Estimated

80% interval 44.5–66.72/4 Measured dimensions

Abstract logicPrior only

Scientific & causal reasoning54.42 families · 2 metrics

gpqa · gpqaz 0.35 · q 1.00hle · hlez 0.42 · q 1.00

Multi-step constraints56.81 family · 1 metric

mmlu_pro · mmlu_proz 0.80 · q 1.00

Evidence integration & verificationPrior only

Benchmark

Score

LMSpeed rank

Updated

Confidence

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

Score86.5%

LMSpeed rank#16/137

UpdatedNov 4, 2026

Confidence4

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

Score83.7%

LMSpeed rank#89/238

UpdatedNov 4, 2026

Confidence4

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

Score27.8%

LMSpeed rank#89/252

UpdatedNov 4, 2026

Confidence4

#### Knowledge

3 metrics

BullshitBench v2 · green rate (score_fraction, all_attempts)39.0%#55 / 120BullshitBench v2 · red rate (score_fraction, all_attempts)35.0%#64 / 120

Benchmark

Score

LMSpeed rank

Updated

Confidence

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

Score39.0%

LMSpeed rank#55/120

UpdatedDec 2, 2026

Confidence-

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

Score35.0%

LMSpeed rank#64/120

UpdatedDec 2, 2026

Confidence-

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

Score1.0

LMSpeed rank#59/120

UpdatedDec 2, 2026

Confidence-

## 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-codex | default | $0.086/M Cache read$0.0086/M | $0.685/M | — | — | — |
| [APIMart](https://lmspeed.net/provider/apimart) | L1 100% | gpt-5-codex | default | $0.959/M | $7.67/M | — | — | — |
| [向量引擎](https://lmspeed.net/provider/api-vectorengine-ai) | L1 100% | gpt-5-codex | default | $0.086/M Cache read$0.0086/M | $0.685/M | — | — | — |
| [ZEN-AI VIP](https://lmspeed.net/provider/vip-zen-ai-top) | L1 100% | gpt-5-codex | default | $0.051/M Cache read$0.0051/M | $0.411/M | — | — | — |
|  | L1 100% | gpt-5-codex-2025-09-15 | default | $0.051/M | $0.411/M | — | — | — |
| [Aiberm](https://lmspeed.net/provider/aiberm-com) | L1 100% | openai/gpt-5-codex | default | $0.270/M | $2.16/M | — | — | — |
| [钱多多 API](https://lmspeed.net/provider/api2-aigcbest-top) | L1 100% | gpt-5-codex | default | $0.625/M Cache read$0.063/M | $5.00/M | — | — | — |
| [DeepKey API](https://lmspeed.net/provider/deepkey-top) | L1 100% | gpt-5-codex | gpt-azure4 | $2.00/M | $10.00/M | — | — | — |
|  | L1 100% | gpt-5-codex-high | gpt-azure4 | $2.00/M | $10.00/M | — | — | — |
|  | L1 100% | gpt-5-codex-low | gpt-azure4 | $2.00/M | $10.00/M | — | — | — |
|  | L1 100% | gpt-5-codex-medium | gpt-azure4 | $2.00/M | $10.00/M | — | — | — |
| [Your API](https://lmspeed.net/provider/yunrapi.cn) | L1 100% | gpt-5-codex | default | $75.00/M Cache read$7.50/M | $600.00/M | — | — | — |
|  | L1 100% | gpt-5-codex-2025-09-15 | default | $75.00/M | $600.00/M | — | — | — |
| [KFCV50](https://lmspeed.net/provider/kfcv50) | L1 100% | gpt-5-codex | default | $0.014/request | - | — | — | — |
|  | L1 100% | gpt-5-codex-medium | default | $0.014/request | - | — | — | — |
|  | L1 100% | gpt-5-codex-low | default | $0.014/request | - | — | — | — |
|  | L1 100% | gpt-5-codex-high | default | $0.014/request | - | — | — | — |
|  | L1 100% | gpt-5-codex-2025-09-15 | default | $10.27/M Cache read$1.03/M | $82.19/M | — | — | — |
| [乐天图书馆](https://lmspeed.net/provider/api-lotte-library-top) | L1 100% | gpt-5-codex | default | $0.274/M | $2.19/M | — | — | — |
| [EasyMore](https://lmspeed.net/provider/ai-easymoreapi-com) | L1 100% | gpt-5-codex | official | $1.25/M Cache read$0.130/M | $10.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 75.

## Frequently Asked Questions

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

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

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

## Sources & notes

- [1]

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

- [2]

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

- [3]

[Benchize](https://benchize.com/)Checked: 2026-12-02, 2026-11-04

- [4]

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

Endpoint statistics summarize 10 recorded observations. Token counts use reported usage when available and may be estimated otherwise. Output throughput excludes time to first token; first-token latency is shown separately. Benchmark data comes from Benchize (benchize.com). Category scores are calculated by LMSpeed.

Download benchmark evidence (JSON)

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