The AI arena is free today

Open Superagent

GPT-4.1 mini vs Grok 4.7

Grok 4.7 leads the LLM Stats Score 48.5 to 14.0. GPT-4.1 mini is 4.3x cheaper per token.

OpenAI · xAI · Updated for 2026

Which is better?

Grok 4.7 leads the overall LLM Stats Score 48.5 to 14.0, ranking #22 overall.

On price, GPT-4.1 mini is roughly 4.3x cheaper per token on a blended 3:1 input/output basis, which adds up quickly at production volume.

GPT-4.1 mini also accepts a larger context window (1,047,576 input tokens), making it the stronger choice for long documents and large codebases.

Based on current LLM Stats indexes, shared benchmarks, pricing, and model metadata for 2026.

Choose GPT-4.1 mini

  • cost matters — it's about 4.3x cheaper per token
  • you process long inputs — it offers a 1,047,576 token context window

Choose Grok 4.7

  • overall performance matters — it scores 48.5 and ranks #22 on LLM Stats
  • your work emphasizes reasoning and coding — it leads those capability indexes
  • you want the most recent training data — it shipped Sep 2026

At a glance

The differences that matter most.

Core performance indexes
14.0
#242
48.5
#22
13.9
#234
37.4
#68
-3.3
#256
40.1
#13
Cost, coverage & limits
Benchmark wins
Input price
$0.40 / M
$2.00 / M
Output price
$1.60 / M
$6.00 / M
Context window
1,047,576
500,000

Individual benchmarks

28 reported for GPT-4.1 mini · 23 for Grok 4.7

No common benchmarks found

GPT-4.1 mini and Grok 4.7don't have any common benchmark datasets to compare. They may have been evaluated on different testing suites.

Human preference

Blind head-to-head votes and playground preference scores

Pricing Analysis

Price comparison per million tokens

GPT-4.1 mini costs less

For input processing, GPT-4.1 mini ($0.40/1M tokens) is 5.0x cheaper than Grok 4.7 ($2.00/1M tokens).

For output processing, GPT-4.1 mini ($1.60/1M tokens) is 3.8x cheaper than Grok 4.7 ($6.00/1M tokens).

In conclusion, Grok 4.7 is more expensive than GPT-4.1 mini.*

* Using a 3:1 ratio of input to output tokens

Lowest available price from all providers
Tue Sep 22 2026 • llm-stats.com
OpenAI
GPT-4.1 mini
Input tokens$0.40
Output tokens$1.60
Best providerOpenAI
xAI
Grok 4.7
Input tokens$2.00
Output tokens$6.00
Best providerxAI
Notice missing or incorrect data?Start an Issue

Context Window

Maximum input and output token capacity

GPT-4.1 mini accepts 1,047,576 input tokens compared to Grok 4.7's 500,000 tokens. Only GPT-4.1 mini specifies output context (32,768 tokens).

OpenAI
GPT-4.1 mini
Input1,047,576 tokens
Output32,768 tokens
xAI
Grok 4.7
Input500,000 tokens
Output- tokens
Tue Sep 22 2026 • llm-stats.com

Input capabilities

Documented input modalities across available providers

Both GPT-4.1 mini and Grok 4.7 support multimodal inputs.

They are both capable of processing various types of data, offering versatility in application.

GPT-4.1 mini

Text
Images
Audio
Video

Grok 4.7

Text
Images
Audio
Video

License

Usage and distribution terms

Both models are licensed under proprietary licenses.

Both models have usage restrictions defined by their respective organizations.

GPT-4.1 mini

Proprietary

Closed source

Grok 4.7

Proprietary

Closed source

Release Timeline

When each model was launched

GPT-4.1 mini was released on 2025-04-14, while Grok 4.7 was released on 2026-09-21.

Grok 4.7 is 18 months newer than GPT-4.1 mini.

GPT-4.1 mini

Apr 14, 2025

1.4 years ago

Grok 4.7

Sep 21, 2026

0 days ago

1.4yr newer

Knowledge Cutoff

When training data ends

GPT-4.1 mini has a knowledge cutoff of 2024-05-31, while Grok 4.7 has a cutoff of 2026-05-01.

Grok 4.7 has more recent training data (up to 2026-05-01), making it potentially better informed about events through that date compared to GPT-4.1 mini (2024-05-31).

GPT-4.1 mini

May 2024

Grok 4.7

May 2026

2 yr newer

Provider Availability

GPT-4.1 mini is available from OpenAI. Grok 4.7 is available from xAI.

GPT-4.1 mini

openai logo
OpenAI
Input Price:Input: $0.40/1MOutput Price:Output: $1.60/1M

Grok 4.7

xai logo
xAI
Input Price:Input: $2.00/1MOutput Price:Output: $6.00/1M
* Prices shown are per million tokens

Outputs Comparison

Notice missing or incorrect data?Start an Issue discussion

Judge for yourself.

Run your own prompts against GPT-4.1 mini and Grok 4.7 side-by-side, then vote on the output you prefer.

GPT-4.1 mini
✓ Preferred
Grok 4.7
Open in Playground

FAQ

Common questions about GPT-4.1 mini vs Grok 4.7.

Which is better, GPT-4.1 mini or Grok 4.7?

Grok 4.7 leads the LLM Stats Score 48.5 to 14.0. GPT-4.1 mini is made by OpenAI and Grok 4.7 is made by xAI. The best choice depends on your use case — compare their capability indexes, individual benchmarks, pricing, and limits above.

How does GPT-4.1 mini compare to Grok 4.7 in benchmarks?

GPT-4.1 mini scores CharXiv-D: 88.4%, MMLU: 87.5%, IFEval: 84.1%, MMMLU: 78.5%, MathVista: 73.1%. Grok 4.7 scores BixBench MCQ: 88.4%, WMDP-Bio: 88.1%, WMDP-Cyber: 88.1%, WMDP-Chem: 84.9%, CyberGym: 80.3%.

Is GPT-4.1 mini cheaper than Grok 4.7?

GPT-4.1 mini is 5.0x cheaper for input tokens. GPT-4.1 mini costs $0.40/M input and $1.60/M output via openai. Grok 4.7 costs $2.00/M input and $6.00/M output via xai.

What are the context window sizes for GPT-4.1 mini and Grok 4.7?

GPT-4.1 mini supports 1.0M tokens and Grok 4.7 supports 500K tokens. A larger context window lets you process longer documents, conversations, or codebases in a single request.

What are the main differences between GPT-4.1 mini and Grok 4.7?

Key differences include LLM Stats Score (14.0 vs 48.5), context window (1.0M vs 500K), input pricing ($0.40 vs $2.00/M). See the full comparison above for benchmark-by-benchmark results.

Who makes GPT-4.1 mini and Grok 4.7?

GPT-4.1 mini is developed by OpenAI and Grok 4.7 is developed by xAI.