Price Per TokenPrice Per Token
OpenAI

GPT 5.1 Codex Mini API Pricing 2026

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

Sponsor Price Per Token Reach 5000+ developers comparing LLM APIs

111 out of our 302 tracked models have had a price change in January.

Make informed model choices with updates on pricing, new releases, and tools with our weekly newsletter.

Last updated: January 12, 2026 at 08:06 AM

Overview

GPT 5.1 Codex Mini was released on November 13, 2025. Pricing starts at $0.250 per million input tokens and $2.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$0.250
Output$2.00
Cached$0.025
per 1M tokens
Speed
Output180 tok/s
TTFT7.83s
median latency
Capabilities
VisionToolsCaching

Pricing Comparison

Compare GPT 5.1 Codex Mini with 10 similar models by price.

Current Pricing (per 1M tokens)

11 models

Provider
Model
Input $/M
Output $/M
Context
Actions
$0.250
$2.000
400,000
Try
$0.200
$0.200
32,768
Try
$0.210
$0.630
7,500
Try
$0.210
$0.320
163,840
Try
$0.210
$0.790
163,840
Try
$0.220
$0.950
262,144
Try
$0.250
$0.850
163,840
Try
$0.250
$1.000
128,000
Try
$0.250
$1.000
128,000
Try
$0.250
$2.000
262,144
Try
$0.250
$0.850
163,840
Try

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

Compare Providers

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

3
Providers
$0.250
Cheapest Input/M
$2.000
Cheapest Output/M
OpenAI
Best Price

Provider Pricing

3 models

Provider
Input $/M
Output $/M
Uptime
OpenAI
OpenAI
Best Price
$0.250
$2.000
-
OpenRouter
OpenRouter
Best Price
$0.250
$2.000
-
A
Azure
Best Price
$0.250
$2.000
-
Provider pricing data sourced from OpenRouter and Helicone

Cost vs. Quality

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

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

Detailed Benchmark Scores

Intelligence
38.0 (93th pct)
Coding
35.0 (91th pct)
Math
91.7 (92th pct)
MMLU Pro
82.0 (79th pct)
GPQA
81.3 (91th pct)
LiveCodeBench
83.6 (93th pct)
AIME
-
Aider
-
Benchmark data from Artificial Analysis and HuggingFace Open LLM Leaderboard

Try GPT 5.1 Codex Mini

Use our Calculator

Estimate your costs based on expected token usage.

Open Cost Calculator

Try in Playground

Test GPT 5.1 Codex Mini directly in your browser.

Open Playground

Frequently Asked Questions

GPT 5.1 Codex Mini costs $0.000250 per 1,000 input tokens and $0.002000 per 1,000 output tokens.
GPT 5.1 Codex Mini is available from 3 provider(s). OpenAI offers the best price.
We compare GPT 5.1 Codex Mini 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 →