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

The AI Model Price Index

GPT-5.1 Codex

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

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

Current rates USD per 1M tokens

Input$1.25
Output$10.00
Cache read$0.125
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.50GPT-5.1 CodexGPT-5.1 Codex: $1.25 per 1M tokens$1.25Grok 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.50Claude 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.00GPT-5.1 CodexGPT-5.1 Codex: $10.00 per 1M tokens$10.00Claude Sonnet 5Claude Sonnet 5: $10.00 per 1M tokens$10.00GPT-5.5 ProGPT-5.5 Pro: $180 per 1M tokens$180

On the record

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

Back of the envelope

Also listed at

← All Cloudflare AI Gateway listings