All AI models · LLM benchmarks · Methodology

OpenAI

GPT-5-Codex

Coding-optimized GPT model for repository edits, reviews, and agentic software work

Model facts

Context window
4K tokens
Maximum output
128K tokens
Cheapest paid input
$1.07 per 1M tokens
Cheapest paid output
$8.5 per 1M tokens
Open weights
no
Providers
11

Capabilities and modalities

reasoning, tool calling, structured output, attachments, temperature control, text, image, pdf.

Artificial Analysis benchmarks

Compare this model on the full LLM benchmark leaderboard.

ConfigurationAAICodingMathOutput tokens/s
high37.0not measured98.7not measured

Observed price history

  • 2026-08-24: $0.625 input / $5 output per 1M tokens
  • 2026-08-28: $1.07 input / $8.5 output per 1M tokens

API providers