OpenAIOpenAI·text

GPT-5.2 Codex

CodeVisionReasoningWeb searchFunction calling
Advertised as gpt-5.2-codexgpt-52-codexopenai-gpt-52-codex
Quick reference
GPT-5.2 Codex — TLDR
  • 🔧 Coding-specialized variant built on OpenAI's GPT-5.2 base model.
  • 🧠 Tuned for long-horizon, agentic software engineering tasks.
  • 📏 256K context, extended further via native context compaction.
  • 🔒 Notably stronger defensive cybersecurity capabilities than prior Codex models.
  • 🆕 Improved large refactors, code migrations, and Windows-environment reliability.
  • 👁️ Supports reasoning, vision, function calling, and web search.
  • ⚡ Offers low, medium, high, and xhigh reasoning-effort settings.
  • 🏢 Geared toward professional, multi-hour repository-scale engineering work.
💰 Best price on AntSeed
$0.199 / $1.59
per 1M · cheapest in / out
📏 Context
256K tokens
🐜 Sellers
8
advertising on AntSeed
Provider

OpenAI is an American artificial intelligence research organization headquartered in San Francisco, structured as both a for-profit public benefit corporation and a nonprofit foundation. The lab developed the GPT family of large language models, the DALL-E image generation…

Explore 27 more models by OpenAI
About this model

GPT-5.2 Codex is OpenAI's coding-specialized model, an edition of GPT-5.2 further optimized for agentic software engineering inside the Codex platform. Released in 2025, it is built to handle long-horizon work: large-scale code transformations, refactors, migrations, and feature builds that span extended sessions. It supports four reasoning-effort levels (low, medium, high, and xhigh) and exposes reasoning, vision, function-calling, and web-search capabilities.

Compared with earlier Codex models such as GPT-5.1-Codex-Max, OpenAI reports improvements in long-context understanding, more reliable tool calling, improved factuality, and native compaction—the ability to compress history and keep working coherently past the base context window. This lets it operate in large repositories over extended sessions without losing track, even when plans change or attempts fail. OpenAI also highlights stronger performance in native Windows environments and significantly enhanced cybersecurity capabilities, calling it the strongest model on its internal Professional CTFs evaluation to date, aided by compaction on long-running cyber tasks.

OpenAI evaluates the model on SWE-Bench Pro, where it must generate a patch to solve realistic software engineering tasks, though specific figures should be confirmed against the official model card and addendum.

Within the Codex lineage, GPT-5.2 Codex was succeeded by GPT-5.3 Codex, which OpenAI describes as combining the Codex training stack with GPT-5's reasoning and general-intelligence stack.

Sources
openai.comIntroducing GPT-5.2-Codex | OpenAI· openai.comdevelopers.openai.comGPT-5.2-Codex Model | OpenAI API· developers.openai.complatform.openai.comGPT-5.2 Model | OpenAI API· platform.openai.comcdn.openai.comAddendum to GPT-5.2 System Card: GPT-5.2-Codex OpenAI December 18, 2025 1· cdn.openai.com

This About section is AI-generated from public sources via VeniceStats + Venice inference, with no human editing. It may contain inaccuracies.

Usage on AntSeed
Tokens served
381.24k
input + output
Requests
43
settled calls
Buyers
4
distinct, on this model
Sellers used
4
of 8 advertising
Settled
$0.25
gross USDC, this model
Sellers serving GPT-5.2 Codex (8)compare on the network explorer →
SellerReputationRoutingInput $/MCached $/MOutput $/MCategoriesAPI

"Best price" and the seller table are live AntSeed catalog data (advertised $/1M tokens — or $ per generated image for unit-billed image models — not settled amounts). Reputation = on-chain trust (0-100). "Routing" = the SDK's default buyer routing (what the VPR desktop app ships with): a trust ≥ 60 gate on the effective reputation, then cheapest-first among routable sellers; live failover state (per-peer cooldowns) is buyer-side runtime and not included. Model knowledge (TLDR, provider, About) via the VeniceStats enrichment layer. Advertised catalog, not the model used in any specific purchase. "Usage on AntSeed" counts only settlements whose buyers share the per-model split on-chain (metadata v2/v3, opt-in), so every usage figure is a lower bound.