Skip to content
OpenAI

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.

Checked
GPT-5.2-Codex price list
ItemStandard
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 typical tasks cost with GPT-5.2-Codex
What a task costsCost
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
Check the provider's pageToken counts are estimates. A maker's direct price and its monthly plans can differ from the per-token price shown here.

GPT-5.2-Codex specifications

GPT-5.2-Codex limits and identity
Model idopenai/gpt-5.2-codex
Versiongpt-5.2-codex-20260114
Context window400,000 tokensAbout 300,000 English words
Max output128,000 tokens
Knowledge cutoffNot published
Added to catalog14 Jan 2026
GPT-5.2-Codex capabilities
Input typestext, image
Output typestext
Tool callingYes
Structured outputsYes
Reasoning effort controlYes
Content moderationNot 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 2026
Prompt

Write 150 words on how AI might positively upend work, leisure and creativity

Output

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.

GPT-5.2-Codex questions

How much does GPT-5.2-Codex cost?

GPT-5.2-Codex costs $1.75 per 1M input tokens and $14.00 per 1M output tokens through OpenRouter, as checked on 22 Nov 2026. Summarising a 50-page PDF costs about $0.055.

What is the context window of GPT-5.2-Codex?

400,000 tokens, or roughly 300,000 English words. It can write up to 128,000 tokens in one response.

Can GPT-5.2-Codex read images and PDFs?

It accepts text and images as input. It produces text, so it cannot generate images.

How do I try GPT-5.2-Codex?

Use the "Try GPT-5.2-Codex" button on this page. It opens the chat with GPT-5.2-Codex selected; you type the question and press send.

Try GPT-5.2-Codex on your own question.

It opens in the chat with this model already selected.

Sign in to Upend

Use an account you already have, or get a one-time code by email.

Use a password instead

For accounts that already have a password. Forgotten it? An emailed code signs you in just the same.