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

Compare GPT-5.1-Codex-Max from OpenAI and Grok Code Fast 1 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 Code Fast 1

Overview

GPT-5.1-Codex-Max
Author
OpenAI
Grok Code Fast 1
Author
SpaceXSI
GPT-5.1-Codex-Max
Context length
400Ktokens
Grok Code Fast 1
Context length
256Ktokens
GPT-5.1-Codex-Max
Reasoning
Yes
Grok Code Fast 1
Reasoning
Yes
GPT-5.1-Codex-Max
Input modalities
Text, Image
Grok Code Fast 1
Input modalities
Text
GPT-5.1-Codex-Max
Output modalities
Text
Grok Code Fast 1
Output modalities
Text

Analysis

GPT-5.1-Codex-Max vs Grok Code Fast 1 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 Code Fast 1
Input price
Pricing varies by provider
GPT-5.1-Codex-Max
Output price
$10/M tokens
Grok Code Fast 1
Output price
Pricing varies by provider
GPT-5.1-Codex-Max
Context window
400,000 tokens
Grok Code Fast 1
Context window
256,000 tokens
GPT-5.1-Codex-Max
Openness Index Artificial Analysis, best published result
Not available
Grok Code Fast 1
Openness Index Artificial Analysis, best published result
5.6
GPT-5.1-Codex-Max
Latency (p50)
3.68 s
Grok Code Fast 1
Latency (p50)
Not available
GPT-5.1-Codex-Max
Throughput (p50)
59.0 tok/s
Grok Code Fast 1
Throughput (p50)
Not available
GPT-5.1-Codex-Max
Provided by
OpenAI
Grok Code Fast 1
Provided by
SpaceXSI

Benchmark data updated

Frequently asked questions

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

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