OpenAI

OGPT-5 CodexAPI

GPT-5-Codex is a specialized version of GPT-5 optimized for software engineering and coding workflows.

Context window
400K
tokens
Input price
$1.25
per M tokens
Output price
$10
per M tokens
Provider
OpenAI

Prices update automatically — checked hourly against provider list prices.

See open-source alternatives → Compare all model prices

Benchmarks & performance

Independent benchmark scores for GPT-5 Codex, measured by Artificial Analysis. Higher is better. Measurement mode: high.

Intelligence index36.1
Math index98.7
GPQA83.7%
MMLU-Pro86.5%
Humanity's Last Exam25.6%
Long Context Reasoning69%
LiveCodeBench84%
SciCode40.9%
AIME 202598.7%
IFBench74.1%
τ²-Bench86.8%
Terminal-Bench Hard37.9%
💰 Blended price$3.438 / 1M tokens
📈 Value10.5 intelligence points per $
Benchmark data by Artificial Analysis

About this model

GPT-5 Codex is a commercial AI model by OpenAI. The specifications below are tracked automatically: pricing is refreshed hourly from public list prices, so the numbers on this page reflect the current cost of using the model through its API.

Frequently asked questions

What is GPT-5 Codex?

GPT-5 Codex is an AI language model from OpenAI. It is a proprietary model, available through an API. It scores 36.1 on the Artificial Analysis intelligence index.

Is GPT-5 Codex free?

GPT-5 Codex is not free: it costs $1.25 per million input tokens and $10 per million output tokens. Open-weight alternatives can be self-hosted at no per-token cost.

What is GPT-5 Codex good at?

Independent benchmarks from Artificial Analysis give it GPQA 83.7%, MMLU-Pro 86.5%, Humanity's Last Exam 25.6%, Long Context Reasoning 69%, LiveCodeBench 84%, SciCode 40.9%, AIME 2025 98.7%, IFBench 74.1%, τ²-Bench 86.8%, Terminal-Bench Hard 37.9%. It is particularly used for mathematical reasoning.

Related models

o1-proOpenAIGPT-5.5 ProOpenAIGPT-5.4 ProOpenAIGPT-5.2 ProOpenAIGPT-5 ProOpenAIo3 ProOpenAI