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.
400k128k
API pricingUSD per 1M tokens · lower wins
Input priceWhat you pay for everything you send the model — your question, plus any documents or earlier conversation you include with it.
$0.20—
Output priceWhat you pay for the text the model writes back. It is normally the dearer half: producing an answer costs more than reading one.
$1.25—
Cached input priceA reduced rate for text you send over and over. If every request starts with the same instructions or the same document, the provider keeps a copy ready and charges less to read it again.
$0.02—
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.
$0.10OpenAI—
Cheapest outputLowest output rate across every provider on OpenRouter, the lab included. May come from a different provider than the cheapest input.
$0.625OpenAI—
$103OpenAI list price—
These models have no shared benchmark scores.
Overview
CompanyOpenAISpaceXSI
Release dateMar 17 2026Aug 14 2024
AccessClosedClosed
Model detailsView modelView model

Frequently asked questions

GPT-5.4 nano and Grok‑2 don't publish scores on any of the same benchmarks, so there's no direct head-to-head comparison. Only GPT-5.4 nano has a verified first-party API price: $0.20 per million input tokens and $1.25 per million output tokens. No pay-as-you-go API rate is tracked for Grok‑2. Grok‑2 shipped 580 days before GPT-5.4 nano, so benchmark comparisons should account for the intervening progress.

Context windows are 400k (GPT-5.4 nano) vs 128k (Grok‑2).

Direct benchmark comparisons are unavailable — GPT-5.4 nano and Grok‑2 don't publish scores on any of the same benchmarks.