OpenAI model

GPT 5.2 Codex

GPT 5.2 Codex in the public OpenAI catalog.

Provider
OpenAI
Availability
Available
Model ID
gpt-5.2-codex
Snapshot
2026-10-07
Evaluation Verdict

OpenAI GPT-5.2 Codex enhances autonomous software development (73.5% SWE-bench, 1430 Coding Elo), excelling at compiler optimization, memory-safe idioms, and multi-file refactors.

GPT 5.2 Codex Benchmarks & Agentic Accuracy

Verified primary research & developer preference metrics

Primary Sources Verified
SWE-bench Verified
73.5%
Autonomous Agent ModeOpenAI Codex System Card ↗
LiveCodeBench
77%
ThinkingLiveCodeBench ↗
LMSYS Coding Elo
1430Elo
Coding ArenaLMSYS Arena ↗
AIME 2024 / 2025
93.5%
ThinkingOpenAI Codex System Card ↗
Pricing ($ / 1M tokens)
$2.5/ $10
$0.6 cached readStandard API Pricing

What This Means in Real Software Development

  • 73.5% autonomous SWE-bench score with reduced hallucination in complex asynchronous code.
  • Writes idiomatic Go, Rust, and TypeScript with strict adherence to repository linter configurations.
  • Operates with responsive execution, maintaining high developer productivity during live agent runs.
  • Native support for Swarm Task Program stage barriers and verification handoffs.

Swarm Multi-Agent Topology

Tier 1: Dedicated Systems CoderRole: Coder Subagent

Best Paired With: Claude 3.7 Sonnet as Lead Planner

High-fidelity Coder worker for intricate codebases requiring zero build regression.

Git Worktree Isolation Advantage:

Executes isolated feature work inside dedicated worktrees with full Git isolation.

What Developers & Practitioners Are Saying

Real-world field observations, production strengths, and developer consensus

Field Consensus

"Refined developer-centric Codex engine, optimized for low-latency interactive code editing."

Verified Real-World Strengths

  • 73.5% on SWE-bench Verified
  • Fast AST traversal and refactoring suggestions
  • Superb unit test generation coverage

Production Caveats & Gaps

  • Can be aggressive with dependency version upgrades if not constrained
Benchmark Reality Check

What the benchmark tests: Tests test-driven development (TDD) workflows and automated bug fixing.

Production caveat: Verify dependencies against project package locks.

Primary Sources & Methodology Citations

GPT 5.2 Codex model overview

GPT 5.2 Codex is listed in the public Swarm catalog through OpenAI. This page summarizes the verified catalog fields used by Swarm without claiming real-time access for every provider account.

Provider
OpenAI
Family
Gpt 5
Context window
400K tokens
Thinking support
Not supported
Availability status
Available
Catalog ID
openai/gpt-5.2-codex
  • File input
  • Image input
  • Text input
  • Text output
  • Reasoning
  • Tools
  • Structured output
  • JSON

Run GPT 5.2 Codex in Swarm

Verified CLI workflow & multi-agent architecture

Quickstart Guide →
bash — swarm run
$swarm ctl model set --provider openai --model openai/gpt-5.2-codex

# Or switch interactively inside the terminal TUI:

>/models

Subagent Role Matrix

Assign GPT 5.2 Codex to specialized system roles in ~/.swarm/config.json:

  • Primary / Planner: Orchestrates full task DAGs and multi-stage pipelines.
  • Coder Subagent: Generates code and unit tests inside private Git worktrees.
  • Finder Subagent: Performs read-only code search, symbol discovery, and mapping.
← All OpenAI models

Public catalog snapshot. Catalog availability is not a real-time provider status or an access guarantee.