OpenAI · Released Nov 13, 2025

GPT-5.1-Codex-Mini

GPT-5.1-Codex-Mini is a smaller and faster version of GPT-5.1-Codex

ReasoningVision
  • Top 28%Terminal-Bench
Released
Nov 13 2025
Context window
400K 128K out
Input / 1M tokens
$0.25 from $0.22
Output / 1M tokens
$2.00 from $1.80

Where to run it

17 providers compared

Cheapest: Poe at $0.22 / $1.80 per 1M input / output tokens — 11% less than the priciest option.

ProviderInputOutputCache readContextMax outputUptimevs. best
Poe $0.22 $1.80 $0.022400K128K— Cheapest
Jiekou.AI $0.24 $1.90 $0.024400K128K— +6%
Azure $0.25 $2.00 $0.03400K128K100%24h +12%
Helicone $0.25 $2.00 $0.025400K128K— +12%
NanoGPTno tool calling $0.25 $2.00 $0.025400K128K— +12%
Kilo Gateway $0.25 $2.00 $0.03400K128K— +12%
Vercel AI Gateway $0.25 $2.00 $0.03400K128K— +12%
LLM Gateway $0.25 $2.00 $0.025400K128K— +12%
AIHubMix $0.25 $2.00 $0.025400K128K— +12%
ZenMux $0.25 $2.00 $0.025400K100K— +12%
Azure Cognitive Services $0.25 $2.00 $0.025400K128K— +12%
DevPass (LLM Gateway) $0.25 $2.00 $0.025400K128K— +12%
Ofox $0.25 $2.00 $0.03256K66K— +12%
Impossibl $0.25 $2.00 $0.025400K128K— +12%
OrcaRouter $0.25 $2.00 $0.025400K128K— +12%
OpenCode $0.25 $2.00 $0.025400K128K— +12%
Eden AI $0.25 $2.00 $0.025272K128K— +12%

Value

Price vs. performance

On the value frontierNo cheaper model beats GPT-5.1-Codex-Mini on Terminal-Bench.
3.4%30.5%57.6%84.7% $0.01$0.10$1.00$10.00$100.00 Qwen3.6 35B A3B (Qwen) — 24.6% · $0.10/1M in Claude Opus 4.7 (Anthropic) — 80.2% · $5.00/1M in Grok 4.20 (xAI) — 57.3% · $1.25/1M in MiniMax M2.7 (MiniMax) — 45.1% · $0.30/1M in Qwen3.5-9B (Qwen) — 9.2% · $0.08/1M in Gemini 3.1 Pro Preview (Google) — 80.2% · $2.00/1M in Claude Sonnet 4.6 (Anthropic) — 53.4% · $3.00/1M in MiniMax M2.5 (MiniMax) — 42.7% · $0.27/1M in GLM 5 (Z.ai) — 52.4% · $1.00/1M in Claude Opus 4.6 (Anthropic) — 79.8% · $5.00/1M in Kimi K2.5 (Moonshot AI) — 43.2% · $0.50/1M in MiniMax M2.1 (MiniMax) — 36.6% · $0.30/1M in GLM 4.7 (Z.ai) — 33.4% · $0.54/1M in Gemini 3 Flash Preview (Google) — 64.3% · $0.50/1M in DeepSeek V3.2 (DeepSeek) — 39.6% · $0.28/1M in Claude Opus 4.5 (Anthropic) — 63.1% · $5.00/1M in Kimi K2 Thinking (Moonshot AI) — 35.7% · $0.60/1M in MiniMax M2 (MiniMax) — 30.0% · $0.26/1M in Claude Haiku 4.5 (Anthropic) — 35.5% · $1.00/1M in GLM 4.6 (Z.ai) — 24.5% · $0.55/1M in Claude Sonnet 4.5 (Anthropic) — 46.5% · $3.00/1M in DeepSeek V3.2 Exp (DeepSeek) — 39.6% · $0.27/1M in Claude Opus 4.1 (Anthropic) — 38.0% · $15.00/1M in Gemini 2.5 Flash (Google) — 17.1% · $0.30/1M in Gemini 2.5 Pro (Google) — 32.6% · $1.25/1M in Gemini 2.5 Pro Preview 06-05 (Google) — 32.6% · $1.25/1M in GPT-5.5 (OpenAI) — 84.7% · $5.00/1M in GPT-5.4 (OpenAI) — 81.8% · $2.50/1M in GPT-5.3-Codex (OpenAI) — 78.4% · $1.75/1M in GPT-5.2-Codex (OpenAI) — 66.5% · $1.75/1M in GPT-5.2 (OpenAI) — 64.9% · $1.75/1M in GPT-5.1-Codex-Max (OpenAI) — 60.5% · $1.25/1M in GPT-5.1 (OpenAI) — 47.6% · $1.25/1M in GPT-5.1-Codex (OpenAI) — 57.8% · $1.25/1M in GPT-5 (OpenAI) — 49.6% · $1.25/1M in GPT-5 Mini (OpenAI) — 34.8% · $0.25/1M in GPT-5 Nano (OpenAI) — 21.8% · $0.05/1M in gpt-oss-120b (OpenAI) — 18.7% · $0.15/1M in gpt-oss-20b (OpenAI) — 3.4% · $0.018/1M in GPT-5.1-Codex-Mini (OpenAI) — 61.6% · $0.25/1M in GPT-5.1-Codex-Mini

GPT-5.1-Codex-Mini Other OpenAI Other labs Value frontier · Terminal-Bench vs. input price per 1M tokens (log scale) · Drag to pan, pinch or Ctrl + scroll to zoom, double-click to zoom in.

Benchmarks

2 benchmark scores

BenchmarkScoreRankLeader
Terminal-BenchSoftware engineering · Tasks completed with the programs in a real terminal (best agent) 61.6% #11of 40 GPT-5.584.7%
WebDev ArenaDesign & visual · People vote on which model builds the better website (Elo) 1247 #85of 90 Claude Opus 5.51820

Specs

Details

Model ID
openai/gpt-5.1-codex-mini
Developer
OpenAI
Release date
Nov 13, 2025 ·
Context window
400,000 tokens
Max output
128,000 tokens
API price
$0.25 / $2.00 per 1M input / output tokens
Providers
17
Input types
image, text
Reasoning
Yes
Tool calling
Yes
Open weights
No
Free tier
No

Release date and prices from OpenRouter's catalog; providers from OpenRouter and models.dev. Buying directly from a provider can cost a little differently. Speed, latency and uptime are measured on OpenRouter only; uptime is the share of OpenRouter requests each provider served over the last day. Benchmark scores are the best result per benchmark from Epoch AI, licensed CC BY 4.0. Rank counts every model tracked here with a score.