GPT-5 Codex
ActiveGPT-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....
Overview
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....
History
GPT-5 Codex became available via the OpenAI API on 2025-09-23.
Training & availability
Training data has a knowledge cutoff of 2024-09-30 — information about events after that date is unlikely to appear in the model's responses. OpenAI has not released the underlying model weights — access is via their hosted API only.
Capabilities
-
Context window: 272K tokens.
-
Max output: 128K tokens.
-
Input modalities: text, image.
Recommended for: vision, agentic, long-context.
Limitations
- The knowledge cutoff is 18 months old — this model will not know about recent events, releases, or API changes.
Pricing
- Input: $1.2500 per 1M tokens
- Output: $10.0000 per 1M tokens
Use the cost calculator above to estimate monthly spend for your workload.
Quick start
Minimal example using the openai API. Copy, paste, replace the key.
from openai import OpenAI
client = OpenAI(api_key="sk-...")
resp = client.chat.completions.create(
model="gpt-5-codex",
messages=[{"role": "user", "content": "Explain quantum computing in one sentence."}],
)
print(resp.choices[0].message.content)Cost calculator
Estimate your monthly bill. Presets are typical workload sizes.
Providers & performance
1 providerMulti-provider inference routes for this model — sorted by throughput. Latency is time-to-first-token; throughput is output tokens per second. Data from OpenRouter, measured over the last 30 minutes.
| Provider | Throughput | Latency (TTFT) | Input $ / 1M | Output $ / 1M | Context | Quant | Supports |
|---|---|---|---|---|---|---|---|
| OpenAI | 53tok/s | 2.40s | $1.25 | $10 | 400K | — | tools · json |
Integrations & tooling support
- Tool calling
- Supported
- Structured outputs
- Not supported
Price vs quality
Standard pricing band. Quality tier pending more benchmark coverage.
- Quality percentile
- —
- Effective price
- $7.81/1M
- Pricing breakdown
- $1.25/1M in
$10/1M out
Community ratings
Rate GPT-5 Codex
Sign in to rate and review.
Comments
Sign in to leave a comment.