All Models

GPT-5.1-Codex

Reasoning Tool Calling Attachments Structured Output

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. The model supports building projects from scratch, feature development, debugging, large-scale refactoring, and code review. Compared to GPT-5.1, Codex is more steerable, adheres closely to developer instructions, and produces cleaner, higher-quality code outputs. Reasoning effort can be adjusted with the `reasoning.effort` parameter. Read the [docs here](https://openrouter.ai/docs/use-cases/reasoning-tokens#reasoning-effort-level) Codex integrates into developer environments including the CLI, IDE extensions, GitHub, and cloud tasks. It adapts reasoning effort dynamically—providing fast responses for small tasks while sustaining extended multi-hour runs for large projects. The model is trained to perform structured code reviews, catching critical flaws by reasoning over dependencies and validating behavior against tests. It also supports multimodal inputs such as images or screenshots for UI development and integrates tool use for search, dependency installation, and environment setup. Codex is intended specifically for agentic coding applications.

Providers 16
Released Aug 7, 2025
Input Modalities text, image, audio, pdf
Output Modalities text, image, audio
Tarsk Use coding

Available Providers (16)

Provider Model ID Input Cost Output Cost Context Max Output Docs
GitHub Copilot gpt-5.1-codex $0.00/MTok $0.00/MTok 400K 128K
OpenCode Zen gpt-5.1-codex $1.07/MTok $8.50/MTok 400K 128K
Poe openai/gpt-5.1-codex $1.10/MTok $9.00/MTok 400K 128K
Jiekou.AI gpt-5.1-codex $1.13/MTok $9.00/MTok 400K 128K
ZenMux openai/gpt-5.1-codex $1.25/MTok $10.00/MTok 400K 64K
Cloudflare AI Gateway openai/gpt-5.1-codex $1.25/MTok $10.00/MTok 400K 128K
Azure Cognitive Services gpt-5.1-codex $1.25/MTok $10.00/MTok 400K 128K
AIHubMix gpt-5.1-codex $1.25/MTok $10.00/MTok 400K 128K
Abacus gpt-5.1-codex $1.25/MTok $10.00/MTok 400K 128K
OpenRouter openai/gpt-5.1-codex $1.25/MTok $10.00/MTok 400K 128K
Vivgrid gpt-5.1-codex $1.25/MTok $10.00/MTok 400K 128K
Requesty openai/gpt-5.1-codex $1.25/MTok $10.00/MTok 400K 128K
Vercel AI Gateway openai/gpt-5.1-codex $1.25/MTok $10.00/MTok 400K 128K
OpenAI gpt-5.1-codex $1.25/MTok $10.00/MTok 400K 128K
NanoGPT openai/gpt-5.1-codex $1.25/MTok $10.00/MTok 400K 128K
Azure gpt-5.1-codex $1.25/MTok $10.00/MTok 400K 128K

Capabilities

Reasoning
Tool Calling
Attachments
Open Weights
Structured Output