OpenRouter model
OpenAI: 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....
- Provider
- OpenRouter
- Availability
- Available
- Model ID
- openai/gpt-5.2-codex
- Snapshot
- 2026-10-07
OpenAI: GPT-5.2-Codex Benchmarks & Agentic Accuracy
Verified primary research & developer preference metrics
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
Best Paired With: Claude 3.7 Sonnet as Lead Planner
High-fidelity Coder worker for intricate codebases requiring zero build regression.
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
"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
Primary Sources & Methodology Citations
- OpenAI GPT-5.2 Codex Technical Report — OpenAI (December 2025)
OpenAI: GPT-5.2-Codex model overview
OpenAI: GPT-5.2-Codex is listed in the public Swarm catalog through OpenRouter. This page summarizes the verified catalog fields used by Swarm without claiming real-time access for every provider account.
- Provider
- OpenRouter
- Family
- OpenRouter
- Context window
- 400K tokens
- Thinking support
- low · medium · high · xhigh
- Availability status
- Available
- Catalog ID
- openrouter/openai/gpt-5.2-codex
Run OpenAI: GPT-5.2-Codex in Swarm
Verified CLI workflow & multi-agent architecture
swarm ctl model set --provider openrouter --model openrouter/openai/gpt-5.2-codex# Or switch interactively inside the terminal TUI:
/modelsSubagent Role Matrix
Assign OpenAI: 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.
Public catalog snapshot. Catalog availability is not a real-time provider status or an access guarantee.