Compare AI models

Specifications
Context window
8k500k
API pricing
Input price
$30.00$2.00
Output price
$60.00$6.00
Cached input price
—$0.50
Cheapest input
$30.00Azure$2.00xAI
Cheapest output
$60.00Azure$6.00xAI

These models have no shared benchmark scores.

Overview
CompanyOpenAISpaceXAI
Release dateMar 14 2023Sep 21 2026
AccessClosedClosed
Model detailsView modelView model

Frequently asked questions

GPT-4 and Grok 4.7 don't publish scores on any of the same benchmarks, so there's no direct head-to-head comparison. Grok 4.7 is cheaper on both input and output: $2.00 vs $30.00 per million input tokens, and $6.00 vs $60.00 per million output tokens. Figures are base-tier rates. GPT-4 shipped 1287 days before Grok 4.7, so benchmark comparisons should account for the intervening progress.

Context windows are 8k (GPT-4) vs 500k (Grok 4.7).

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