Compare AI models

Specifications
ParametersThe learned values that shape how a model responds. B means billion and T means trillion. For mixture-of-experts models, the total count is larger than the number active for each token. Parameter count alone does not measure quality.
8B/70B/405B—
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.
128k256k
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.
$0.02DeepInfra—
Cheapest outputLowest output rate across every provider on OpenRouter, the lab included. May come from a different provider than the cheapest input.
$0.04DeepInfra—
$6.00DeepInfra · fp8—
These models have no shared benchmark scores.
Overview
CompanyMetaSpaceXSI
Release dateJul 23 2024Jul 9 2025
AccessOpen WeightClosed
Model detailsView modelView model

Frequently asked questions

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

Context windows are 128k (LLaMA 3.1) vs 256k (Grok 4). LLaMA 3.1 is open weight, while Grok 4 is closed.

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