OpenAI: GPT-5 Codex
Analysis Summary
GPT-5 Codex is OpenAI's coding-specialist model, and its benchmark profile reflects that focus clearly. A LiveCodeBench score of 0.84 and TerminalBench Hard of 0.38 place it among the strongest coding models available, while an agentic index of 62.4 confirms reliable multi-step tool use. Vision, function calling, and a 400K context window round out a capable feature set for complex engineering workflows.
For businesses, this model is well suited to autonomous coding agents, code review pipelines, and software engineering tasks requiring long-context reasoning. Its intelligence index of 36.1 is good but not at the frontier of general reasoning, so it is best deployed where coding and agentic reliability are the primary requirements rather than broad analytical depth.
Pricing at $1.25 input / $10 output is meaningful but reasonable for high-value coding tasks. Teams running automated software engineering or CI/CD-integrated agents will find the capability-to-cost ratio compelling; for general reasoning or content tasks, other OpenAI models may be a better fit.
Assessed June 30, 2026
Editorial notes
GPT-5 Codex from OpenAI delivers exceptional coding performance with a 0.84 LiveCodeBench score, strong agentic capability, vision support, and tool use across a 400K context window.
Rankings consider pricing, capabilities, benchmarks, and real-world applicability and are refreshed as new models launch. Feedback?
Performance Profile
How OpenAI: GPT-5 Codex compares
OpenAI: GPT-5 Codex ranks #49 of 385 AI models we track for overall intelligence, #54 of 293 for agentic tasks. Its 400K-token context window is larger than 85% of the models we list. At $1.25 per million input tokens it is cheaper than 21% of comparable models.
About OpenAI: GPT-5 Codex
GPT-5-Codex is a specialized version of GPT-5 optimized for software engineering and coding workflows. It is designed for both interactive development sessions and long, independent execution of complex engineering tasks..
Capabilities
Performance Indices
Source: Artificial Analysis
Benchmark Scores
Intelligence
Technical
Content
Benchmark data from Artificial Analysis and Hugging Face
How does OpenAI: GPT-5 Codex stack up?
Compare side-by-side with other professional models.
Model Information
| OpenRouter ID |
openai/gpt-5-codex
|
| Provider | openai |
| Release Date | September 23, 2025 |
| Context Length | 400,000 tokens |
| Max Completion | 128,000 tokens |
| Status | Active |
Pricing
| Token Type | Cost per 1M tokens | Cost per 1K tokens |
|---|---|---|
| Input | $1.25 | $0.001250 |
| Output | $10.00 | $0.010000 |
Live Performance
Live endpoint metrics, refreshed every 30 minutes.
External Resources
Explore Related Models
Frequently asked questions about OpenAI: GPT-5 Codex
How much does OpenAI: GPT-5 Codex cost?
OpenAI: GPT-5 Codex costs $1.25 per million input tokens and $10.00 per million output tokens.
What is the context window of OpenAI: GPT-5 Codex?
OpenAI: GPT-5 Codex has a context window of 400,000 tokens (400K).
What can OpenAI: GPT-5 Codex do?
OpenAI: GPT-5 Codex supports image/vision input, tool use, and function calling.
Who created OpenAI: GPT-5 Codex?
OpenAI: GPT-5 Codex is developed by OpenAI and was released on September 23, 2025.
Data sourced from OpenRouter API, Artificial Analysis and Hugging Face Open LLM Leaderboard. Scores are editorially curated by our team.
Last updated: July 2, 2026 8:38 pm