GPT-5.1-Codex
Provider: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....
Key specs
- Context:400K
- Max output:128K
- Tokenizer:GPT
- Released:2025-11-13
Token pricing
- Input price:$1.25 / 1M tokens
- Output price:$10.00 / 1M tokens
- Cache read:$0.130 / 1M tokens
- Blended price:$3.44 / 1M tokens
Modalities
Text, Image
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.040/call)
- Deep Reasoning & Analysis:Process long legal docs, academic papers, financial reports; multi-hop reasoning and evidence-chain tracing across huge contexts.(≈ $0.080/call)
- Vision Understanding & Generation:Recognize data trends in charts, OCR scanned docs, analyze photos and produce structured reports.(≈ $0.060/call)
- Chat & Support:FAQ auto-response, multi-turn dialogue, emotion detection — e-commerce, finance, gov.(≈ $0.020/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.
- 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? Input price $1.25 / 1M tokens, output price $10.00 / 1M tokens, blended about $3.44 / 1M tokens. Refer to OpenAI’s official page for the exact rate.
- What context window does GPT-5.1-Codex 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 best for? Based on its capability and pricing, GPT-5.1-Codex 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 support? Supports Text, Image modality.
- Is GPT-5.1-Codex a free model? GPT-5.1-Codex is billed per token, not a free model.
- Which provider offers GPT-5.1-Codex? GPT-5.1-Codex is offered by OpenAI.
More models from OpenAI
Full info:GPT-5.1-Codex