OpenAI: GPT-5.1-Codex

GPT-5.1-Codex is a specialized version of GPT-5.1 optimized for software engineering and coding workflows. It is designed for both interactive development sessions and long, independent execution of …

openai/gpt-5.1-codex-20251113

GPT-5.1-Codex is a specialized version of GPT-5.1 optimized for software engineering and coding workflows. It is designed for both interactive development sessions and long, independent execution of complex engineering tasks. The model supports building projects from scratch, feature development, debugging, large-scale refactoring, and code review. Compared to GPT-5.1, Codex is more steerable, adheres closely to developer instructions, and produces cleaner, higher-quality code outputs. Reasoning effort can be adjusted with the `reasoning.effort` parameter. Read the [docs here](https://openrouter.ai/docs/use-cases/reasoning-tokens#reasoning-effort-level)

Codex integrates into developer environments including the CLI, IDE extensions, GitHub, and cloud tasks. It adapts reasoning effort dynamically—providing fast responses for small tasks while sustaining extended multi-hour runs for large projects. The model is trained to perform structured code reviews, catching critical flaws by reasoning over dependencies and validating behavior against tests. It also supports multimodal inputs such as images or screenshots for UI development and integrates tool use for search, dependency installation, and environment setup. Codex is intended specifically for agentic coding applications.

Specifications & capabilities

Input
text, image
Output
text
Context window · tokens
400000
Knowledge cutoff
2024-09-30
Capabilities
multimodal, promptCaching, reasoning, structuredOutputs, toolCalling, visionInput, webSearch
Description source ↗

Evaluations

1–4 / 4

LMArena

1,346.705

source id
lmarena
leaderboard name
LMArena Webdev Webdev Html
dimension
coding
metric
Arena rating
rank
130
sample size
4946
evaluated at
2026-11-15T00:00:00.000Z
source model id
GPT-5.1-Codex
confidence lower
1333.496403707625
confidence upper
1359.9143587938233
Original result ↗

LMArena

1,338.197

source id
lmarena
leaderboard name
LMArena Webdev Webdev
dimension
coding
metric
Arena rating
rank
131
sample size
4962
evaluated at
2026-11-15T00:00:00.000Z
source model id
GPT-5.1-Codex
confidence lower
1326.5487249964851
confidence upper
1349.8445071217743
Original result ↗

LMArena

1,338.197

source id
lmarena
leaderboard name
LMArena Webdev Overall
dimension
coding
metric
Arena rating
rank
131
sample size
4962
evaluated at
2026-11-15T00:00:00.000Z
source model id
GPT-5.1-Codex
confidence lower
1326.5487249964851
confidence upper
1349.8445071217743
Original result ↗

Published prices

1–15 / 15

gpt-5.1-codex ↗

$0.08

Inference provider
cheaperInference
Platform
Cheaper Inference
Unit
cache_read_tokens_per_million
Currency
USD
Billing conditions
zdr
false
protocol
chat_completions
service_tier
standard
Billing label
Cached input tokens (per 1M)

gpt-5.1-codex ↗

$0.81

Inference provider
cheaperInference
Platform
Cheaper Inference
Unit
input_tokens_per_million
Currency
USD
Billing conditions
zdr
false
protocol
chat_completions
service_tier
standard
Billing label
Input tokens (per 1M)

gpt-5.1-codex ↗

$6.50

Inference provider
cheaperInference
Platform
Cheaper Inference
Unit
output_tokens_per_million
Currency
USD
Billing conditions
zdr
false
protocol
chat_completions
service_tier
standard
Billing label
Output tokens (per 1M)

openai/gpt-5.1-codex ↗

$0.13

Inference provider
openRouter
Platform
OpenRouter
Unit
cache_read_tokens_per_million
Currency
USD
Billing conditions

openai/gpt-5.1-codex ↗

$1.25

Inference provider
openRouter
Platform
OpenRouter
Unit
input_tokens_per_million
Currency
USD
Billing conditions

openai/gpt-5.1-codex ↗

$10.00

Inference provider
openRouter
Platform
OpenRouter
Unit
output_tokens_per_million
Currency
USD
Billing conditions

openai/gpt-5.1-codex ↗

$0.13

Inference provider
vercelAIGatewayCatalog
Platform
azure
Unit
cache_read_tokens_per_million
Currency
USD
Billing conditions
endpoint
azure | openai/gpt-5.1-codex
model_type
language
billing_scope
via Vercel AI Gateway
Billing label
Cached input / 1M
Pricing via
Vercel AI Gateway

openai/gpt-5.1-codex ↗

$1.25

Inference provider
vercelAIGatewayCatalog
Platform
azure
Unit
input_tokens_per_million
Currency
USD
Billing conditions
endpoint
azure | openai/gpt-5.1-codex
model_type
language
billing_scope
via Vercel AI Gateway
Billing label
Input tokens / 1M
Pricing via
Vercel AI Gateway

openai/gpt-5.1-codex ↗

$10.00

Inference provider
vercelAIGatewayCatalog
Platform
azure
Unit
output_tokens_per_million
Currency
USD
Billing conditions
endpoint
azure | openai/gpt-5.1-codex
model_type
language
billing_scope
via Vercel AI Gateway
Billing label
Output tokens / 1M
Pricing via
Vercel AI Gateway

openai/gpt-5.1-codex ↗

$0.01

Inference provider
vercelAIGatewayCatalog
Platform
azure
Unit
request
Currency
USD
Billing conditions
charge
web_search
endpoint
azure | openai/gpt-5.1-codex
model_type
language
billing_scope
via Vercel AI Gateway
Billing label
Web search
Pricing via
Vercel AI Gateway

openai/gpt-5.1-codex ↗

$0.13

Inference provider
vercelAIGatewayCatalog
Platform
Vercel AI Gateway
Unit
cache_read_tokens_per_million
Currency
USD
Billing conditions
model_type
language
quote_scope
gateway_catalog
billing_scope
Vercel public catalog; endpoint prices may differ
Billing label
Cached input / 1M
Pricing via
Vercel AI Gateway

openai/gpt-5.1-codex ↗

$1.25

Inference provider
vercelAIGatewayCatalog
Platform
Vercel AI Gateway
Unit
input_tokens_per_million
Currency
USD
Billing conditions
model_type
language
quote_scope
gateway_catalog
billing_scope
Vercel public catalog; endpoint prices may differ
Billing label
Input tokens / 1M
Pricing via
Vercel AI Gateway

openai/gpt-5.1-codex ↗

$10.00

Inference provider
vercelAIGatewayCatalog
Platform
Vercel AI Gateway
Unit
output_tokens_per_million
Currency
USD
Billing conditions
model_type
language
quote_scope
gateway_catalog
billing_scope
Vercel public catalog; endpoint prices may differ
Billing label
Output tokens / 1M
Pricing via
Vercel AI Gateway

openai/gpt-5.1-codex ↗

$0.01

Inference provider
vercelAIGatewayCatalog
Platform
Vercel AI Gateway
Unit
request
Currency
USD
Billing conditions
charge
web_search
model_type
language
quote_scope
gateway_catalog
billing_scope
Vercel public catalog; endpoint prices may differ
Billing label
Web search
Pricing via
Vercel AI Gateway

Provider specifications & access

1–2 / 2

gpt-5.1-codex ↗

source model id
gpt-5.1-codex
hosting
gateway
platforms
  • Cheaper Inference
context length
400000
max output tokens
128000
architecture
input_modalities
  • text
  • image
output_modalities
  • text
capabilities
  • reasoning
  • structuredOutputs
  • toolCalling
  • visionInput
  • webSearch

GPT-5.1-Codex ↗

source model id
openai/gpt-5.1-codex
hosting
vercel-gateway
platforms
  • Vercel AI Gateway
context length
400000
max output tokens
128000
architecture
input_modalities
  • text
  • image
  • pdf
output_modalities
  • text
capabilities
  • promptCaching
  • reasoning
  • structuredOutputs
  • toolCalling
  • visionInput
  • webSearch

Safety assessments

1–1 / 1

Foundation Model Transparency Index 2025 ↗

35 / 100

source id
stanfordFMTI
canonical model id
openai/gpt-5.1-codex-20251113
taxonomy
transparency
hazard category
transparency
hazard name
Organization transparency
policy area
OpenAI
assessment type
organization-level disclosure
metric
disclosure_score
result label
35 / 100
sample size
100
updated at
2026-11-09T18:08:05.227Z

Source specification observations

1–5 / 5

openRouter ↗

field
context_length
value
400000
normalized value
400000
scope
source-model
source id
openRouter
confidence
1

vercelAIGatewayCatalog ↗

field
context_length
value
400000
normalized value
400000
scope
source-model
source id
vercelAIGatewayCatalog
confidence
1

vercelAIGatewayCatalog ↗

field
knowledge_cutoff
reported field
knowledge_cutoff
value
2024-09-30
normalized value
2024-09-30
precision
day
scope
source-model
source id
vercelAIGatewayCatalog
confidence
1

openRouter ↗

field
max_output_tokens
value
128000
normalized value
128000
scope
source-model
source id
openRouter
confidence
1

vercelAIGatewayCatalog ↗

field
max_output_tokens
value
128000
normalized value
128000
scope
source-model
source id
vercelAIGatewayCatalog
confidence
1

Original sources

1–8 / 8

OpenRouter · Model page ↗

Vercel AI Gateway · Model page ↗

api.cheaperinference.com · Source snapshot ↗

Epoch AI · Catalog ↗

GitHub · Catalog ↗

LMArena · Catalog ↗

OpenRouter · Catalog ↗

Vercel AI Gateway · Catalog ↗

Source links

1–7 / 7

Explore more models

Models

Loading
EVIDENCE / COMPARISON

Benchmarks

Explore every benchmark

Loading

These charts contain model-linked results. The charts above also include unlinked source profiles. Compare scores within each evaluation. Model quality, usage, transparency and system performance measure different things.

Install TensorTrace