GPT-5.1 Codex mini

Lightweight code-focused model for efficient software development workflows.

gpt-5.1-codex-mini
STABLEGet StartedView uptime
400,000 context
Released November 12, 2025
Starting at $0.25/M input tokens
Starting at $2.00/M output tokens
Streaming
Vision
Tools
Reasoning
JSON Output
No ratings yetSign in to rate

Select Provider

All Providers for GPT-5.1 Codex mini

LLM Gateway routes requests to the best providers that are able to handle your prompt size and parameters.

OpenAI
Context: 400k
Input
$0.25
/M tokens
Cache Read
$0.025
/M tokens
Output
$2
/M tokens
+ $0.010 per search
Get Started
Azure
Context: 400k
Input
$0.25
/M tokens
Cache Read
$0.025
/M tokens
Output
$2
/M tokens
Get Started

Frequently asked questions

What is GPT-5.1 Codex mini?

Lightweight code-focused model for efficient software development workflows. You can access it through LLM Gateway's OpenAI-compatible API with automatic provider routing, fallback, and cost analytics.

How much does GPT-5.1 Codex mini cost?

Pricing for GPT-5.1 Codex mini on LLM Gateway starts at $0.25 per million input tokens and $2.00 per million output tokens, depending on the provider. The pricing table above always reflects the current per-provider rates.

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

GPT-5.1 Codex mini supports a context window of up to 400,000 tokens on its largest provider deployment.

Which providers serve GPT-5.1 Codex mini?

GPT-5.1 Codex mini is served by OpenAI, Azure through LLM Gateway. Requests are automatically routed to the best available provider, with fallback when a provider has issues.

Does GPT-5.1 Codex mini support tool calling and structured outputs?

Yes. GPT-5.1 Codex mini supports both tool (function) calling and structured JSON outputs through LLM Gateway.

When was GPT-5.1 Codex mini released?

GPT-5.1 Codex mini was released on November 12, 2025.