Skip to content

LLMs with the Longest Context Window

The context window is the maximum number of tokens (prompt plus response) a model can consider in a single request. LLMs with the longest context windows can ingest entire books, large codebases, or long multi-turn conversations at once. The table below ranks models from largest to smallest context window.

Ranked list (top 25)

#ModelContextInput / 1MOutput / 1MContext
1Auto Router
Kilo Gateway
2,000,000 tokens$0.00$0.002M
2Auto Router
2,000,000 tokens$-1,000,000.00$-1,000,000.002M
3Agentic Chat (GPT-5.4)
GitLab Duo
1,050,000 tokens$0.00$0.001.1M
4Agentic Chat (GPT-5.5)
GitLab Duo
1,050,000 tokens$0.00$0.001.1M
5DeepSeek V4 Flash
LLM GatewayOpen weights
1,050,000 tokens$0.14$0.281.1M
6DeepSeek V4 Pro
LLM GatewayOpen weights
1,050,000 tokens$0.44$0.871.1M
7deepseek-ai/DeepSeek-V4-Pro
SiliconFlow (China)Open weights
1,049,000 tokens$1.74$3.481M
8Claude-Opus-4.7
Poe
1,048,576 tokens$4.30$21.001M
9Claude-Opus-4.8
Poe
1,048,576 tokens$4.29$21.461M
10Claw Low
NanoGPT
1,048,576 tokens$0.25$1.501M
11Coding Xiaomi MiMo-V2.5
AIHubMixOpen weights
1,048,576 tokens$0.08$0.401M
12Coding Xiaomi MiMo-V2.5-Pro
AIHubMixOpen weights
1,048,576 tokens$0.20$0.601M
13DeepSeek Latest
NanoGPT
1,048,576 tokens$1.10$2.201M
14DeepSeek V4 Flash
Hugging FaceOpen weights
1,048,576 tokens$0.14$0.281M
15DeepSeek V4 Flash
CortecsOpen weights
1,048,576 tokens$0.13$0.271M
16DeepSeek V4 Flash
NvidiaOpen weights
1,048,576 tokens$0.14$0.281M
17DeepSeek V4 Flash
NovitaAIOpen weights
1,048,576 tokens$0.14$0.281M
18DeepSeek V4 Flash
NanoGPT
1,048,576 tokens$0.14$0.281M
19DeepSeek V4 Flash
Deep InfraOpen weights
1,048,576 tokens$0.10$0.201M
20DeepSeek V4 Flash (Thinking)
NanoGPT
1,048,576 tokens$0.14$0.281M
21DeepSeek V4 Pro
NovitaAIOpen weights
1,048,576 tokens$1.69$3.381M
22DeepSeek V4 Pro
DigitalOceanOpen weights
1,048,576 tokens$1.74$3.481M
23DeepSeek V4 Pro
NvidiaOpen weights
1,048,576 tokens$0.44$0.871M
24DeepSeek V4 Pro
Deep InfraOpen weights
1,048,576 tokens$1.30$2.601M
25DeepSeek V4 Pro
NanoGPT
1,048,576 tokens$1.10$2.201M

Prices are per 1M tokens (USD); confirm with the provider. Updated regularly.

More LLM rankings

Frequently asked questions