GPT-5.1-Codex-Mini: Pricing, Context Window & Benchmarks
by OpenAI
GPT-5.1-Codex is a specialized version of GPT-5.1 optimized for software engineering and coding workflows. It is designed for both interactive development sessions and long, independent execution of complex engineering tasks. The model supports building projects from scratch, feature development, debugging, large-scale refactoring, and code review. Compared to GPT-5.1, Codex is more steerable, adheres closely to developer instructions, and produces cleaner, higher-quality code outputs. Reasoning effort can be adjusted with the `reasoning.effort` parameter. Read the [docs here](https://openrouter.ai/docs/use-cases/reasoning-tokens#reasoning-effort-level) Codex integrates into developer environments including the CLI, IDE extensions, GitHub, and cloud tasks. It adapts reasoning effort dynamically—providing fast responses for small tasks while sustaining extended multi-hour runs for large projects. The model is trained to perform structured code reviews, catching critical flaws by reasoning over dependencies and validating behavior against tests. It also supports multimodal inputs such as images or screenshots for UI development and integrates tool use for search, dependency installation, and environment setup. Codex is intended specifically for agentic coding applications.
What you can do with GPT-5.1-Codex-Mini
Everyday Q&A and clear explanations
Writing help (emails, posts, summaries)
Idea generation and brainstorming
Learning support with step-by-step guidance
Composite Indices
Intelligence, Coding, Math
Standard Benchmarks
Academic and industry benchmarks
Benchmark Highlights
| Metric | Value |
|---|---|
| Provider | OpenAI |
| Context Window | 400,000 tokens |
| Input Price | $0.25/1M tokens |
| Output Price | $2.00/1M tokens |
| Release Date | Nov 13, 2025 |
| Modalities | image, text |
| Capabilities | Vision |
Compare GPT-5.1-Codex-Mini to other models
See how it stacks up on price, quality, and overall performance.
Frequently asked questions
What is GPT-5.1-Codex-Mini good for?
Use GPT-5.1-Codex-Mini for everyday tasks like writing, summarizing, brainstorming, and getting clear explanations.
How much does GPT-5.1-Codex-Mini cost?
Pricing is based on usage. Current rates are $0.25/1M tokens for input and $2.00/1M tokens for output.
Can I try GPT-5.1-Codex-Mini for free?
Yes. You can start a chat instantly and test the model before deciding on a plan.
Does GPT-5.1-Codex-Mini support images or audio?
GPT-5.1-Codex-Mini can understand images.
Suggested comparisons
Similar models
Benchmarks and pricing are sourced from Artificial Analysis where available. OpenRouter specs are used as a fallback.
Compare Models
Select a model to compare with GPT-5.1-Codex-Mini