Skip to content
llmmodels

GPT-5.4 mini vs Grok 4.7

Grok 4.7 wins 7 of 7 benchmarks both models report and has a higher Epoch Capabilities Index (156.4 vs 149.4). GPT-5.4 mini is about 1.8× cheaper on a blended (3:1 input:output) token price. Grok 4.7 has the larger context window (500K vs 400K).

SpecGPT-5.4 miniGrok 4.7
ProviderOpenAIxAI
ReleasedMar 17, 2026Sep 21, 2026 (better)
TypeReasoning LLMReasoning LLM
Parameters—2.1T
Context window400K500K (better)
Max output125K500K (better)
Input price / 1M$0.75 (better)$2
Output price / 1M$4.50 (better)$6
Input modalitiestext, image, filetext, image, pdf, file (better)
Open weightsNoNo
LicenseProprietaryProprietary
Reasoning modeYesYes
Tool callingYesYes
API providers43 (better)37
Epoch Capabilities Index149.4156.4 (better)
GPQA Diamond86.9%92.7% (better)
WebDev Arena13971638 (better)
OTIS Mock AIME88.9%98.1% (better)
FrontierMath51.2%53.0% (better)
ARC-AGI-218.9%61.4% (better)
SimpleQA Verified29.4%56.0% (better)

Cost example

For a workload of 10M input + 2M output tokens per month: GPT-5.4 mini costs $16.50 and Grok 4.7 costs $32.00 at list price (OpenAI / xai pricing).

About GPT-5.4 mini

GPT-5.4 mini is a proprietary reasoning llm from OpenAI, released Mar 17, 2026. It has a 400K-token context window and accepts text, image, file input. API pricing starts at $0.75 per million input tokens and $4.50 per million output tokens. It is available from 43 API providers. It scores 149.4 on the Epoch Capabilities Index. Full GPT-5.4 mini specs →

About Grok 4.7

Grok 4.7 is a proprietary reasoning llm from xAI, released Sep 21, 2026. It has 2.1T parameters, a 500K-token context window and accepts text, image, pdf, file input. API pricing starts at $2 per million input tokens and $6 per million output tokens. It is available from 37 API providers. It scores 156.4 on the Epoch Capabilities Index. Full Grok 4.7 specs →

Compare other models

FAQ

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

Grok 4.7 wins 7 of 7 benchmarks both models report and has a higher Epoch Capabilities Index (156.4 vs 149.4). GPT-5.4 mini is about 1.8× cheaper on a blended (3:1 input:output) token price. Grok 4.7 has the larger context window (500K vs 400K).

Is GPT-5.4 mini cheaper than Grok 4.7?

GPT-5.4 mini costs $0.75 input / $4.50 output per 1M tokens; Grok 4.7 costs $2 / $6. GPT-5.4 mini is cheaper overall.

Which has a bigger context window?

GPT-5.4 mini: 400,000 tokens. Grok 4.7: 500,000 tokens.

Are GPT-5.4 mini and Grok 4.7 open source?

GPT-5.4 mini is proprietary; Grok 4.7 is proprietary.