# GPT-5.1-Codex-Max vs Grok 4 Fast

Source: https://openrouter.ai/compare/openai/gpt-5.1-codex-max/x-ai/grok-4-fast

## Overview

| Attribute | GPT-5.1-Codex-Max | Grok 4 Fast |
| --- | --- | --- |
| Author | OpenAI | SpaceXSI |
| Reasoning | Yes | Yes |
| Input modalities | Text, Image | Text, Image, File |
| Output modalities | Text | Text |
| Input price | $1.25/M tokens | Pricing varies by provider |
| Output price | $10/M tokens | Pricing varies by provider |
| Context window | 400,000 tokens | 2,000,000 tokens |
| Openness Index | Not available | 5.6 |
| Multilingual Index | Not available | 85.9% |
| Latency (p50) | 3.46 s | Not available |
| Throughput (p50) | 59.0 tok/s | Not available |

## GPT-5.1-Codex-Max or Grok 4 Fast: which should you choose?

### Choose Grok 4 Fast for:

- a longer context window (2,000,000 vs 400,000 tokens)

GPT-5.1-Codex-Max does not lead on any comparison both models report.

## Benchmark differences

| Benchmark | GPT-5.1-Codex-Max | Grok 4 Fast | Difference |
| --- | --- | --- | --- |
| Multilingual Index | Not available | 85.9% | Not available |

## Model pages

- [GPT-5.1-Codex-Max](https://openrouter.ai/openai/gpt-5.1-codex-max) ([llms.txt](https://openrouter.ai/openai/gpt-5.1-codex-max/llms.txt))
- [Grok 4 Fast](https://openrouter.ai/x-ai/grok-4-fast) ([llms.txt](https://openrouter.ai/x-ai/grok-4-fast/llms.txt))
