Back to all models

Pricing and availability as of

GPT-5.1 Codex mini

Lightweight code-focused model for efficient software development workflows.

gpt-5.1-codex-mini
Context
400,000
tokens
Max output
128,000
tokens
Input from
$0.25
per 1M tokens
Output from
$2.00
per 1M tokens
Providers
1
one route
Released
Nov 12, 2025
  • Streaming
  • Vision
  • Tools
  • Reasoning
  • JSON Output
  • Batch API
No ratings yetSign in to rate

Providers for GPT-5.1 Codex mini

Compare price, limits and live performance side by side. LLM Gateway routes each request to the best provider that can handle your prompt size and parameters.

1 provider

ProviderActions
400k128k$0.25$2.00$0.025

Prices are per provider at standard rates; open a row for regions, tiers and cache pricing. Throughput, latency and uptime come from LLM Gateway traffic over the last 24 hours and are hidden under 1,000 requests.

GPT-5.1 Codex mini API pricing

GPT-5.1 Codex mini API pricing starts at $0.25 per 1M input tokens and $2.00 per 1M output tokens through LLM Gateway. Cached input starts at $0.025 per 1M tokens.

ProviderInput / 1M tokensOutput / 1M tokensCached input / 1M tokensContext window
Azure$0.25$2.00$0.025400,000 tokens

What GPT-5.1 Codex mini costs at volume

Monthly usageCost on Azure
1M input + 250K output tokens$0.75
10M input + 2.5M output tokens$7.50
100M input + 25M output tokens$75.00

GPT-5.1 Codex mini cost calculator

Estimated monthly cost
$12.50
Cost per request
$0.0013

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 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?

GPT-5.1 Codex mini supports tool (function) calling and soft JSON output, but NOT strict JSON output schema (its upstream provider does not enforce it).

When was GPT-5.1 Codex mini released?

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