OpenAI

GPT-5.1 Codex mini

Generally availableProprietary400K contextReasoning

Summary

GPT-5.1 Codex mini is a proprietary language model from OpenAI, released on 13 Nov 2025. It accepts text, images and PDFs and generates text, with a 400K-token context window and up to 128K output tokens per response. As of 18 Nov 2026, the lowest listed API price is $0.25 per million input tokens and $2 per million output tokens (Azure AI Foundry), across 3 providers we track.

Coding-optimized GPT model for repository edits, reviews, and agentic software work

Last verified 18 Nov 2026. Every figure on this page links to its source.

Specifications

DeveloperOpenAI
Release date13 Nov 2025 [models.dev]
StatusGenerally available [models.dev]
WeightsProprietary (API only) [models.dev]
Context window400K (400,000 tokens) [models.dev]
Max output128K tokens [models.dev]
Knowledge cutoff30 Sept 2024 [models.dev]
InputText, images and PDFs [models.dev]
OutputText [models.dev]
Reasoning modeYes [models.dev]
Tool callingYes [models.dev]
Structured outputYes [models.dev]

GPT-5.1 Codex mini API pricing by provider

USD per million tokens. Sorted by input price.

ProviderInputOutputCached inputContextSource
Azure AI Foundry
gpt-5.1-codex-mini
$0.25$2$0.03400Kmodels.dev, 18 Nov 2026
OpenRouter
openai/gpt-5.1-codex-mini
$0.25$2$0.03400KOpenRouter, 18 Nov 2026
Vercel AI Gateway
openai/gpt-5.1-codex-mini
$0.25$2$0.03400Kmodels.dev, 18 Nov 2026

Frequently asked questions

What is the context window of GPT-5.1 Codex mini?

GPT-5.1 Codex mini has a context window of 400,000 tokens (400K) and can generate up to 128,000 tokens in a single response, according to models.dev.

How much does the GPT-5.1 Codex mini API cost?

GPT-5.1 Codex mini is listed from $0.25 per million input tokens and $2 per million output tokens (Azure AI Foundry). Prices last verified 18 Nov 2026.

Is GPT-5.1 Codex mini open source?

No. GPT-5.1 Codex mini is a proprietary model; OpenAI has not released its weights. It is available through APIs including Azure AI Foundry, OpenRouter, Vercel AI Gateway.

When was GPT-5.1 Codex mini released?

OpenAI released GPT-5.1 Codex mini on 13 Nov 2025, according to models.dev.

Which providers offer GPT-5.1 Codex mini?

We track GPT-5.1 Codex mini on 3 providers: Azure AI Foundry, OpenRouter, Vercel AI Gateway.

Similar models from other labs

Comparable on output type, weights, release date, price and context window. Prices are the lowest listed, USD per million tokens.

ModelLabReleasedContextInput $/1MOutput $/1MWeights
Relace Apply 3Relace26 Sept 2025256K$0.85$1.25Closed
Seed 2.0 LiteByteDance Seed14 Feb 2026262K$0.25$2Closed
Qwen3-VL PlusAlibaba (Qwen)23 Sept 2025262K$0.14$1.43Closed
Relace SearchRelace8 Dec 2025256K$1$3Closed
Nova 2 LiteAmazon2 Dec 20251M$0.30$2.50Closed
Morph V3 FastMorph7 Jul 2025262K$0.80$1.20Closed

Change history

  • Release date changed from 14 Nov 2025 to 13 Nov 2025
  • Name changed from GPT-5.1 Codex Mini to GPT-5.1 Codex mini
  • Name changed from GPT-5.1 Codex mini to GPT-5.1 Codex Mini
  • Input modalities changed from text, image to text, image, pdf
  • Release date changed from 13 Nov 2025 to 14 Nov 2025
  • Release date changed from 14 Nov 2025 to 13 Nov 2025
  • Input modalities changed from text, image, pdf to text, image
  • Name changed from GPT-5.1 Codex Mini to GPT-5.1 Codex mini
  • Release date changed from 13 Nov 2025 to 14 Nov 2025
  • Input modalities changed from text, image to text, image, pdf
  • Name changed from GPT-5.1 Codex mini to GPT-5.1 Codex Mini
  • Release date changed from 14 Nov 2025 to 13 Nov 2025
  • Input modalities changed from text, image, pdf to text, image
  • Name changed from GPT-5.1 Codex Mini to GPT-5.1 Codex mini
  • Release date changed from 13 Nov 2025 to 14 Nov 2025
  • Name changed from GPT-5.1 Codex mini to GPT-5.1 Codex Mini
  • Release date changed from 14 Nov 2025 to 13 Nov 2025
  • Name changed from GPT-5.1 Codex Mini to GPT-5.1 Codex mini
  • Name changed from GPT-5.1 Codex mini to GPT-5.1 Codex Mini
  • Release date changed from 13 Nov 2025 to 14 Nov 2025
  • Input modalities changed from text, image to text, image, pdf
  • Input modalities changed from text, image, pdf to text, image
  • Input modalities changed from text, image to text, image, pdf
  • Input modalities changed from text, image, pdf to text, image
  • Release date changed from 14 Nov 2025 to 13 Nov 2025

Sources