Skip to content
llmmodels

GPT-5 Mini vs xAI Grok Code Fast 1

GPT-5 Mini wins 1 of 1 benchmarks both models report. xAI Grok Code Fast 1 is about 1.4× cheaper on a blended (3:1 input:output) token price. GPT-5 Mini has the larger context window (400K vs 250K).

SpecGPT-5 MinixAI Grok Code Fast 1
ProviderOpenAIxAI
ReleasedAug 7, 2025Sep 2, 2025 (better)
TypeReasoning LLMReasoning LLM
Parameters——
Context window400K (better)250K
Max output125K (better)10K
Input price / 1M$0.25$0.19 (better)
Output price / 1M$2$1.43 (better)
Input modalitiestext, image, file (better)text
Open weightsNoNo
LicenseProprietaryProprietary
Reasoning modeYesYes
Tool callingYesYes
API providers37 (better)7
Epoch Capabilities Index146.0—
GPQA Diamond75.0%—
Humanity's Last Exam19.4%—
SWE-bench Verified64.7%—
Terminal-Bench34.8% (better)25.8%
WebDev Arena—1223
OTIS Mock AIME86.7%—
MATH Level 597.8%—
FrontierMath46.7%—
ARC-AGI-24.4%—
SimpleQA Verified21.6%—

Cost example

For a workload of 10M input + 2M output tokens per month: GPT-5 Mini costs $6.50 and xAI Grok Code Fast 1 costs $4.75 at list price (OpenAI / jiekou pricing).

About GPT-5 Mini

GPT-5 Mini is a proprietary reasoning llm from OpenAI, released Aug 7, 2025. It has a 400K-token context window and accepts text, image, file input. API pricing starts at $0.25 per million input tokens and $2 per million output tokens. It is available from 37 API providers. It scores 146.0 on the Epoch Capabilities Index. Full GPT-5 Mini specs →

About xAI Grok Code Fast 1

xAI Grok Code Fast 1 is a proprietary reasoning llm from xAI, released Sep 2, 2025. It has a 250K-token context window. API pricing starts at $0.19 per million input tokens and $1.43 per million output tokens. It is available from 7 API providers. Full xAI Grok Code Fast 1 specs →

Compare other models

FAQ

Which is better, GPT-5 Mini or xAI Grok Code Fast 1?

GPT-5 Mini wins 1 of 1 benchmarks both models report. xAI Grok Code Fast 1 is about 1.4× cheaper on a blended (3:1 input:output) token price. GPT-5 Mini has the larger context window (400K vs 250K).

Is GPT-5 Mini cheaper than xAI Grok Code Fast 1?

GPT-5 Mini costs $0.25 input / $2 output per 1M tokens; xAI Grok Code Fast 1 costs $0.19 / $1.43. xAI Grok Code Fast 1 is cheaper overall.

Which has a bigger context window?

GPT-5 Mini: 400,000 tokens. xAI Grok Code Fast 1: 256,000 tokens.

Are GPT-5 Mini and xAI Grok Code Fast 1 open source?

GPT-5 Mini is proprietary; xAI Grok Code Fast 1 is proprietary.