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.
| Spec | Grok-2 | Llama-4-Maverick-17B-128E-Instruct-FP8 |
|---|---|---|
| Provider | xAI | Vercel AI Gateway |
| Input / 1M tokens | — | $0.24 |
| Output / 1M tokens | — | $0.97 |
| Context window | — | 128K |
| Parameters | — | — |
| Open weights | No | Yes |
| Released | Aug 2024 | Apr 2025 |
| LMArena (Chatbot Arena) Elo score | 1305 | — |
| FrontierMath score | 0.7 | 0.7 |
| GPQA Diamond score | 53.8 | 67.0 |
| Epoch Capabilities Index score | 130 | — |
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.