modelgrep

Longest-Context xAI Models

Match · Updated July 2026

Grok 4.20 Multi-Agent has the largest context window of any xAI model, at 2M tokens. Grok 4.20 (2M) and Grok 4.3 (1M) round out the top three.

2MContext
$1.25Input /M

AI models with the largest context windows, ranked by token capacity. The best large language models for long documents, codebases and extended conversations.

  1. 1x-ai logo
    grok-4.20-multi-agent
    ReasoningJSONVision$1.25/M
    2M
    Context
  2. 2x-ai logo
    grok-4.20
    ReasoningToolsJSON+137.0 intel · $1.25/M
    2M
    Context
  3. 3x-ai logo
    grok-4.3
    ReasoningToolsJSON+137.6 intel · $1.25/M
    1M
    Context
  4. 4x-ai logo
    grok-4.5
    ReasoningToolsJSON+153.8 intel · $2.00/M
    500K
    Context
  5. 5x-ai logo
    grok-build-0.1
    ReasoningToolsJSON+1$1.00/M
    256K
    Context

Frequently asked

Which xAI model has the largest context window?

Grok 4.20 Multi-Agent has the largest context window of any xAI model, at 2M tokens. Grok 4.20 (2M) and Grok 4.3 (1M) round out the top three.

What's a good alternative to Grok 4.20 Multi-Agent?

Grok 4.20 (2M) is the closest alternative on this metric, followed by Grok 4.3 (1M). See the full ranking above for the tradeoffs.

How many xAI models are there?

modelgrep tracks 5 xAI models with live benchmarks, speed, latency and per-provider pricing, led on intelligence by Grok 4.5. 5 of them qualify for this ranking.

More xAI rankings

All rankings