OpenAIUpdated 2h ago

OpenAI: GPT-5.1-Codex-Mini API Pricing

Live token cost for OpenAI: GPT-5.1-Codex-Mini from OpenAI. Use the figures below for budgeting, then tune your exact request mix in the interactive calculator. Prices refresh every 24 hours from OpenRouter.

Input
$0.250
/ 1M tokens
Output
$2.00
/ 1M tokens
Cached input
$0.030
/ 1M tokens

Capabilities

400K context128K max outputVisionPrompt cachingBatch API (50% off)

OpenAI: GPT-5.1-Codex-Mini cost at scale

Estimated monthly cost across common production volumes. Assumes 30-day months and the request shapes shown.

TierRequests / dayIn / out tokens$ / month
Hobby1,000500 / 200$15.75
Startup10,0001,500 / 500$412.50
Growth100,0003,000 / 800$7,050.00
Enterprise1,000,0008,000 / 2,000$180,000.00
Enterprise (batch mode)1,000,0008,000 / 2,000$90,000.00
Open OpenAI: GPT-5.1-Codex-Mini in interactive calculator →

Compare OpenAI: GPT-5.1-Codex-Mini vs.

Frequently asked questions

How much does OpenAI: GPT-5.1-Codex-Mini cost?

OpenAI: GPT-5.1-Codex-Mini costs $0.25 per 1M input tokens and $2.00 per 1M output tokens, with cached input at $0.03 per 1M tokens. A typical 1,500-token in / 500-token out request costs $0.00137.

Does OpenAI: GPT-5.1-Codex-Mini support cached input?

Yes. OpenAI: GPT-5.1-Codex-Mini supports prompt caching at $0.03 per 1M cached input tokens. Reuse the same system prompt or context across requests to cut input cost dramatically.

What is the OpenAI: GPT-5.1-Codex-Mini context window?

OpenAI: GPT-5.1-Codex-Mini supports a context window of 400,000 tokens (400K). Max output per response is 128,000 tokens.

What is OpenAI: GPT-5.1-Codex-Mini good for?

OpenAI: GPT-5.1-Codex-Mini is a good fit for frontier reasoning, agentic tool use, code generation, multimodal analysis. For other use cases, run your specific input/output mix through the interactive calculator to compare against alternative models.