Enter opens the highlighted result. Esc closes.

LLMs with the longest context window

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

Context window · read December 4

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

Top 20 of 333, 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 enough data $2.50
2
2M
Not benchmarked $2.50
3
Llama 4 Scout Meta Llama
1.31M
Not benchmarked $0.30
4
GPT-6 Luna OpenAI
1.05M
51.1 $0.50
5
1.05M
Not benchmarked $0.50
6
GPT-5.6 Luna OpenAI
1.05M
48.6 $1.20
7
1.05M
Not benchmarked $1.20
8
GPT-6.1 Terra OpenAI
1.05M
74.3 $5.00
9
1.05M
Not benchmarked $5.00
10
GPT-6 Sol OpenAI
1.05M
67.5 $10.00
11
GPT-6 Sol Pro OpenAI
1.05M
Not benchmarked $10.00
12
GPT-6.1 Sol OpenAI
1.05M
76.6 $10.00
13
1.05M
Not benchmarked $10.00
14
GPT-6.2 Sol OpenAI
1.05M
80.7 $10.00
15
1.05M
Not benchmarked $10.00
16
GPT-5.6 Terra OpenAI
1.05M
60.8 $12.00
17
1.05M
Not benchmarked $12.00
18
GPT-5.4 OpenAI
1.05M
61.9 $15.00
19
GPT-5.5 OpenAI
1.05M
66.9 $30.00
20
GPT-5.6 Sol OpenAI
1.05M
67.6 $30.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