Skip to content

Longest context

Ranked by maximum context window (tokens) as listed by the API provider.

Ranked by maximum context window (tokens) as listed by the API provider. Source: OpenRouter. Variants (reasoning effort, batch) are folded into one row.

#ModelCapabilityReasoningCodingContext$/M
101Qwen3.6 FlashAlibaba (Qwen)———1M$0.42
102Qwen3.6 PlusAlibaba (Qwen)———1M$0.73
103Qwen3.8 27BAlibaba (Qwen)———1M$1.14
104Qwen3.8 FlashAlibaba (Qwen)———1M$0.23
105Qwen3.8 Max PrimeNEWAlibaba (Qwen)———1M$6.00
106Qwen3.8 Omni FlashNEWAlibaba (Qwen)———1M$0.23
107Inkling SmallThinking Machines Lab150.1——524K$0.64
108InklingThinking Machines Lab148.6——524K$1.76
109Solar Mini 4NEWUpstage———524K$0.087
110Solar Pro 4Upstage———524K$0.16
111Grok 4.6xAI156.594.065.2500K$3.00
112Grok 4.5xAI154.093.453.8500K$3.00
113Grok 4.7NEWxAI———500K$3.00
114GPT-5.3-CodexOpenAI156.8——400K$4.81
115GPT-5.2 ProOpenAI · +1 variant155.4——400K$57.75
116GPT-5.2OpenAI · +1 variant153.488.2—400K$4.81
117GPT-5 ProOpenAI · +1 variant150.3——400K$41.25
118GPT-5OpenAI · +1 variant150.086.2—400K$3.44
119GPT-5.1OpenAI · +1 variant149.787.6—400K$3.44
120GPT-5.4 MiniOpenAI · +1 variant148.883.6—400K$1.69
121GPT-5.4 NanoOpenAI · +1 variant145.878.5—400K$0.46
122GPT-5 MiniOpenAI · +1 variant145.575.0—400K$0.69
123GPT-5 NanoOpenAI · +1 variant139.469.4—400K$0.14
124GPT Chat LatestOpenAI———400K$11.25
125GPT-5 ImageOpenAI———400K$10.00
126GPT-5 Image MiniOpenAI———400K$2.38
127GPT-5.1-CodexOpenAI———400K$3.44
128GPT-5.1-Codex-MaxOpenAI———400K$3.44
129GPT-5.1-Codex-MiniOpenAI———400K$0.69
130GPT-5.2-CodexOpenAI———400K$4.81
131Nova Lite 1.0Amazon———300K$0.10
132Nova Pro 1.0Amazon———300K$1.40
133GPT-5.4 Image 2OpenAI———272K$9.75
134Kimi K2.6Moonshot AI151.090.8—262K$1.34
135Kimi K2.7 CodeMoonshot AI150.087.930.5262K$1.32
136Kimi K2.5Moonshot AI148.1——262K$0.90
137Qwen3.5 397B A17BAlibaba (Qwen)146.686.4—262K$1.29
138Qwen3.6 27BAlibaba (Qwen)146.585.9—262K$1.04
139Nemotron 3 UltraNVIDIA146.285.4—262K$1.05
140Kimi K2 ThinkingMoonshot AI146.0——262K$1.07
141Gemma 4 31BGoogle142.775.8—262K$0.15
142Qwen3.5-35B-A3BAlibaba (Qwen)142.583.5—262K$0.45
143Qwen3 MaxAlibaba (Qwen)142.4——262K$1.56
144Gemma 4 26B A4BGoogle141.873.2—262K$0.14
145Qwen3.5-9BAlibaba (Qwen)139.479.0—262K$0.11
146Aion 3.5NEWAionLabs———262K$3.75
147Aion 3.5 MiniNEWAionLabs———262K$0.88
148Devstral 2 2512Mistral AI———262K$0.80
149Hy3Tencent———262K$0.23
150Hy3 previewTencent———262K$0.28
— means no published score from that source yet · click a model for every benchmark with its source

New - awaiting independent evaluation

All new models →

Not ranked until an independent evaluator (Epoch AI) publishes scores. We don't use vendor-reported benchmark claims for rankings.

Best AI for coding →
Models ranked on DeepSWE
Best AI for reasoning →
Ranked on GPQA Diamond
Best AI for math →
Ranked on competition math
Best open-weight models →
Weights you can run yourself
Cheapest capable models →
Lowest blended API price
Best AI coding tools →
Apps & agents by popularity
Best AI image generators →
Apps & models
Best AI for research →
Answer engines & deep research