LLMBenchmark.ai

Enter opens the highlighted result. Esc closes.

LLMs with the longest context window

Grok 4.20 leads
2M
models ranked
349
context of #1
2M

Context window · read October 20

As of October 20, 2026, SpaceXAI Grok 4.20 has the largest listed context window, 2M tokens, ahead of SpaceXAI Grok 4.20 Multi-Agent (2M) and Meta Llama 4 Scout (1.31M).

Top 20 of 349, higher is better

Embed this data
LLMs with the longest context window
Rank Model Context window Evidence Coding index Output $/Mtok
1
Grok 4.20 xAI
2M
Not benchmarked $2.50
2
2M
Not benchmarked $2.50
3
Llama 4 Scout Meta Llama
1.31M
9.1 $0.30
4
MiMo-V2.5 Xiaomi
1.05M
34.0 $0.28
5
1.05M
61.9 $0.28
6
GPT-6 Luna OpenAI
1.05M
71.4 $0.50
7
1.05M
Not benchmarked $0.50
8
MiMo-V2.5-Pro Xiaomi
1.05M
40.0 $0.87
9
MiMo-V2.6-Pro Xiaomi
1.05M
72.6 $0.87
10
GPT-5.6 Luna OpenAI
1.05M
61.5 $1.20
11
1.05M
Not benchmarked $1.20
12
GPT-6 Sol OpenAI
1.05M
82.8 $10.00
13
GPT-6 Sol Pro OpenAI
1.05M
Not benchmarked $10.00
14
GPT-6.1 Sol OpenAI
1.05M
88.7 $10.00
15
1.05M
Not benchmarked $10.00
16
GPT-5.6 Terra OpenAI
1.05M
69.0 $12.00
17
1.05M
Not benchmarked $12.00
18
GPT-5.4 OpenAI
1.05M
37.7 $15.00
19
GPT-5.6 Sol OpenAI
1.05M
76.7 $20.00
20
1.05M
Not benchmarked $20.00

How this list is built

Generated from the dataset on every refresh. Nobody picks the order by hand.

Priced models by the context window OpenRouter lists, largest first. Among equal windows the cheaper output price comes first.

Other lists

Rankings beyond coding · Methodology