OpenaiMultimodalReleased 14 January 2026

GPT-5.2-Codex pricing, context and benchmark

GPT-5.2-Codex is an upgraded version of GPT-5.1-Codex optimized for software engineering and coding workflows.

400K
Input context
128K
Output context
$1.75
Official input
$14
Official output
n/a
AA index

Everything that matters, in one table

Context, pricing, cache, modalities and tooling, from the model registry and Artificial Analysis.

ModelGPT-5.2-Codex
Model IDopenai/gpt-5.2-codex
ProviderOpenai
Release date14 January 2026
StatusGenerally available
Input context400,000 tokens
Output context128,000 tokens
Official input pricing$1.75 per 1M tokens
Official output pricing$14 per 1M tokens
Cache read pricing$0.175 per 1M tokens (90% off input)
Market input pricing$1.75 per 1M (cheapest route)
Market output pricing$14 per 1M (cheapest route)
Input modalitiestext · image
Output modalitiestext
Reasoning controlNot exposed
Tool supportText generation only
TokenizerGPT
Provider routes1 endpoint
Artificial Analysis indexNot published
Speed59 tokens/s, 72.89s to first token
Knowledge cutoffNot publicly stated

Input and output support

ModalityInputOutputBilled at
Text✓ yes✓ yes$1.75 in
Image✓ yesno$1.75 in
Audionononot supported
Videonononot supported
File (PDF)nononot supported

What is GPT-5.2-Codex?

GPT-5.2-Codex is an upgraded version of GPT-5.1-Codex optimized for software engineering and coding workflows.

It is designed for both interactive development sessions and long, independent execution of complex engineering tasks....

GPT-5.2-Codex carries a 400K token window, uses the GPT tokenizer and is served by Openai. On Hoodgen it sits in the Multimodal tier of the model menu next to its siblings, so you can switch mid conversation without losing the thread.

Release and what changed from the previous version

Released14 January 2026

This is the only release of GPT-5.2-Codex on OpenRouter, released 14 January 2026. The provider has not published a knowledge cutoff, so treat training data as recent but unconfirmed for very new events.

Features and capabilities

◉
Vision
Screenshots, charts and photographed documents are read at the text token rate.
⚡
Prompt caching
Cached input costs $0.175 per million instead of $1.75, so stable prefixes get cheaper.

What can you do with GPT-5.2-Codex?

Document understanding
Screenshots, charts, scanned pages and PDFs read in the prompt.
Mixed media briefs
One thread holding text, images and files together.
Extraction
Schema constrained JSON out of messy inputs.
Research synthesis
Several sources condensed with the figures preserved.

Prompt caching and how to cut the bill

Cached input bills at $0.175 per million instead of $1.75, a 90% discount. Keep the system prompt and documents first and the changing question last, so every call hits the cache.

GPT-5.2-Codex pricing

Official pricing

List price
$1.75 / 1M in
$14 / 1M out
  • $0.175 cached input
  • 400K context
  • text, image input
Cheapest route
$1.75 / 1M in
$14 / 1M out
  • 1 route on OpenRouter
  • What Hoodgen routes to first
  • Same model, lower bill

Market pricing, every route

ProviderTierInputOutputCache readUptime 24h
Azurestandard$1.75$14$0.175100.0%

API pricing and cost calculator

RatePer callTotalCredits
Cheapest route$0.0371$18.5517623
List price$0.0371$18.5517623

API and developer information

Model IDopenai/gpt-5.2-codex
Endpointhttps://openrouter.ai/api/v1/chat/completions
Parametersprompt and max_tokens
StreamingYes, server sent events
Modality stringtext+image->text
Max prompt tokens400,000
Max completion tokens128,000
curl https://openrouter.ai/api/v1/chat/completions \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "openai/gpt-5.2-codex",
    "messages": [{ "role": "user", "content": "Summarise this document." }],
    "max_tokens": 1024
  }'

Model limitations

Text only outputIt cannot generate images, audio or video. Pair it with an image model on Hoodgen when you need visuals.
Output cap128,000 tokens per request. Long deliverables have to be chunked.
Benchmarks not publishedArtificial Analysis does not publish an Intelligence Index for this release, so no benchmark score is claimed here.
Knowledge cutoffThe provider does not state a fixed cutoff for every release. Verify very recent events against search.

GPT-5.2-Codex vs other Openai models

ModelContextInput /1MOutput /1MAA indexReleased
GPT-5.2-Codex400K$1.75$14n/a2026
GPT-6 Astra1.05M$10$5057Sep 2026
GPT-6 Astra Pro1.05M$10$50n/aSep 2026
GPT-5.6 Sol1.05M$4$20n/a2026
GPT-5.6 Sol Pro1.05M$4$20n/a2026
GPT-5.6 Terra1.05M$2$12322026

Privacy and data policy

  • On Hoodgen, prompts and attachments answer that request and stay in your conversation history so you can reopen it. They are not used to train models.
  • Requests route through OpenRouter to Openai and are covered by that provider's API terms.
  • Do not paste secrets or personal data you would not send to any hosted model.

GPT-5.2-Codex questions, answered

GPT-5.2-Codex is a multimodal model from Openai, released 14 January 2026. GPT-5.2-Codex is an upgraded version of GPT-5.1-Codex optimized for software engineering and coding workflows.
✦

Start chatting with GPT-5.2-Codex

Free to try on Hoodgen AI, with a live credit estimate before every send. No API key, no setup.