Compare AI models

Specifications
Context windowHow much information the model can work with in one request, measured in tokens — pieces of words or other data. This includes your question, attachments, conversation and reply. Limits can vary by model variant and provider.
8k400k
API pricingUSD per 1M tokens · lower wins
Cheapest inputLowest input rate across every provider on OpenRouter, the lab included. The cheapest endpoint may run a quantised build or a shorter context — see "Available from" on the model page.
$30.00Azure—
Cheapest outputLowest output rate across every provider on OpenRouter, the lab included. May come from a different provider than the cheapest input.
$60.00Azure—
$9,000Azure—
These models have no shared benchmark scores.
Overview
CompanyOpenAIOpenAI
Release dateMar 14 2023Dec 18 2025
AccessClosedClosed
Model detailsView modelView model

Frequently asked questions

GPT-4 and GPT-5.2-Codex don't publish scores on any of the same benchmarks, so there's no direct head-to-head comparison. GPT-4 shipped 1010 days before GPT-5.2-Codex, so benchmark comparisons should account for the intervening progress.

Context windows are 8k (GPT-4) vs 400k (GPT-5.2-Codex).

Direct benchmark comparisons are unavailable — GPT-4 and GPT-5.2-Codex don't publish scores on any of the same benchmarks.