openai

OpenAI: GPT-5.1-Codex-Mini

The OpenAI GPT-5.1-Codex-Mini is designed for handling both text and image inputs with a substantial context length of 400,000 tokens and supports reasoning and tools integration. It excels in processing complex queries and generating structured outputs where needed. While it boasts a blended benchmark score of 50.2 across one independent test, its pricing stands at $0.25 per million input tokens and $2.0 per million output tokens, making it more costly than some alternatives. However, for those requiring robust multimodal capabilities and advanced reasoning tools without the need for free or open-source models, this model remains a strong contender in the market.

Quality Score
100/100
price + capability + benchmarks
Input Price
$0.25
per 1M tokens
Output Price
$2.00
per 1M tokens
Context Window
400,000
tokens

Benchmark results

Independent, published benchmarks. Blended score 49.6 across 1 benchmark, last refreshed 2026-07-27. How scoring works →

BenchmarkMeasuresScore
AI Index broad capability composite 50.5
Model ID
openai/gpt-5.1-codex-mini
Vendor
openai
Released
November 2025
Tokenizer
GPT
Input Modalities
image, text
Output Modalities
text
Max Output
128,000 tokens
Tool Calling
✓ supported
Structured Output
✓ supported
Reasoning Mode
✓ supported
Vision
✓ accepts images
Audio
no
Moderated
no

What it costs in practice

Computed from the current $0.25/M input and $2.00/M output rates. Run your own numbers →

JobTokensCost
Summarize a 50-page report 30k in / 1.5k out $0.01
Classify 1,000 customer emails 500k in / 50k out $0.23
A month of a busy support chatbot 5M in / 2M out $5.25

Category rankings

Where OpenAI: GPT-5.1-Codex-Mini places across the 2 categories it ranks in. How we rank →

#CategoryScore
#12 Code CompletionCode · of 25 ranked 132
#18 Image CaptioningVision · of 25 ranked 120

Similar models

Quick answers

How much does OpenAI: GPT-5.1-Codex-Mini cost?
$0.25 per million input tokens and $2.00 per million output tokens.
What is OpenAI: GPT-5.1-Codex-Mini's context window?
400,000 tokens, roughly 600 pages of text in a single request.
Does OpenAI: GPT-5.1-Codex-Mini support tool calling?
It supports tool calling, structured output, a reasoning mode.
Can OpenAI: GPT-5.1-Codex-Mini process images?
Yes, it accepts image input.