by OpenAI· 1 months ago
OpenAI's agentic coding model with context compaction and long-horizon task completion. First model in the GPT-5 Codex series.
Context Window
400K
Max Output
128K
TTFT
500ms
Speed
60 tok/s
Input Price
$1.75/M tokens
Output Price
$14.00/M tokens
Performance Profile
Frontier-tier performance at $1.75/M input tokens
400K token context window — handles lengthy documents with ease
Supports text + code — true multimodal capability
Consistently scores 80%+ across major benchmarks
Long-horizon task completion with context compaction for complex software engineering workflows.
Process and refactor large codebases with 400K context window and 128K output.
Generate comprehensive test suites and debug complex systems autonomously.
vs similar-tier models
| Model | Input | Output | Context | Avg Score |
|---|---|---|---|---|
GPT-5.2-CodexCurrent OpenAI | $1.75 | $14.00 | 400K | 82.9 |
Kimi K2.5 Moonshot AI | $0.45 | $2.20 | 256K | 92.3 |
Gemini 2.5 Pro | $1.25 | $10.00 | 1.0M | 88.4 |
Generate a function
$0.0051Spec → implementation with tests
500 in · 300 out
Review a 2,000-line PR
$0.045Full pull request code review
10,000 in · 2,000 out
Refactor a 5,000-line module
$0.114Major refactoring with explanations
25,000 in · 5,000 out
Analyze a full codebase
$0.315Architecture analysis + recommendations
100,000 in · 10,000 out
Code generation
$152/mo
$5/day
PR reviews
$1365/mo
$46/day
Codebase analysis
$5985/mo
$200/day
No ratings yet. Be the first to rate this model!
Sign in to rate this model and share your experience.
Sign in to leave a comment and join the discussion.
OpenAI
OpenAI's most advanced multimodal model. Excels at text, vision, and audio tasks with fast response times.
Input
$2.50/M
Output
$10.00/M
Context
128K
OpenAI
OpenAI's reasoning model with chain-of-thought capabilities for complex problem solving.
Input
$15.00/M
Output
$60.00/M
Context
200K
OpenAI
OpenAI's efficient reasoning model, optimized for speed while maintaining strong analytical capabilities.
Input
$1.10/M
Output
$4.40/M
Context
200K
Moonshot AI
Moonshot AI's frontier multimodal MoE model with 1T total parameters (32B active). Tops SWE-bench and AIME 2025 benchmarks.
Input
$0.45/M
Output
$2.20/M
Context
256K
Google's most capable thinking model with breakthrough performance on reasoning and coding.
Input
$1.25/M
Output
$10.00/M
Context
1.0M
Anthropic
Anthropic's most powerful model. Top-tier performance on coding, analysis, and complex reasoning tasks.
Input
$15.00/M
Output
$75.00/M
Context
200K