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