OpenRouter model
OpenAI: GPT-5.1-Codex
GPT-5.1-Codex is a specialized version of GPT-5.1 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.1-codex
- Snapshot
- 2026-10-07
OpenAI: GPT-5.1-Codex Benchmarks & Agentic Accuracy
Verified primary research & developer preference metrics
What This Means in Real Software Development
- Specialized in repository-level code synthesis with 72.0% on SWE-bench Verified.
- Understands complex git worktree hierarchies and directory structures without hallucinations.
- Native test-driven development loop: authors failing tests, inspects failures, and writes minimal passing patches.
- Strong throughput ensures rapid completion of complex Coder jobs.
Swarm Multi-Agent Topology
Best Paired With: Claude 3.7 Sonnet as Lead Planner
Specialized architecture for dirty repository exploration, bug fixing, and test execution.
Dispatched into Swarm isolated worktrees to author and commit tested code patches.
What Developers & Practitioners Are Saying
Real-world field observations, production strengths, and developer consensus
"Specialized Codex iteration designed for autonomous workspace execution and terminal tool use."
Verified Real-World Strengths
- 72.0% SWE-bench Verified with native git patch generation
- Deep understanding of modern build systems and CLI environments
- High precision in multi-file refactoring
Production Caveats & Gaps
- Requires careful prompt sandboxing to avoid unintended terminal commands
Primary Sources & Methodology Citations
- OpenAI GPT-5.1 Codex System Card — OpenAI (November 2025)
OpenAI: GPT-5.1-Codex model overview
OpenAI: GPT-5.1-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
- Availability status
- Available
- Catalog ID
- openrouter/openai/gpt-5.1-codex
Run OpenAI: GPT-5.1-Codex in Swarm
Verified CLI workflow & multi-agent architecture
swarm ctl model set --provider openrouter --model openrouter/openai/gpt-5.1-codex# Or switch interactively inside the terminal TUI:
/modelsSubagent Role Matrix
Assign OpenAI: GPT-5.1-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.