# GPT-5 Codex vs Grok 4.1 Fast

Source: https://openrouter.ai/compare/openai/gpt-5-codex/x-ai/grok-4.1-fast

## Overview

| Attribute | GPT-5 Codex | Grok 4.1 Fast |
| --- | --- | --- |
| Author | OpenAI | SpaceXSI |
| Reasoning | Yes | Yes |
| Input modalities | Text, Image | Text, Image, File |
| Output modalities | Text | Text |
| Input price | Pricing varies by provider | Pricing varies by provider |
| Output price | Pricing varies by provider | Pricing varies by provider |
| Context window | 400,000 tokens | 2,000,000 tokens |
| Openness Index | 5.6 | 5.6 |
| Multilingual Index | Not available | 85.6% |
| Latency (p50) | Not available | Not available |
| Throughput (p50) | Not available | Not available |

## GPT-5 Codex or Grok 4.1 Fast: which should you choose?

### Choose Grok 4.1 Fast for:

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

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

## Benchmark differences

| Benchmark | GPT-5 Codex | Grok 4.1 Fast | Difference |
| --- | --- | --- | --- |
| Multilingual Index | Not available | 85.6% | Not available |

## Model pages

- [GPT-5 Codex](https://openrouter.ai/openai/gpt-5-codex) ([llms.txt](https://openrouter.ai/openai/gpt-5-codex/llms.txt))
- [Grok 4.1 Fast](https://openrouter.ai/x-ai/grok-4.1-fast) ([llms.txt](https://openrouter.ai/x-ai/grok-4.1-fast/llms.txt))
