Price Per TokenPrice Per Token
OpenAI

GPT 5.1 Codex API Pricing 2026

Compare pricing, benchmarks, and providers for GPT 5.1 Codex. Find the best value for your use case.

OpenClaw

Best LLMs for OpenClaw Vote for which model works best with OpenClaw

112 out of our 301 tracked models have had a price change in February.

Get our weekly newsletter on pricing changes, new releases, and tools.

Last updated: February 15, 2026 at 08:07 AM

Overview

GPT 5.1 Codex was released on November 13, 2025. Pricing starts at $1.25 per million input tokens and $10.00 per million output tokens. The model supports a context window of up to 400K tokens. API access is available through OpenAI.

Context Window
400K
tokens
Pricing
Input$1.25
Output$10.00
Cached$0.125
per 1M tokens
Speed
Output166 tok/s
TTFT15.87s
median latency
Capabilities
VisionToolsCaching

Pricing Comparison

Compare GPT 5.1 Codex with 10 similar models by price.

Current Pricing (per 1M tokens)

11 models

Provider
Model
Input $/M
Output $/M
Coding
MMLU
GPQA
Context
Actions
$1.250
$10.000
84.9
86.0
86.0
400,000
Try
$1.100
$4.400
85.9
83.2
78.4
200,000
Try
$1.100
$4.400
73.4
80.2
77.3
200,000
Try
$1.100
$4.400
71.7
79.1
74.8
200,000
Try
$1.200
$6.000
262,144
Try
$1.200
$1.200
16.9
69.0
46.5
131,072
Try
$1.200
$6.000
76.7
84.1
76.4
262,144
Try
$1.250
$10.000
77.0
83.7
82.2
1,048,576
Try
$1.250
$10.000
400,000
Try
$1.250
$10.000
49.4
80.1
64.3
400,000
Try
$1.250
$10.000
128,000
Try

* Some models use tiered pricing based on prompt length. Displayed prices are for prompts ≤ 200k tokens.

Compare Providers

GPT 5.1 Codex is available from multiple providers with different pricing and availability.

2
Providers
$1.250
Cheapest Input/M
$10.000
Cheapest Output/M
OpenAI
Best Price

Provider Pricing

2 models

Provider
Input $/M
Output $/M
Uptime
OpenAI
OpenAI
Best Price
$1.250
$10.000
100.0%
A
Azure
Best Price
$1.250
$10.000
-
Provider pricing data sourced from OpenRouter and Helicone

Community Rankings

How does GPT 5.1 Codex perform? Vote based on your experience.

Cost vs. Quality

Compare GPT 5.1 Codex's benchmark performance against all models.

X-axis:
Y-axis:
Loading chart...
GPT-5.1-Codex
Other models

Detailed Benchmark Scores

Intelligence
42.2 (94th pct)
Coding
36.6 (90th pct)
Math
95.7 (96th pct)
MMLU Pro
86.0 (91th pct)
GPQA
86.0 (95th pct)
LiveCodeBench
84.9 (94th pct)
AIME
-
Aider
-
Benchmark data from Artificial Analysis and HuggingFace Open LLM Leaderboard

Try GPT 5.1 Codex

Use our Calculator

Estimate your costs based on expected token usage.

Open Cost Calculator

Try in Playground

Test GPT 5.1 Codex directly in your browser.

Open Playground

Frequently Asked Questions

GPT 5.1 Codex costs $0.001250 per 1,000 input tokens and $0.010000 per 1,000 output tokens.
GPT 5.1 Codex is available from 2 provider(s). OpenAI offers the best price.
We compare GPT 5.1 Codex with 10 similarly-priced models. See the benchmark scatter plot above to compare quality vs cost.

All OpenAI Models

See pricing for all OpenAI models.

View all OpenAI models →