OpenAIVisionTool use

GPT-5 Codex pricing

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. The model supports building projects from scratch, feature development, debugging, large-scale refactoring, and code review. Compared to GPT-5, Codex is more steerable, adheres closely to developer instructions, and produces cleaner, higher-quality code outputs. Reasoning effor. Below you will find 1 current row with input and output dollars per million. Right now the lowest input is $1.25 and the lowest output is $10.00.

272K context·1 provider·verified May 2, 2026
Best input$1.25per 1M tokens · Openrouter
Best output$10.00per 1M tokens · Openrouter

Pricing across providers

Every row is a seller of GPT-5 Codex with token pricing we track. The cheapest input in this snapshot is from Openrouter. The bar chart shows the same input and output dollars per million for a quick scan.

O
Openrouter
Input / 1M
$1.25
Output / 1M
$10.00
Cached in: $0.125

Input vs output · 1M tokens

Cost calculator

Pick any provider row and type how many tokens you expect per day, week, or year. We turn that into rough dollar totals for GPT-5 Codex.

In: $1.25/M·Out: $10.00/M·Cache: $0.125/M

0.125000¢ / req

0.500000¢ / req

Daily
$63
Monthly
$1.9K
Annual
$22.8K

Model specifications

Quick spec sheet for GPT-5 Codex before you dive back into pricing. Reported under OpenAI.

Context window
272,000 tokens
Max output
128,000 tokens
Vision (images)
Yes
Tool / function calling
Yes
Streaming
No
Released
Sep 2025
Primary provider
OpenAI
Model family
N/A

Compare GPT-5 Codex

Jump into a comparison when you want one table for two models instead of two tabs. 6 curated matches for GPT-5 Codex.

Frequently asked questions

Read these after the table if you want plain language around GPT-5 Codex rates. The short model note from our index: 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...

Yes. GPT-5 Codex is available on Openrouter.

Also from OpenAI

Other models by OpenAI with live pricing in our catalog.