Model Comparison

Compare two models side by side to make informed decisions based on pricing, specifications, and performance.

Supports JSON output

GPT-5.1-Codex is a version of GPT-5 optimized for agentic coding tasks in Codex or similar environments. It's available in the Responses API only and the underlying model snapshot will be regularly updated. If you want to learn more about prompting GPT-5-Codex, refer to our dedicated guide

Pricing

Input
$1.38/M
Output
$11.00/M
Cached Input
$0.14/M

Specifications

Context
400,000
Maximum Output
128,000
Inputtext, image
Outputtext, json

No model selected

AI Model Comparison - Compare GPT-4, Claude, Gemini & More