GPT-5.1 Codex Mini is
OpenAI's language model with a 400K context window and up to 128K output tokens, available from 4 providers, starting at $0.250 / 1M input and $2.00 / 1M output. A smaller, more cost-effective variant of GPT-5.1 Codex that trades some capability for speed and efficiency in agentic coding tasks.
openai-gpt-5-1-codex-mini |
| Language |
| Active |
| 400K tokens |
| 128K tokens |
| ImagePdfText |
| Text |
| defaultminimal |
| · 5 months ago |
38.6#28 |
36.4#26 |
91.7#7 |
0.8#44 |
0.8#35 |
0.2#32 |
0.8#7 |
0.7#25 |
5.07s#308 |
0.4#22 |
0.9#7 |
0.6#24 |
0.3#26 |
0.6#67 |
195.0#15 |
Capabilities
Input3/5
✓
✓
·
·
✓
Output1/5
✓
·
·
·
·
Capabilities7/13
✓
·
✓
✓
✓
✓
✓
·
·
·
·
✓
·
Pricing by Provider
| Provider | Standard | Batch | |||
|---|---|---|---|---|---|
| Input $ / 1M | Output $ / 1M | Cache Read $ / 1M | Input $ / 1M | Cache Read $ / 1M | |
OpenAI | $0.250 | $2.00 | $0.025 | — | — |
OpenRouter | $0.250 | $2.00 | $0.030 | — | — |
Vercel AI Gateway | $0.250 | $2.00 | $0.025 | — | — |
Azure AI Foundry | $0.275 | $2.20 | $0.028 | $0.625 | $0.063 |
Regional pricing
Provider-specific pricing that varies by region.
Azure AI Foundry
27 regions
| Region | Standard | Batch | |||
|---|---|---|---|---|---|
| Input $ / 1M | Output $ / 1M | Cache Read $ / 1M | Input $ / 1M | Cache Read $ / 1M | |
| Global | |||||
| Global | $0.275 | $2.20 | $0.028 | — | — |
| Africa | |||||
| South Africa North (Johannesburg)/ southafricanorth | $1.25 | — | $0.125 | $0.625 | $0.063 |
| Asia Pacific | |||||
| Australia East (New South Wales)/ australiaeast | $1.25 | — | $0.125 | $0.625 | $0.063 |
| Japan East (Tokyo, Saitama)/ japaneast | $1.25 | — | $0.125 | $0.625 | $0.063 |
| Korea Central (Seoul)/ koreacentral | $1.25 | — | $0.125 | $0.625 | $0.063 |
| South India (Chennai)/ southindia | $1.25 | — | $0.125 | $0.625 | $0.063 |
| Canada | |||||
| Canada East (Quebec)/ canadaeast | $1.25 | — | $0.125 | $0.625 | $0.063 |
| Europe | |||||
| France Central (Paris)/ francecentral | $1.38 | — | $0.138 | $0.625 | $0.063 |
| Germany West Central (Frankfurt)/ germanywestcentral | $1.25 | — | $0.138 | $0.688 | $0.063 |
| Norway East (Norway)/ norwayeast | $1.25 | — | $0.125 | $0.625 | $0.063 |
| Poland Central (Warsaw)/ polandcentral | $1.38 | — | $0.138 | $0.688 | $0.063 |
| Spain Central (Madrid)/ spaincentral | $1.25 | — | $0.125 | $0.625 | $0.069 |
| Sweden Central (Gävle)/ swedencentral | $1.25 | — | $0.138 | $0.625 | $0.069 |
| Switzerland North (Zurich)/ switzerlandnorth | $1.25 | — | $0.125 | $0.625 | $0.063 |
| UK South (London)/ uksouth | $1.25 | — | $0.125 | $0.625 | $0.063 |
| West Europe (Netherlands)/ westeurope | $1.38 | — | $0.125 | $0.625 | $0.069 |
| Middle East | |||||
| UAE North (Dubai)/ uaenorth | $1.25 | — | $0.125 | $0.625 | $0.063 |
| South America | |||||
| Brazil South (Sao Paulo State)/ brazilsouth | $1.25 | — | $0.125 | $0.625 | $0.063 |
| US | |||||
| Central US (Iowa)/ centralus | $1.25 | — | $0.138 | $0.625 | $0.063 |
| East US (Virginia)/ eastus | $1.38 | — | $0.138 | $0.688 | $0.063 |
| East US 2 (Virginia)/ eastus2 | $1.38 | — | $0.125 | $0.625 | $0.063 |
| North Central US (Illinois)/ northcentralus | $1.38 | — | $0.125 | $0.625 | $0.069 |
| South Central US (Texas)/ southcentralus | $1.38 | — | $0.125 | $0.625 | $0.069 |
| US Gov Arizona/ usgovarizona | $1.72 | — | $0.172 | — | — |
| US Gov Virginia/ usgovvirginia | $1.72 | — | $0.172 | — | — |
| West US (California)/ westus | $1.38 | — | $0.138 | $0.625 | $0.069 |
| West US 3 (Phoenix)/ westus3 | $1.38 | — | $0.125 | $0.625 | $0.069 |
Cost Calculator
Preset:
Compares every provider & tier in USD
Versions
| Version | Released | Context | Input / 1M | Output / 1M | Status |
|---|---|---|---|---|---|
| GPT-5.4 Mini | 1.1M | $0.750 | $4.50 | Available | |
| GPT-5.4 Nano | 1.1M | $0.200 | $1.25 | Available | |
| GPT-5.4 | 1.1M | $2.50 | $15.00 | Available | |
| GPT-5.4 Pro | 1.1M | $30.00 | $180.00 | Available | |
| GPT-5.4 3.5 | — | 1.1M | — | — | Available |
| GPT-5.4 Pro 3.5 | — | 1.1M | — | — | Available |
| GPT-5.3 Chat | 128K | $1.75 | $14.00 | Available | |
| GPT-5.3 Codex | 400K | $1.75 | $14.00 | Available | |
| GPT-5.3 Codex Spark | — | 128K | — | — | Available |
| GPT-5.3 Instant | — | 128K | — | — | Available |
| GPT-5.1 Codex Mini | 400K | $0.250 | $2.00 | Current |