openai

OpenAI: GPT-5 Codex

The OpenAI GPT-5 Codex is designed for extensive text and image processing with a context length of 400,000 tokens and supports tools and reasoning, making it versatile for complex tasks. It can handle both text and images seamlessly, offering robust capabilities in tool integration and logical reasoning. Given its blended benchmark score of 59.6 across one independent test, GPT-5 Codex performs well but is positioned at a higher price point with input costing $1.25 per million tokens and output at $10.0 per million tokens. While the model excels in certain tasks, it may not be the most economical choice for all users; however, its comprehensive capabilities make it suitable for applications requiring advanced reasoning and tool integration.

Quality Score
99/100
price + capability + benchmarks
Input Price
$1.25
per 1M tokens
Output Price
$10.00
per 1M tokens
Context Window
400,000
tokens

Benchmark results

Independent, published benchmarks. Blended score 59.6 across 1 benchmark, last refreshed 2026-07-23. How scoring works →

BenchmarkMeasuresScore
AI Index broad capability composite 59.6
Model ID
openai/gpt-5-codex
Vendor
openai
Released
September 2025
Tokenizer
GPT
Input Modalities
text, image
Output Modalities
text
Max Output
128,000 tokens
Tool Calling
✓ supported
Structured Output
✓ supported
Reasoning Mode
✓ supported
Vision
✓ accepts images
Audio
no
Moderated
yes

What it costs in practice

Computed from the current $1.25/M input and $10.00/M output rates. Run your own numbers →

JobTokensCost
Summarize a 50-page report 30k in / 1.5k out $0.05
Classify 1,000 customer emails 500k in / 50k out $1.12
A month of a busy support chatbot 5M in / 2M out $26.25

Similar models

Quick answers

How much does OpenAI: GPT-5 Codex cost?
$1.25 per million input tokens and $10.00 per million output tokens.
What is OpenAI: GPT-5 Codex's context window?
400,000 tokens, roughly 600 pages of text in a single request.
Does OpenAI: GPT-5 Codex support tool calling?
It supports tool calling, structured output, a reasoning mode.
Can OpenAI: GPT-5 Codex process images?
Yes, it accepts image input.