Price Per TokenPrice Per Token
OpenAI
OpenAI
vs
Xai
Xai

GPT-5.1-Codex-Mini vs Grok Code Fast 1

A detailed comparison of pricing, benchmarks, and capabilities

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

Join the Price Per Token Community

Key Takeaways

GPT-5.1-Codex-Mini wins:

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

Grok Code Fast 1 wins:

  • Cheaper input tokens
  • Cheaper output tokens
  • Faster response time
Price Advantage
Grok Code Fast 1
Benchmark Advantage
GPT-5.1-Codex-Mini
Context Window
GPT-5.1-Codex-Mini
Speed
Grok Code Fast 1

Pricing Comparison

Benchmark Comparison

Context & Performance

Capabilities

Feature Comparison

FeatureGPT-5.1-Codex-MiniGrok 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.1-Codex-MiniGrok Code Fast 1
LicenseProprietaryProprietary
AuthorOpenAIXai
ReleasedNov 2025Aug 2025

GPT-5.1-Codex-Mini Modalities

Input
imagetext
Output
text

Grok Code Fast 1 Modalities

Input
text
Output
text

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.1-Codex-Mini scores higher on coding benchmarks with a score of 36.4, compared to Grok Code Fast 1's score of 23.7.
GPT-5.1-Codex-Mini has a 400,000 token context window, while Grok Code Fast 1 has a 256,000 token context window.
GPT-5.1-Codex-Mini supports vision. Grok Code Fast 1 does not support vision.