openai

OpenAI: GPT-5.1-Codex-Mini

The OpenAI GPT-5.1-Codex-Mini is an advanced AI model capable of handling both text and image inputs within a context length of 400,000 tokens, making it versatile for a range of tasks that require processing complex data sets. This model supports reasoning and tools integration, enhancing its utility in scenarios where logical inference and external tool interactions are necessary. While the GPT-5.1-Codex-Mini offers robust capabilities, its pricing at $0.25 per million input tokens and $2.0 per million output tokens may not be ideal for all budgets. Its blended benchmark score of 50.9 across independent evaluations suggests it performs well in a broad range of tasks but falls short compared to more advanced models like GPT-6 or larger variants. Those seeking a balance between cost and functionality should consider this model, especially if reasoning and tool support are critical requirements for their applications.

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 50.9 across 1 benchmark, last refreshed 2026-08-13. How scoring works →

BenchmarkMeasuresScore
AI Index broad capability composite 51.7
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

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.