Compare AI models

Specifications
Context window
—500k
API pricing
Input price
—$2.00
Output price
—$6.00
Cached input price
—$0.50
Cheapest input
$0.02DeepInfra$1.60xAI
Cheapest output
$0.04DeepInfra$4.80xAI

These models have no shared benchmark scores.

Overview
CompanyMetaSpaceXAI
Release dateJul 23 2024Sep 21 2026
AccessOpen WeightClosed
Model detailsView modelView model

Frequently asked questions

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

LLaMA 3.1 is open weight, while Grok 4.7 is closed.

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