Grok 4.7 vs Llama 4 Maverick
Grok 4.7 (SpaceXSI) and Llama 4 Maverick (Meta) are listed at different prices. Llama 4 Maverick costs less: $0.35 per 1M input tokens and $1.00 per 1M output tokens, against $2.00 and $6.00 for Grok 4.7. Llama 4 Maverick has the larger context window, 524,288 tokens against 500,000 for Grok 4.7. Grok 4.7 charges $4.00 and $12.00 per 1M once a prompt passes 200,000 tokens; Llama 4 Maverick keeps one price across its window. Grok 4.7 accepts text, images and files and produces text; Llama 4 Maverick accepts text and images and produces text.
SpaceXSI: Grok 4.7 accepts text, images, and files, while Meta: Llama 4 Maverick accepts text and images; both produce text and support tools, structured outputs, and response formats. Grok 4.7 lists reasoning support, and their context windows are 500,000 and 524,288 tokens, respectively.
Compared from catalog data checked
Side by side
0.00 the better figure in a row| Specification | Grok 4.7 | Llama 4 Maverick |
|---|---|---|
| Maker | SpaceXSI | Meta |
| Added to catalog | 21 Sep 2026 | 5 Apr 2025 |
| Input, per 1M tokens | $2.00 | $0.35 |
| Output, per 1M tokens | $6.00 | $1.00 |
| Input above 200K tokensPer 1M; long prompts | $4.00 | $0.35 |
| Output above 200K tokens | $12.00 | $1.00 |
| Cached input read, per 1M | $0.50 | $0.17 |
| Context windowTokens | 500,000 | 524,288 |
| Max outputTokens | 450,000 | 32,768 |
| Accepts | file, image, text | image, text |
| Produces | text | text |
| Tool calling | Yes | Yes |
| Structured outputs | Yes | Yes |
| Reasoning effort control | Yes | No |
List prices through OpenRouter, in US dollars. Each model's page has its variants, price history and sample outputs.
What the same task costs
List price for one request, from the token counts shown. The same four tasks are priced on every model page.
| Task | Grok 4.7 | Llama 4 Maverick |
|---|---|---|
| Answer a short question500 in / 300 out | $0.0028 | $0.0005 |
| Summarise a 50-page PDF25,000 in / 800 out | $0.055 | $0.0096 |
| Review a 2,000-line source file30,000 in / 2,000 out | $0.072 | $0.013 |
| Read a 300-page contract set150,000 in / 1,500 out | $0.309 | $0.054 |
Which to choose
Choose Grok 4.7 if
- You need longer answers in one response: 450,000 tokens against 32,768
- It has to read files, which the other model does not
- You want to set how much it reasons before it answers
Choose Llama 4 Maverick if
- Input tokens cost less: $0.35 against $2.00 per 1M
- Output tokens cost less: $1.00 against $6.00 per 1M
- Your prompts often run past 200K tokens: $0.35 against $4.00 per 1M input tokens there
- Cached input costs less: $0.17 against $0.50 per 1M
- You need the larger context window: 524,288 tokens against 500,000
Neither maker's quality claims are repeated here. The reliable test is your own task: ask both the same question and read the two answers.