GPT-5.1-Codex-Mini
Provider:OpenAI
GPT-5.1-Codex-Mini is a smaller and faster version of GPT-5.1-Codex
Key specs
- Context:400K
- Max output:128K
- Tokenizer:GPT
- Released:2025-11-13
Token pricing
- Input price:$0.250 / 1M tokens
- Output price:$2.00 / 1M tokens
- Cache read:$0.030 / 1M tokens
- Blended price:$0.688 / 1M tokens
Modalities
Image, Text
Use Cases
- Code Generation & Review:Auto-complete functions, generate unit tests, cross-file refactor suggestions; supports JSON Schema–constrained output for direct API integration.(≈ $0.0080/call)
- Deep Reasoning & Analysis:Process long legal docs, academic papers, financial reports; multi-hop reasoning and evidence-chain tracing across huge contexts.(≈ $0.016/call)
- Vision Understanding & Generation:Recognize data trends in charts, OCR scanned docs, analyze photos and produce structured reports.(≈ $0.012/call)
When to pick this model
Signals derived from public pricing and spec fields — not a benchmark. Validate with official docs and your own eval.
- Low input price: cost-effective for tasks that consume large context (RAG, long-doc analysis).
- Long max output (>=30K tokens): strong fit for deep report / essay / document-drafting workflows.
- Multimodal (text+image): fit for image captioning, OCR, chart QA, vision-grounded reasoning.
FAQ
- What is the token pricing of GPT-5.1-Codex-Mini? Input price $0.250 / 1M tokens, output price $2.00 / 1M tokens, blended about $0.688 / 1M tokens. Refer to OpenAI’s official page for the exact rate.
- What context window does GPT-5.1-Codex-Mini support? Context window is 400K, max output about 128K, suitable for long documents, multi-turn chat and complex reasoning.
- What scenarios is GPT-5.1-Codex-Mini best for? Based on its capability and pricing, GPT-5.1-Codex-Mini fits best: Code Generation & Review, Deep Reasoning & Analysis, Vision Understanding & Generation. See the Use Cases section for details and cost estimates.
- What input/output modalities does GPT-5.1-Codex-Mini support? Supports Image, Text modality.
- Is GPT-5.1-Codex-Mini a free model? GPT-5.1-Codex-Mini is billed per token, not a free model.
- Which provider offers GPT-5.1-Codex-Mini? GPT-5.1-Codex-Mini is offered by OpenAI.
More models from OpenAI
Full info:GPT-5.1-Codex-Mini