Skip to content

Grok-2 vs Llama-4-Maverick-17B-128E-Instruct-FP8

Both have similar output pricing, while Llama-4-Maverick-17B-128E-Instruct-FP8 offers a larger context window. Choose Grok-2 or Llama-4-Maverick-17B-128E-Instruct-FP8 based on the trade-off between cost, context, and the benchmarks that matter for your use case.

SpecGrok-2Llama-4-Maverick-17B-128E-Instruct-FP8
ProviderxAIVercel AI Gateway
Input / 1M tokens—$0.24
Output / 1M tokens—$0.97
Context window—128K
Parameters——
Open weightsNoYes
ReleasedAug 2024Apr 2025
LMArena (Chatbot Arena) Elo score1305—
FrontierMath score0.70.7
GPQA Diamond score53.867.0
Epoch Capabilities Index score130—

FAQ

Is Grok-2 or Llama-4-Maverick-17B-128E-Instruct-FP8 cheaper?

Grok-2 and Llama-4-Maverick-17B-128E-Instruct-FP8 have comparable output pricing.

Which has the larger context window, Grok-2 or Llama-4-Maverick-17B-128E-Instruct-FP8?

Llama-4-Maverick-17B-128E-Instruct-FP8 has the larger context window (128K tokens).

Pricing is indicative — confirm with the provider before production use. Highlighted values indicate the better figure for that row.