GPT-5.1 Codex Mini
gpt-5.1-codex-mini
OpenAI's lightweight Codex — fast and affordable code generation on the Basic plan.
Technical Specifications
| API Identifier | gpt-5.1-codex-mini |
|---|---|
| Plans | Basic |
| Maximum Context | 200 000 tokens |
| Vision (images) | No |
| Native Web Access | No |
| Image Generation | No |
| Input Cost | $0.40 / M tokens |
| Output Cost | $1.60 / M tokens |
Overview
GPT-5.1 Codex Mini is the compact version of OpenAI's Codex family, specialized in code generation and completion. With 200,000 tokens of context and a controlled cost, it's well suited to everyday development tasks — functions, scripts, small modules — without the bill of a top-tier Codex model. Mingo selects it on the Basic plan for code requests that don't need the depth of GPT-5.1 Codex Max.
Strengths
Ideal Use Cases
Functions and scripts
Quick generation of functions, utility scripts and small modules.
Code completion
Suggestions and completions in an editor or coding assistant.
Simple bug fixes
Identifying and fixing common errors in small files.
Unit tests
Generating unit tests for existing functions.
Pricing
Related Models
Frequently Asked Questions
Use GPT-5.1 Codex Mini with Mingo
Mingo automatically routes your everyday code tasks to GPT-5.1 Codex Mini on the Basic plan.
Try Mingo for free