GPT-5.1-Codex-Mini: API pricing, context window and capabilities

Prices from official vendor price lists · October 2026

GPT-5.1-Codex-Mini costs $0.25 per 1M input tokens and $2 per 1M output tokens, with a 400K context window. Mid-priced: dearer than 50% of this rating, with GPT-5.4 Nano as the nearest cheaper OpenAI option. Recorded for vision, coding, reasoning.

Capabilities
Text & chatVisionCoding
API $/1M (in / out)
$0.25 / $2
Context window
400K tokens
Price / mo
API only

GPT-5.1-Codex-Mini is an AI model from OpenAI, priced at $0.25 input and $2 output per 1M tokens. That places it in the mid tier of this rating — dearer than 50% of the 205 priced models listed.

It holds 400K tokens in a single conversation. Capabilities recorded in this rating: text & chat, vision, coding, reasoning, tool calling. Access is through the API rather than a consumer subscription.

API price$0.25 / $2per 1M tokens, in / out
Context400K tokenstokens per conversation
VendorOpenAIall models from this vendor
TierMiddearer than 50% of models

Cost calculator

Standard$1.56AED 6 per month
With batch −50%$0.78AED 3 per month
With caching on input$1.51AED 6 per month
Standard$15.63AED 57 per month
With batch −50%$7.81AED 29 per month
With caching on input$15.06AED 55 per month
Standard$78.13AED 287 per month
With batch −50%$39.06AED 143 per month
With caching on input$75.31AED 277 per month
Standard$313AED 1,148 per month
With batch −50%$156AED 574 per month
With caching on input$301AED 1,106 per month

Assumes a 1:3 input-to-output ratio, which is typical for chat and generation. Dirham figures use 3.6725 per dollar. Batch and caching discounts apply where the vendor offers them.

Compared with alternatives

Good and poor fit

Good fit
  • Multi-step analysis, planning and code review, where the first plausible answer is often wrong.
  • Writing, reviewing and refactoring code, including fill-in-the-middle edits.
  • Reading screenshots, charts, scanned documents and photos.
Poor fit
  • Long multi-step reasoning, where a larger model finishes in fewer attempts.

Related filters

Text & chat234 models for text generation and chat
Vision159 models that read images
Coding17 models built for writing code
Reasoning175 models that think before answering
Tool calling172 models that call your functions
OpenAI30 models from this vendor
All 245 modelsThe full rating with filters and prices

Frequently asked questions

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

$0.25 / $2 per 1M tokens, input and output. In dirhams that is roughly AED 0.92 per 1M input tokens. Batch processing halves it where the vendor offers it.

What is the context window of GPT-5.1-Codex-Mini?

400K tokens in a single conversation.

What can GPT-5.1-Codex-Mini do?

In this rating it is recorded with: text & chat, vision, coding, reasoning, tool calling, structured JSON output, code execution, prompt caching, batch API, priority / fast tier, low latency, multilingual, proprietary API.

Is GPT-5.1-Codex-Mini a good choice?

It depends on the job. See the good-fit and poor-fit lists above, and compare against the neighbouring models before committing.

Frequently searched

Ratings 0

Avg. score 0

Rate this page

Help us improve