Skip to content
llmmodels

GPT-4o mini vs xAI: Grok 4 Fast Reasoning

xAI: Grok 4 Fast Reasoning is slightly cheaper on a blended (3:1 input:output) token price. xAI: Grok 4 Fast Reasoning has the larger context window (2M vs 125K).

SpecGPT-4o minixAI: Grok 4 Fast Reasoning
ProviderOpenAIxAI
ReleasedJul 18, 2024Dec 18, 2025 (better)
TypeReasoning LLMReasoning LLM
Parameters——
Context window125K2M (better)
Max output16K2M (better)
Input price / 1M$0.15 (better)$0.18
Output price / 1M$0.6$0.45 (better)
Input modalitiestext, image, pdf, file (better)text, image
Open weightsNoNo
LicenseProprietaryProprietary
Reasoning modeYesYes
Tool callingYesYes
API providers27 (better)5
Epoch Capabilities Index123.8—
GPQA Diamond37.7%—
Aider Polyglot3.6%—
OTIS Mock AIME6.9%—
MATH Level 552.6%—
FrontierMath0.7%—
ARC-AGI-20.0%—
SimpleQA Verified8.3%—
LiveBench41.3%—
MMLU81.8%—
GSM8K91.3%—

Cost example

For a workload of 10M input + 2M output tokens per month: GPT-4o mini costs $2.70 and xAI: Grok 4 Fast Reasoning costs $2.70 at list price (OpenAI / jiekou pricing).

About GPT-4o mini

GPT-4o mini is a proprietary reasoning llm from OpenAI, released Jul 18, 2024. It has a 125K-token context window and accepts text, image, pdf, file input. API pricing starts at $0.15 per million input tokens and $0.6 per million output tokens. It is available from 27 API providers. It scores 123.8 on the Epoch Capabilities Index. Full GPT-4o mini specs →

About xAI: Grok 4 Fast Reasoning

xAI: Grok 4 Fast Reasoning is a proprietary reasoning llm from xAI, released Dec 18, 2025. It has a 2M-token context window and accepts text, image input. API pricing starts at $0.18 per million input tokens and $0.45 per million output tokens. It is available from 5 API providers. Full xAI: Grok 4 Fast Reasoning specs →

Compare other models

FAQ

Which is better, GPT-4o mini or xAI: Grok 4 Fast Reasoning?

xAI: Grok 4 Fast Reasoning is slightly cheaper on a blended (3:1 input:output) token price. xAI: Grok 4 Fast Reasoning has the larger context window (2M vs 125K).

Is GPT-4o mini cheaper than xAI: Grok 4 Fast Reasoning?

GPT-4o mini costs $0.15 input / $0.6 output per 1M tokens; xAI: Grok 4 Fast Reasoning costs $0.18 / $0.45. xAI: Grok 4 Fast Reasoning is cheaper overall.

Which has a bigger context window?

GPT-4o mini: 128,000 tokens. xAI: Grok 4 Fast Reasoning: 2,000,000 tokens.

Are GPT-4o mini and xAI: Grok 4 Fast Reasoning open source?

GPT-4o mini is proprietary; xAI: Grok 4 Fast Reasoning is proprietary.