Price Per TokenPrice Per Token
OpenAI
OpenAI
vs
Xai
Xai

GPT-5.4 vs Grok Code Fast 1

A detailed comparison of pricing, benchmarks, and capabilities

108 out of our 483 tracked models have had a price change in March.

Get our weekly newsletter on pricing changes, new releases, and tools.

Key Takeaways

GPT-5.4 wins:

  • Larger context window
  • Higher intelligence benchmark
  • Better at coding
  • Supports vision

Grok Code Fast 1 wins:

  • Cheaper input tokens
  • Cheaper output tokens
  • Faster response time
  • Better at math
  • Has reasoning mode
Price Advantage
Grok Code Fast 1
Benchmark Advantage
GPT-5.4
Context Window
GPT-5.4
Speed
Grok Code Fast 1

Pricing Comparison

Price Comparison

MetricGPT-5.4Grok Code Fast 1Winner
Input (per 1M tokens)$2.50$0.20 Grok Code Fast 1
Output (per 1M tokens)$15.00$1.50 Grok Code Fast 1
Cache Read (per 1M)$0.25$0.02 Grok Code Fast 1
Using a 3:1 input/output ratio, Grok Code Fast 1 is 91% cheaper overall.

GPT-5.4 Providers

No provider data available

Grok Code Fast 1 Providers

No provider data available

Benchmark Comparison

6
Benchmarks Compared
3
GPT-5.4 Wins
0
Grok Code Fast 1 Wins

Benchmark Scores

BenchmarkGPT-5.4Grok Code Fast 1Winner
Intelligence Index
Overall intelligence score
57.028.7
Coding Index
Code generation & understanding
57.323.7
Math Index
Mathematical reasoning
-43.3-
MMLU Pro
Academic knowledge
-79.3-
GPQA
Graduate-level science
92.072.7
LiveCodeBench
Competitive programming
-65.7-
GPT-5.4 significantly outperforms in coding benchmarks.

Cost vs Quality

X-axis:
Y-axis:
Loading chart...
Other models

Context & Performance

Context Window

GPT-5.4
1,050,000
tokens
Grok Code Fast 1
256,000
tokens
GPT-5.4 has a 76% larger context window.

Speed Performance

MetricGPT-5.4Grok Code Fast 1Winner
Tokens/second84.0 tok/s171.7 tok/s
Time to First Token165.19s3.27s
Grok Code Fast 1 responds 105% faster on average.

Capabilities

Feature Comparison

FeatureGPT-5.4Grok Code Fast 1
Vision (Image Input)
Tool/Function Calls
Reasoning Mode
Audio Input
Audio Output
PDF Input
Prompt Caching
Web Search

License & Release

PropertyGPT-5.4Grok Code Fast 1
LicenseProprietaryProprietary
AuthorOpenAIXai
ReleasedMar 2026Aug 2025

GPT-5.4 Modalities

Input
textimagefile
Output
text

Grok Code Fast 1 Modalities

Input
text
Output
text

Related Comparisons

Compare GPT-5.4 with:

Compare Grok Code Fast 1 with:

Frequently Asked Questions

Grok Code Fast 1 has cheaper input pricing at $0.20/M tokens. Grok Code Fast 1 has cheaper output pricing at $1.50/M tokens.
GPT-5.4 scores higher on coding benchmarks with a score of 57.3, compared to Grok Code Fast 1's score of 23.7.
GPT-5.4 has a 1,050,000 token context window, while Grok Code Fast 1 has a 256,000 token context window.
GPT-5.4 supports vision. Grok Code Fast 1 does not support vision.