LiteLLMModels

AI Models with the Largest Context Windows

As of October 21, 2026, among LiteLLM's active models with a 32K-token context window or more, offered by at least two providers or by their own lab, GPT-5.4 has the largest context window, at 1,050,000 tokens, from OpenAI.

Updated Sorted by context window only, not by quality

Top 20

Sorted by context window, largest first; ties sorted by blended price. Only active models with a 32K-token context window or more, offered by at least two providers or by their own lab. Free models are left out.

#ModelLabContext windowPrice per 1M (in / out)ContextProvidersPrice from
1GPT-5.4OpenAI1,050,000 tokens$2.50 / $15.001M9OpenAI
2GPT-5.5OpenAI1,050,000 tokens$5.00 / $30.001M10OpenAI
3Nvidia Nemotron 3.5 Super VL 120B A12BNVIDIA1,049,000 tokens$0.15 / $0.751M2Weights & Biases
4DeepSeek V4.1 FlashDeepSeek1,048,576 tokens$0.09 / $0.301M14Sail
5Gemini 2.5 Flash LiteGoogle1,048,576 tokens$0.10 / $0.401M3Google AI Studio
6Gemini 2.5 Flash Lite PreviewGoogle1,048,576 tokens$0.10 / $0.401M1Google Vertex AI
7Mimo V2.6 FlashXiaomi1,048,576 tokens$0.14 / $0.281M1Xiaomi MiMo
8Mimo V2.5Xiaomi1,048,576 tokens$0.168 / $0.3361M2Novita AI
9GLM 5.3 FlashZ.ai1,048,576 tokens$0.15 / $0.501M14Z.ai
10DeepSeek V4.1 Flash FastDeepSeek1,048,576 tokens$0.01 / $1.201M2CoralBricks
11Mimo V2.6 ProXiaomi1,048,576 tokens$0.435 / $0.871M1Xiaomi MiMo
12Beam 1.0 501B A23B–1,048,576 tokens$0.40 / $1.201M2Together AI
13Mimo V2.5 ProXiaomi1,048,576 tokens$0.522 / $1.0441M2Novita AI
14Gemini 2.5 FlashGoogle1,048,576 tokens$0.30 / $2.501M8Google AI Studio
15Gemini 2.5 Flash PreviewGoogle1,048,576 tokens$0.30 / $2.501M1Google Vertex AI
16Gemini 3.5 Flash LiteGoogle1,048,576 tokens$0.30 / $2.501M5Google AI Studio
17Gemini ExpGoogle1,048,576 tokens$0.30 / $2.501M1Google AI Studio
18Gemini Flash LiteGoogle1,048,576 tokens$0.30 / $2.501M1Google AI Studio
19Gemini Robotics Er 1.5 PreviewGoogle1,048,576 tokens$0.30 / $2.501M1Google Vertex AI
20Mistral Large 4Mistral AI1,048,576 tokens$0.68 / $2.091M1Mistral AI

More rankings