Tuesday, July 7, 2026 · No. 345Prices synced 1 hour ago
All·AI·Model

The AI Model Price Index

GPT-5.2 Codex

by Cloudflare AI Gateway · family gpt-codex · listed Dec 2025RTV

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

Current rates USD per 1M tokens

Input$1.75
Output$14.00
Cache read$0.175
Cache write

Against the market

Input price vs. maker flagships ($/1M tokens)
DeepSeek V4 FlashDeepSeek V4 Flash: $0.14 per 1M tokens$0.14Qwen3.7 PlusQwen3.7 Plus: $0.50 per 1M tokens$0.50Grok 4.3Grok 4.3: $1.25 per 1M tokens$1.25Gemini 3.5 FlashGemini 3.5 Flash: $1.50 per 1M tokens$1.50Mistral Medium (latest)Mistral Medium (latest): $1.50 per 1M tokens$1.50GPT-5.2 CodexGPT-5.2 Codex: $1.75 per 1M tokens$1.75Claude Sonnet 5Claude Sonnet 5: $2.00 per 1M tokens$2.00GPT-5.5 ProGPT-5.5 Pro: $30.00 per 1M tokens$30.00
Output price vs. maker flagships ($/1M tokens)
DeepSeek V4 FlashDeepSeek V4 Flash: $0.28 per 1M tokens$0.28Grok 4.3Grok 4.3: $2.50 per 1M tokens$2.50Qwen3.7 PlusQwen3.7 Plus: $3.00 per 1M tokens$3.00Mistral Medium (latest)Mistral Medium (latest): $7.50 per 1M tokens$7.50Gemini 3.5 FlashGemini 3.5 Flash: $9.00 per 1M tokens$9.00Claude Sonnet 5Claude Sonnet 5: $10.00 per 1M tokens$10.00GPT-5.2 CodexGPT-5.2 Codex: $14.00 per 1M tokens$14.00GPT-5.5 ProGPT-5.5 Pro: $180 per 1M tokens$180

On the record

Model id
openai/gpt-5.2-codex
Context window
400K tokens
Max output
128K tokens
Input modalities
text, image, pdf
Output modalities
text
Reasoning
yes
Tool calls
yes
Open weights
no
Knowledge cutoff
Aug 2025
Released
2025-12-11
Last updated
2025-12-11

Back of the envelope

Also listed at

← All Cloudflare AI Gateway listings