OpenAI logo

Codex Mini


Codex Mini is OpenAI's language model with a 200K context window and up to 100K output tokens, available from 2 providers, starting at $1.50 / 1M input and $6.00 / 1M output. A fine-tuned variant of o4-mini optimized for use in Codex CLI, balancing coding capability with low latency for developer tooling.
Specifications
Canonical IDopenai-codex-mini
TypeLanguage
StatusActive
CreatorOpenAIOpenAI
Providers
Context Window200K tokens
Max Output100K tokens
Input ModalitiesImagePdfText
Output ModalitiesText
Reasoning Effortsdefault
Knowledge Cutoff

Capabilities

Input3/5
Textβœ“
Imageβœ“
AudioΒ·
VideoΒ·
PDFβœ“
Output1/5
Textβœ“
ImageΒ·
AudioΒ·
VideoΒ·
EmbeddingΒ·
Capabilities6/13
Reasoningβœ“
Adaptive ReasoningΒ·
Function Callingβœ“
Parallel Function Callingβœ“
Structured Outputsβœ“
Native JSON Schemaβœ“
Web SearchΒ·
URL ContextΒ·
Computer UseΒ·
Code ExecutionΒ·
File SearchΒ·
Prompt Cachingβœ“
Assistant PrefillΒ·

Pricing by Provider

ProviderStandard
Input
$ / 1M
Output
$ / 1M
Cache Read
$ / 1M
Azure AI Foundry logo
Azure AI Foundry
azure/codex-mini
$1.50$6.00$0.375
OpenAI logo
OpenAI
codex-mini-latest
$1.50$6.00$0.375
Provider-specific pricing that varies by region.
Azure AI Foundry logo
Azure AI Foundry
14 regions
RegionStandard
Input
$ / 1M
Output
$ / 1M
Cache Read
$ / 1M
Global
Global$1.50$6.00$0.375
Europe
France Central (Paris)/ francecentral$0.413β€”β€”
Germany West Central (Frankfurt)/ germanywestcentral$0.413β€”β€”
Poland Central (Warsaw)/ polandcentral$1.65β€”β€”
Spain Central (Madrid)/ spaincentral$0.413β€”β€”
Sweden Central (GΓ€vle)/ swedencentral$1.65β€”β€”
West Europe (Netherlands)/ westeurope$0.413β€”β€”
US
Central US (Iowa)/ centralus$1.65β€”β€”
East US (Virginia)/ eastus$0.413β€”β€”
East US 2 (Virginia)/ eastus2$0.413β€”β€”
North Central US (Illinois)/ northcentralus$1.65β€”β€”
South Central US (Texas)/ southcentralus$0.413β€”β€”
West US (California)/ westus$0.413β€”β€”
West US 3 (Phoenix)/ westus3$0.413β€”β€”

Cost Calculator

Preset:
Compares every provider & tier in USD

Versions

VersionReleasedContextInput / 1MOutput / 1MStatus
Codex 5.1 Miniβ€”β€”β€”β€”Available
Codex Miniβ€”200K$1.50$6.00Current

Other models

ModelTierReleasedContextInput / 1MOutput / 1M
Codex 5.1β€”β€”β€”β€”β€”
Codex 5.1 Maxβ€”β€”β€”β€”β€”
Codex 5.2β€”β€”β€”β€”β€”
Codex 5.3β€”β€”β€”β€”β€”

Model IDs