GPT-5.1-Codex-Max vs Grok 4 Fast

Compare GPT-5.1-Codex-Max from OpenAI and Grok 4 Fast from SpaceXSI on key metrics including benchmarks, price, context length, and other model features. Access both models and hundreds of others through the OpenRouter API.

Favicon for openai
GPT-5.1-Codex-Max
Favicon for x-ai
Grok 4 Fast

Overview

GPT-5.1-Codex-Max
Author
OpenAI
Grok 4 Fast
Author
SpaceXSI
GPT-5.1-Codex-Max
Context length
400Ktokens
Grok 4 Fast
Context length
2Mtokens
GPT-5.1-Codex-Max
Reasoning
Yes
Grok 4 Fast
Reasoning
Yes
GPT-5.1-Codex-Max
Input modalities
Text, Image
Grok 4 Fast
Input modalities
Text, Image, File
GPT-5.1-Codex-Max
Output modalities
Text
Grok 4 Fast
Output modalities
Text

Analysis

GPT-5.1-Codex-Max vs Grok 4 Fast at a glance

Index and benchmark scores are from Artificial Analysis. Each score is the model's best published result across the configurations Artificial Analysis evaluated.

GPT-5.1-Codex-Max
Input price
$1.25/M tokens
Grok 4 Fast
Input price
Pricing varies by provider
GPT-5.1-Codex-Max
Output price
$10/M tokens
Grok 4 Fast
Output price
Pricing varies by provider
GPT-5.1-Codex-Max
Context window
400,000 tokens
Grok 4 Fast
Context window
2,000,000 tokens
GPT-5.1-Codex-Max
Openness Index Artificial Analysis, best published result
Not available
Grok 4 Fast
Openness Index Artificial Analysis, best published result
5.6
GPT-5.1-Codex-Max
Multilingual Index Artificial Analysis, best published result
Not available
Grok 4 Fast
Multilingual Index Artificial Analysis, best published result
85.9%
GPT-5.1-Codex-Max
Latency (p50)
3.68 s
Grok 4 Fast
Latency (p50)
Not available
GPT-5.1-Codex-Max
Throughput (p50)
59.0 tok/s
Grok 4 Fast
Throughput (p50)
Not available
GPT-5.1-Codex-Max
Provided by
OpenAI
Grok 4 Fast
Provided by
SpaceXSI

Benchmark data updated

Frequently asked questions

Which has the longer context window, GPT-5.1-Codex-Max or Grok 4 Fast?

Grok 4 Fast has the longer context window at 2,000,000 tokens, compared with 400,000 tokens for GPT-5.1-Codex-Max.