GPT-5.2-Codex
GPT-5.2-Codex is a large language model made by OpenAI, added to the catalog on 14 Jan 2026. It has a context window of 400,000 tokens and costs $1.75 per 1M input tokens and $14.00 per 1M output tokens. It accepts text and images and produces text. Typical uses: build projects from scratch efficiently, develop and debug features seamlessly and conduct thorough code reviews.
Price checked · source: OpenRouter
What GPT-5.2-Codex is
OpenAI's GPT-5.2-Codex, released on January 14, 2026, is an advanced model tailored for software engineering and coding workflows. With a context length of 400,000 tokens, it supports both text and image inputs, producing text outputs. This model excels in interactive development and can handle complex engineering tasks independently. Key capabilities include project building, feature development, debugging, and structured code reviews. It integrates seamlessly into developer environments like IDEs and GitHub, adjusting its reasoning effort to provide quick responses for smaller tasks while maintaining efficiency for larger projects. GPT-5.2-Codex is designed to enhance coding productivity and quality, making it a valuable tool for developers.
Key features
- Optimized for software engineering tasks
- Handles text and image inputs
- Supports structured code reviews
- Integrates with popular development tools
- Adjusts reasoning effort dynamically
Typical uses
- Build projects from scratch efficiently
- Develop and debug features seamlessly
- Conduct thorough code reviews
- Refactor large codebases effectively
- Enhance UI development with multimodal inputs
GPT-5.2-Codex pricing
US dollars, list price through OpenRouter.
| Item | Standard |
|---|---|
| Input, per 1M tokens | $1.75 |
| Output, per 1M tokens | $14.00 |
| Cached input read, per 1M tokens | $0.175 |
| Web search, per search | $0.01 |
No price change since it was added on 14 Jan 2026.
| What a task costs | Cost |
|---|---|
| Answer a short question500 in / 300 out | $0.0051 |
| Summarise a 50-page PDF25,000 in / 800 out | $0.055 |
| Review a 2,000-line source file30,000 in / 2,000 out | $0.081 |
| Read a 300-page contract set150,000 in / 1,500 out | $0.284 |
GPT-5.2-Codex specifications
| Model id | openai/gpt-5.2-codex |
|---|---|
| Version | gpt-5.2-codex-20260114 |
| Context window | 400,000 tokensAbout 300,000 English words |
| Max output | 128,000 tokens |
| Knowledge cutoff | Not published |
| Added to catalog | 14 Jan 2026 |
| Input types | text, image |
|---|---|
| Output types | text |
| Tool calling | Yes |
| Structured outputs | Yes |
| Reasoning effort control | Yes |
| Content moderation | Not applied by provider |
Sample outputs
The same prompts are given to every model, and the unedited output is shown with the date it was produced. Upend does not publish leaderboard scores it did not run.
Write a short essay
RUN20 Nov 2026Write 150 words on how AI might positively upend work, leisure and creativity
AI could positively upend work, leisure, and creativity by automating routine tasks and expanding human potential. In workplaces, AI can handle repetitive data processing, scheduling, and basic analysis, allowing people to focus on strategic thinking, empathy-driven roles, and complex problem-solving. This shift may shorten workweeks and encourage more flexible, fulfilling careers. In leisure, AI can personalize learning, entertainment, and wellness, helping individuals discover new interests, plan adventures, or improve health habits. It could also lower barriers to entry for complex hobbies such as music composition, video editing, or game design. Creativity may flourish as AI becomes a collaborator—generating ideas, drafting prototypes, or offering feedback—enabling artists, writers, and innovators to explore bolder concepts faster. Rather than replacing human imagination, AI can amplify it, turning more people into makers, explorers, and lifelong learners.