Codex Mini
azure The API that serves this model and sets the prices shown here. codex-mini The model identifier to send in API requests. LLM Generates text from a prompt, so it can be compared with other LLMs on price and capability. Small The fast, low-latency tier of a model family, suited to high-volume or simple tasks. Retired Aug 13, 2026 This model has been retired and can no longer be relied on.Provider: openai · served via Azure
Knowledge cutoff: April 2024
Listed as deprecated on models.dev as of 2026-08-13.
Sticker prices & cost-per-token
List rates as published by Azure, before any volume or enterprise discounts.
$1.50
$6.00
200,000 tokens
100,000
tokens per response (includes reasoning tokens)
Closed weights
$0.375
Get this data free
Want to stay updated on price changes on this model? Pull this data free (no API key required) here:
curl "https://coolhandlabs.com/api/v2/inference_apis?q%5Bmodel_eq%5D=codex-mini&q%5Bsource_api_eq%5D=azure"
Pricing History
| Effective | Price |
|---|---|
| Aug 16, 2026 – present | Input cost: $1.50 / 1M, Output cost: $6.00 / 1M, Cached input cost: $0.375 / 1M, Cache creation cost: $0.00 / 1M, 5-minute cache write cost: $0.00 / 1M, 1-hour cache write cost: $0.00 / 1M, Reasoning output cost: $0.00 / 1M, Cache storage cost: $0.00 / 1M/hr |
History
No automated scan changes recorded yet.
| Date | Changed by | What changed |
|---|---|---|
| Aug 16, 2026 | Unknown | Initial record created |
Source
https://models.dev/api.json (models.dev provider 'azure', bulk import 2026-08-13)Comparable models
No comparable models identified yet.
Reliability
No reliability incidents recorded in the last 90 days.
Frequently asked questions
Codex Mini (openai via Azure) costs $1.50 per 1M input tokens and $6.00 per 1M output tokens, as last published by Azure.
Codex Mini has a context window of 200,000 tokens (the maximum combined input and output it can handle in a single request).
Codex Mini sits in the small size tier. Size tiers run from micro (small enough to run on a device) through small, medium and large to extra large (frontier flagships), and are assigned from the model's family, naming and limits rather than its price.
Codex Mini can generate up to 100,000 tokens in a single response. Reasoning (thinking) tokens count toward this limit.
Codex Mini's training data runs through April 2024, so it may not know about later events. Coolhand records the cutoff at month precision, since providers often publish only the month.
Codex Mini accepts text as input and produces text as output, as recorded in the Coolhand catalog.
No — the weights of Codex Mini have not been released, so it is only available through hosted APIs.
Yes — openai deprecated Codex Mini on August 13, 2026. Listed as deprecated on models.dev as of 2026-08-13.
openai retired Codex Mini on August 13, 2026.
Since Codex Mini is deprecated, openai customers are moving to GPT-4, GPT-Image-2, and o1 Mini.
Call GET https://coolhandlabs.com/api/v2/inference_apis?q[source_api_eq]=azure&q[model_eq]=codex-mini — free, no API key required, and scoped to just this model since source_api and model together are unique. See https://coolhandlabs.com/docs for the full REST API reference.
Coolhand also tracks GPT-4, GPT-3.5 Turbo 0125, GPT-3.5 Turbo 1106, GPT-3.5 Turbo Instruct, GPT-4 Turbo Vision, and GPT-4 from openai. Some may already be deprecated, so check each model's status alongside its current pricing.
| Model | Input cost | Output cost | Context window | Max output tokens | Status |
|---|---|---|---|---|---|
| GPT-4 | $30.00/1M $0.0000300000 | $60.00/1M $0.0000600000 | 8,192 | 8,192 |
Deprecated Oct 23, 2026
|
| GPT-3.5 Turbo 0125 via Azure | $0.50/1M $0.0000005000 | $1.50/1M $0.0000015000 | 16,384 | 16,384 |
Deprecated Aug 13, 2026
|
| GPT-3.5 Turbo 1106 via Azure | $1.00/1M $0.0000010000 | $2.00/1M $0.0000020000 | 16,384 | 16,384 |
Deprecated Aug 13, 2026
|
| GPT-3.5 Turbo Instruct via Azure | $1.50/1M $0.0000015000 | $2.00/1M $0.0000020000 | 4,096 | 4,096 |
Deprecated Aug 13, 2026
|
| GPT-4 Turbo Vision via Azure | $10.00/1M $0.0000100000 | $30.00/1M $0.0000300000 | 128,000 | 4,096 |
Deprecated Aug 13, 2026
|
| GPT-4 via Azure | $30.00/1M $0.0000300000 | $60.00/1M $0.0000600000 | — | — | Active |
Track LLM pricing and deprecations automatically.
Start free