Skip to content

grok-4.1 vs GPT-5.1-Codex-Max

Both have similar output pricing, while GPT-5.1-Codex-Max offers a larger context window. Choose grok-4.1 or GPT-5.1-Codex-Max based on the trade-off between cost, context, and the benchmarks that matter for your use case.

Specgrok-4.1GPT-5.1-Codex-Max
Provider302.AIOpenAI
Input / 1M tokens$2.00$1.25
Output / 1M tokens$10.00$10.00
Context window200K400K
Parameters——
Open weightsNoNo
ReleasedNov 2025Nov 2025
LMArena (Chatbot Arena) Elo score1436—
LMArena WebDev Elo score1214—
LiveBench score—74.4

FAQ

Is grok-4.1 or GPT-5.1-Codex-Max cheaper?

grok-4.1 and GPT-5.1-Codex-Max have comparable output pricing.

Which has the larger context window, grok-4.1 or GPT-5.1-Codex-Max?

GPT-5.1-Codex-Max has the larger context window (400K tokens).

Pricing is indicative — confirm with the provider before production use. Highlighted values indicate the better figure for that row.