20 AI Models With the Longest Context Window
Models ranked by maximum context length, cheapest first on ties. · verified 2026-11-14
#1 is GPT-6 Luna at $0.10 input and $0.50 output per million tokens.
// ranking
| # | model | lab | in $/1M | out $/1M | ctx |
|---|---|---|---|---|---|
| 1 | GPT-6 Luna | OpenAI | $0.10 | $0.50 | 1.05M |
| 2 | GPT-5.6 Luna | OpenAI | $0.20 | $1.20 | 1.05M |
| 3 | GPT-6.1 Terra | OpenAI | $1.00 | $5.00 | 1.05M |
| 4 | GPT-6 Sol | OpenAI | $2.00 | $10.00 | 1.05M |
| 5 | GPT-6.1 Sol | OpenAI | $2.00 | $10.00 | 1.05M |
| 6 | GPT-5.6 Terra | OpenAI | $2.00 | $12.00 | 1.05M |
| 7 | GPT-5.4 | OpenAI | $2.50 | $15.00 | 1.05M |
| 8 | GPT-5.6 Sol | OpenAI | $4.00 | $20.00 | 1.05M |
| 9 | GPT-5.5 | OpenAI | $5.00 | $30.00 | 1.05M |
| 10 | GPT-6 Astra | OpenAI | $10.00 | $50.00 | 1.05M |
| 11 | GPT-5.4 Pro | OpenAI | $30.00 | $180.00 | 1.05M |
| 12 | GPT-5.5 Pro | OpenAI | $30.00 | $180.00 | 1.05M |
| 13 | DeepSeek V4 Flash 0731 | DeepSeek | $0.06 | $0.18 | 1.05M |
| 14 | DeepSeek V4 Flash | DeepSeek | $0.09 | $0.18 | 1.05M |
| 15 | Gemini 2.5 Flash-Lite | $0.10 | $0.40 | 1.05M | |
| 16 | Muse Ember | Meta | $0.10 | $0.50 | 1.05M |
| 17 | DeepSeek V4.1 Flash 1017 | DeepSeek | $0.15 | $0.60 | 1.05M |
| 18 | DeepSeek V4.1 Flash | DeepSeek | $0.20 | $0.60 | 1.05M |
| 19 | Gemini 3.1 Flash Lite | $0.25 | $1.50 | 1.05M | |
| 20 | DeepSeek V4 Flash Vision Exp | DeepSeek | $0.44 | $1.32 | 1.05M |
// how this ranking works
Models ranked by maximum context length, cheapest first on ties. Only active models with a published price and context window are included. Prices are base-tier list prices in USD per million tokens; the blended price weights input and output 3:1, a typical mix for chat and RAG workloads. The data comes from models.dev and is refreshed every day, so this ranking changes as soon as a provider changes its prices.