Skip to content
llmmodels

GPT-4.1 vs Grok 4

Grok 4 wins 5 of 5 benchmarks both models report and has a higher Epoch Capabilities Index (146.9 vs 136.1).

SpecGPT-4.1Grok 4
ProviderOpenAIxAI
ReleasedApr 14, 2025Jul 9, 2025 (better)
TypeChat LLMChat LLM
Parameters—3T
Context window1M—
Max output32K—
Input price / 1M$2—
Output price / 1M$8—
Input modalitiestext, image, pdf, file (better)text, image
Open weightsNoNo
LicenseProprietaryProprietary
Reasoning modeNoNo
Tool callingYesNo
API providers32 (better)—
Epoch Capabilities Index136.1146.9 (better)
GPQA Diamond66.9%87.0% (better)
Humanity's Last Exam5.4%—
SWE-bench Verified48.5%—
Terminal-Bench—27.2%
Aider Polyglot52.4%79.6% (better)
OTIS Mock AIME38.3%84.0% (better)
MATH Level 583.0%—
FrontierMath6.0%—
ARC-AGI-20.4%16.0% (better)
SimpleQA Verified31.1%—
METR Time Horizon—110 min

About GPT-4.1

GPT-4.1 is a proprietary chat llm from OpenAI, released Apr 14, 2025. It has a 1M-token context window and accepts text, image, pdf, file input. API pricing starts at $2 per million input tokens and $8 per million output tokens. It is available from 32 API providers. It scores 136.1 on the Epoch Capabilities Index. Full GPT-4.1 specs →

About Grok 4

Grok 4 is a proprietary chat llm from xAI, released Jul 9, 2025. It has 3T parameters and accepts text, image input. It scores 146.9 on the Epoch Capabilities Index. Full Grok 4 specs →

Compare other models

FAQ

Which is better, GPT-4.1 or Grok 4?

Grok 4 wins 5 of 5 benchmarks both models report and has a higher Epoch Capabilities Index (146.9 vs 136.1).

Are GPT-4.1 and Grok 4 open source?

GPT-4.1 is proprietary; Grok 4 is proprietary.