text model comparison
GPT-4.1 vs Grok 4.7
GPT-4.1 and Grok 4.7 are both current text models, from OpenAI and xAI. Both cost $2 per 1M input tokens. On Arena Text, GPT-4.1 scores 1415 Elo and Grok 4.7 1441 Elo (Arena, measured October 28, 2026). GPT-4.1 has the larger context window, 1,047,576 vs 500,000 tokens.
- Higher Arena Text
- Grok 4.71441 Elo against 1415 Elo
- Longer context window
- GPT-4.11.05M tokens against 500K tokens
- Newer release
- Grok 4.7Sep 2026 against Apr 2025
Data verified November 3, 2026 · Dataset 2026-11-06
Side by side
GPT-4.1 and Grok 4.7, line by line
Prices in effect today, compared at the same tier wherever both list one. The better value in each row is highlighted.
| Fact | GPT-4.1 | Grok 4.7 |
|---|---|---|
| Price | ||
| Price per 1M input tokens | $2 | $2 |
| Price per 1M output tokens | $8 | $6 (better) |
| Independent benchmarks | ||
| Arena Text | 1415 Elo (#45 of 52) | 1441 Elo (#38 of 52) (better) |
| GPQA Diamond | 66.9% (#39 of 41) | 92.7% (#18 of 41) (better) |
| FrontierMath Tiers 1-3 (v2) | 6% (#41 of 41) | 53% (#34 of 41) (better) |
| SimpleQA Verified | 31.1% (#33 of 38) | 56% (#17 of 38) (better) |
| Arena WebDev | Not measured | 1637 Elo (#17 of 46) |
| Specs | ||
| Provider | OpenAI | xAI |
| Release date | April 14, 2025 | September 21, 2026 |
| Access | API only | API only |
| Context window | 1,047,576 tokens | 500,000 tokens |
| Max output | 32,768 tokens | Not reported |
| Input | text, image | text |
| Output | text | text |
Charts
Against every current text model
Where GPT-4.1 and Grok 4.7 land among the current models of their task, on every independent benchmark, on price and on context.
Where each stands
On Arena Text, GPT-4.1 ranks #45 and Grok 4.7 #38 of 52 current models. Each bar is the share of current models it beats: on score, price and context.
Independent benchmarks
Arena Text
GPT-4.1:#45of 52
1,415 Elo · ahead of 14%
Grok 4.7:#38of 52
1,441 Elo · ahead of 25%
Arena WebDev
GPT-4.1: Not scored
Grok 4.7:#17of 46
1,637 Elo · ahead of 62%
GPQA Diamond
GPT-4.1:#39of 41
66.9% · ahead of 5%
Grok 4.7:#18of 41
92.7% · ahead of 55%
FrontierMath Tiers 1-3 (v2)
GPT-4.1:#41of 41
6% · ahead of 0%
Grok 4.7:#34of 41
53% · ahead of 18%
SimpleQA Verified
GPT-4.1:#33of 38
31.1% · ahead of 14%
Grok 4.7:#17of 38
56% · ahead of 57%
Price and context
Price per 1M input tokens
GPT-4.1:#31of 58
$2 · cheaper than 26%
Grok 4.7:#31of 58
$2 · cheaper than 26%
Price per 1M output tokens
GPT-4.1:#35of 58
$8 · cheaper than 40%
Grok 4.7:#30of 58
$6 · cheaper than 44%
Context window
GPT-4.1:#24of 67
1.05M tokens · longer than 62%
Grok 4.7:#53of 67
500K tokens · longer than 18%
Quality against price
GPT-4.1 scores 1,415 at $3.50; Grok 4.7 scores 1,441 at $3 (blended price per 1M tokens). The line joins the current models no other beats on both price and Arena Text score; hover any point to name it.
Quality against price: the data
| Model | Provider | Blended price per 1M tokens | Arena Text (Elo) |
|---|---|---|---|
| Gemini 4 Carbon | $4 | 1,528 | |
| Gemini 4 Argon | $4 | 1,520 | |
| Claude Opus 5.5 | Anthropic | $8 | 1,509 |
| Muse Wonder | Meta | $8 | 1,507 |
| Claude Fable 5 | Anthropic | $20 | 1,504 |
| Claude Fable 5.1 | Anthropic | $20 | 1,504 |
| Gemini 3.8 Flash | $1.50 | 1,496 | |
| Muse Spark 1.3 | Meta | $2 | 1,495 |
| Claude Opus 5 | Anthropic | $10 | 1,492 |
| Kimi K3 | Moonshot Kimi | $6 | 1,488 |
| GPT-5.6 Sol | OpenAI | $8 | 1,485 |
| Gemini 3.6 Flash | $3 | 1,483 | |
| GPT-5.5 | OpenAI | $11 | 1,482 |
| Claude Opus 4.8 | Anthropic | $10 | 1,482 |
| Qwen3.8-Max | Alibaba Qwen | $3 | 1,482 |
| GPT-6.1 Sol | OpenAI | $4 | 1,481 |
| GLM-5.3 | Z.ai | $2.15 | 1,481 |
| MiMo-V2.6-Pro | Xiaomi MiMo | $0.54 | 1,480 |
| Claude Sonnet 5.5 | Anthropic | $4 | 1,477 |
| GLM-5.3-Flash | Z.ai | $0.24 | 1,477 |
| GPT-6 Astra | OpenAI | $20 | 1,476 |
| DeepSeek-V4.1-Flash | DeepSeek | $0.52 | 1,476 |
| GPT-5.4 | OpenAI | $5.63 | 1,475 |
| Gemini 3 Flash Preview | $1.13 | 1,473 | |
| Grok 4.20 | xAI | $1.56 | 1,472 |
| GPT-5.6 Terra | OpenAI | $4.50 | 1,467 |
| Grok 4.5 | xAI | $3 | 1,465 |
| DeepSeek-V4-Pro | DeepSeek | $1.98 | 1,465 |
| Claude Sonnet 5 | Anthropic | $4 | 1,462 |
| GPT-6 Sol | OpenAI | $4 | 1,458 |
| Gemini 3.5 Flash-Lite | $0.85 | 1,456 | |
| Grok 4.6 | xAI | $3 | 1,455 |
| GPT-5.6 Luna | OpenAI | $0.45 | 1,453 |
| MiMo-V2.6-Flash | Xiaomi MiMo | $0.18 | 1,448 |
| Step 5 Preview | StepFun | $1.43 | 1,448 |
| Grok 4.3 | xAI | $1.56 | 1,442 |
| GPT-6 Luna | OpenAI | $0.20 | 1,441 |
| Grok 4.7 | xAI | $3 | 1,441 |
| Mistral Large 4 | Mistral AI | $1.05 | 1,432 |
| Claude Haiku 5.5 | Anthropic | $0.20 | 1,425 |
| GPT-4.1 | OpenAI | $3.50 | 1,415 |
| Solar Pro 4 | Upstage | $0.52 | 1,388 |
| GPT-4.1 mini | OpenAI | $0.70 | 1,383 |
| GPT-4.1 nano | OpenAI | $0.18 | 1,322 |
Cost
What each costs
Example workloads at each provider's listed rates, then every other rate either one lists. The cheaper figure in each row is highlighted.
The same work, priced
For 10M input and 2M output tokens, GPT-4.1 costs 1.1 times as much as Grok 4.7, at each provider's listed rates.
10M input and 2M output tokens
GPT-4.1 costs 1.1× as much
- GPT-4.1
- $36
- Grok 4.7
- $32
The same, with 9M of the input tokens cached
GPT-4.1 costs 1.2× as much
- GPT-4.1
- $22.50
- Grok 4.7
- $18.50
| Workload or rate | GPT-4.1 | Grok 4.7 |
|---|---|---|
| Example workloads | ||
| 10M input and 2M output tokens | $36 | $32 (better) |
| The same, with 9M of the input tokens cached | $22.50 | $18.50 (better) |
| Other listed rates | ||
| 1M input tokens, cached | $0.50 | $0.50 |
| 1M input tokens, prompts over 200K tokens | Not listed | $4 |
| 1M output tokens, prompts over 200K tokens | Not listed | $12 |
Your own bill will differ. These figures use list prices and example workloads. The AI Model Cost Audit reviews your real usage, shortlists models that score as well for each task for less, and estimates the savings.
Launch price $100, regular price $150
Verdict
When to choose each
GPT-4.1
Where it leads
- Larger context window 1,047,576 vs 500,000 tokens
- Accepts image input
Best for
- Long-context API trials using text and image inputs
Watch out for
- Not in the pinned LiveBench snapshot; its independent scores here come from Epoch AI's own GPQA Diamond, FrontierMath and SimpleQA Verified runs
Grok 4.7
Where it leads
- Lower price per 1M output tokens, $6 vs $8
- Higher Arena Text score, 1441 Elo vs 1415 Elo
- Higher GPQA Diamond score, 92.7% vs 66.9%
- Higher FrontierMath Tiers 1-3 (v2) score, 53% vs 6%
- Higher SimpleQA Verified score, 56% vs 31.1%
Best for
- Output-heavy generation under the 200,000-token prompt line
- A cheaper alternative to the frontier tiers where 500k of context is enough
Watch out for
- The long-prompt threshold is 200,000 tokens, the lowest of any model here, and reaching it doubles input and output for the entire request
- xAI's model page does not state a maximum output for Grok 4.7, so it is recorded as unknown rather than inferred
- That page does not explicitly list image input for this model either, so it is catalogued as text-only
From benchmark to production
Building on GPT-4.1 or Grok 4.7?
Public scores rarely hold on your own data. We test both models on your real tasks, then build the agent or pipeline around the one that wins.
AI Model Cost AuditLaunch price $100, regular price $150What the audit includes
FAQ
GPT-4.1 vs Grok 4.7 FAQ
Which is cheaper, GPT-4.1 or Grok 4.7?
Both cost $2 per 1M input tokens. For 10M input and 2M output tokens, GPT-4.1 costs $36 and Grok 4.7 $32 at standard rates.
Which is cheaper with prompt caching, GPT-4.1 or Grok 4.7?
GPT-4.1 charges $0.50 per 1M cached input tokens, 75% below its standard input rate, and Grok 4.7 $0.50, 75% below. With 9M of 10M input tokens cached and 2M output tokens, GPT-4.1 costs $22.50 and Grok 4.7 $18.50.
Which scores higher on independent benchmarks, GPT-4.1 or Grok 4.7?
Grok 4.7 leads on Arena Text, 1441 Elo to 1415 Elo; Grok 4.7 leads on GPQA Diamond, 92.7% to 66.9%; Grok 4.7 leads on FrontierMath Tiers 1-3 (v2), 53% to 6%. Scores are independent evaluations, not either vendor's launch figures.
Which has the larger context window, GPT-4.1 or Grok 4.7?
GPT-4.1 has the larger context window, 1,047,576 vs 500,000 tokens.
How do GPT-4.1 and Grok 4.7 differ in features?
GPT-4.1 takes text and image input; Grok 4.7 takes text.
Further reading
More on GPT-4.1 and Grok 4.7
Articles on GPT-4.1 and Grok 4.7
- Grok 4.7 vs Fable 5.1 vs GPT-6 Astra: Real Cost per TaskSeptember 23, 2026
- Grok 4.7: Same Price as Grok 4.6, but Check Cost per TaskSeptember 22, 2026
Related comparisons
Production evaluation
Choosing between GPT-4.1 and Grok 4.7?
Public benchmarks narrow the shortlist. We run both on your own tasks, data and cost limits, then build the routing and review controls to run the winner in production.
- A head-to-head evaluation on your real workload
- Routing between models by cost and difficulty
