- Input /1M
- $0.2
- Output /1M
- $1.2
- Context
- 1.1M
- AA Intelligence
- 37.3
- DesignArena Elo
- 1229
- Arena Elo
- 1189
- MMLU-Pro
- 71.8
- Blended
- $0.45
- Trend
- 0%
AI model rankings · Code & SLMs
Coding AI Models with the Longest Context Window
GPT-6 Luna offers the largest context window of the 35 Code & SLMs models we track: 1.1M tokens.
The median context across this list is 400K. A large window lets you send whole documents or code repositories in one request, but every token you send is billed, so long prompts get expensive fast.
8 of the top 35 have no published AA Intelligence score; they show "—" and are never estimated. The list covers 9 providers.
Updated December 2026 · 35 models · 9 providers · prices per 1M tokens
Top 3 Code & SLMs Models
Code & SLMs Models Ranking
| $0.2 | $1.2 | 1.1M | 37.3 | 1229 | 1189 | 71.8 | $0.45 | 0% | |
| $5 | $30 | 1.1M | 47 | 1314 | 1255 | 82.8 | $11.25 | 41% | |
| $2 | $12 | 1.1M | 42.1 | 1240 | 1233 | 79.1 | $4.50 | 0% | |
| $10 | $50 | 1.1M | 52.7 | 1390 | 1288 | 88.3 | $20.00 | 0% | |
| $0.1 | $0.5 | 1.1M | 38.1 | 1265 | 1211 | 75.4 | $0.20 | 0% | |
| $2 | $10 | 1.1M | 47.6 | 1296 | 1266 | 84.6 | $4.00 | 0% | |
| $1.25 | $10 | 1M | 16.1 | 1151 | 1255 | 82.8 | $3.44 | -13% | |
| $0.5 | $3 | 1M | 17.9 | 1188 | 1222 | 77.3 | $1.13 | 0% | |
| $2 | $12 | 1M | 29.7 | 1229 | 1272 | 85.6 | $4.50 | 0% | |
| $0.75 | $3.75 | 1M | 39.1 | 1306 | 1228 | 78.2 | $1.50 | 0% | |
| $0.825 | $4.125 | 1M | 40.9 | 1302 | 1244 | 81 | $1.65 | 10% | |
| $2 | $8 | 1M | 12.7 | 1024 | 1200 | 73.6 | $3.50 | -9% | |
| $0.4 | $1.6 | 1M | 10.2 | 992 | 1167 | 68.1 | $0.70 | 0% | |
| $0.195 | $0.975 | 1M | — | — | — | — | $0.39 | 0% | |
| $0.65 | $3.25 | 1M | — | — | — | — | $1.30 | 0% | |
| $1.25 | $10 | 400K | 24.7 | — | 1228 | 78.2 | $3.44 | 0% | |
| $1.25 | $10 | 400K | 23.7 | 1151 | — | — | $3.44 | 0% | |
| $1.25 | $10 | 400K | — | — | — | — | $3.44 | 0% | |
| $0.25 | $2 | 400K | 20.4 | 1092 | — | — | $0.69 | 0% | |
| $1.75 | $14 | 400K | 30.4 | — | 1239 | 80 | $4.81 | 0% | |
| $21 | $168 | 400K | — | — | 1255 | 82.8 | $57.75 | 0% | |
| $1.75 | $14 | 400K | 28.5 | — | — | — | $4.81 | 0% | |
| $1.75 | $14 | 400K | 32.5 | 1143 | 1244 | 81 | $4.81 | 0% | |
| $0.75 | $4.5 | 400K | 24.1 | — | 1200 | 73.6 | $1.69 | 0% | |
| $0.63 | $3.5 | 262K | 25.8 | 1251 | — | — | $1.35 | -8% | |
| $0.07 | $0.28 | 262K | 9.6 | — | — | — | $0.12 | 132% | |
| $0.3 | $1 | 262K | — | — | — | — | $0.47 | 0% | |
| $0.12 | $0.8 | 262K | 9.2 | — | — | — | $0.29 | 0% | |
| $0.5 | $3 | 262K | — | — | — | — | $1.13 | 0% | |
| $0.3 | $0.9 | 256K | — | 1005 | — | — | $0.45 | 0% | |
| $3 | $15 | 200K | 16.6 | 1140 | 1250 | 81.9 | $6.00 | 0% | |
| $0.2574 | $1.0287 | 164K | 8.5 | — | 1211 | 75.4 | $0.45 | -3% | |
| $0.7 | $2.5 | 64K | 13.1 | — | 1239 | 80 | $1.15 | 3% | |
| $0.66 | $1 | 33K | — | — | — | — | $0.74 | 0% | |
| $0.07 | $0.14 | 16K | 5.9 | — | 1123 | 60.7 | $0.09 | -16% |
- Input /1M
- $5
- Output /1M
- $30
- Context
- 1.1M
- AA Intelligence
- 47
- DesignArena Elo
- 1314
- Arena Elo
- 1255
- MMLU-Pro
- 82.8
- Blended
- $11.25
- Trend
- 41%
- Input /1M
- $2
- Output /1M
- $12
- Context
- 1.1M
- AA Intelligence
- 42.1
- DesignArena Elo
- 1240
- Arena Elo
- 1233
- MMLU-Pro
- 79.1
- Blended
- $4.50
- Trend
- 0%
- Input /1M
- $10
- Output /1M
- $50
- Context
- 1.1M
- AA Intelligence
- 52.7
- DesignArena Elo
- 1390
- Arena Elo
- 1288
- MMLU-Pro
- 88.3
- Blended
- $20.00
- Trend
- 0%
- Input /1M
- $0.1
- Output /1M
- $0.5
- Context
- 1.1M
- AA Intelligence
- 38.1
- DesignArena Elo
- 1265
- Arena Elo
- 1211
- MMLU-Pro
- 75.4
- Blended
- $0.20
- Trend
- 0%
- Input /1M
- $2
- Output /1M
- $10
- Context
- 1.1M
- AA Intelligence
- 47.6
- DesignArena Elo
- 1296
- Arena Elo
- 1266
- MMLU-Pro
- 84.6
- Blended
- $4.00
- Trend
- 0%
- Input /1M
- $1.25
- Output /1M
- $10
- Context
- 1M
- AA Intelligence
- 16.1
- DesignArena Elo
- 1151
- Arena Elo
- 1255
- MMLU-Pro
- 82.8
- Blended
- $3.44
- Trend
- -13%
- Input /1M
- $0.5
- Output /1M
- $3
- Context
- 1M
- AA Intelligence
- 17.9
- DesignArena Elo
- 1188
- Arena Elo
- 1222
- MMLU-Pro
- 77.3
- Blended
- $1.13
- Trend
- 0%
- Input /1M
- $2
- Output /1M
- $12
- Context
- 1M
- AA Intelligence
- 29.7
- DesignArena Elo
- 1229
- Arena Elo
- 1272
- MMLU-Pro
- 85.6
- Blended
- $4.50
- Trend
- 0%
- Input /1M
- $0.75
- Output /1M
- $3.75
- Context
- 1M
- AA Intelligence
- 39.1
- DesignArena Elo
- 1306
- Arena Elo
- 1228
- MMLU-Pro
- 78.2
- Blended
- $1.50
- Trend
- 0%
- Input /1M
- $0.825
- Output /1M
- $4.125
- Context
- 1M
- AA Intelligence
- 40.9
- DesignArena Elo
- 1302
- Arena Elo
- 1244
- MMLU-Pro
- 81
- Blended
- $1.65
- Trend
- 10%
- Input /1M
- $2
- Output /1M
- $8
- Context
- 1M
- AA Intelligence
- 12.7
- DesignArena Elo
- 1024
- Arena Elo
- 1200
- MMLU-Pro
- 73.6
- Blended
- $3.50
- Trend
- -9%
- Input /1M
- $0.4
- Output /1M
- $1.6
- Context
- 1M
- AA Intelligence
- 10.2
- DesignArena Elo
- 992
- Arena Elo
- 1167
- MMLU-Pro
- 68.1
- Blended
- $0.70
- Trend
- 0%
- Input /1M
- $0.195
- Output /1M
- $0.975
- Context
- 1M
- AA Intelligence
- —
- DesignArena Elo
- —
- Arena Elo
- —
- MMLU-Pro
- —
- Blended
- $0.39
- Trend
- 0%
- Input /1M
- $0.65
- Output /1M
- $3.25
- Context
- 1M
- AA Intelligence
- —
- DesignArena Elo
- —
- Arena Elo
- —
- MMLU-Pro
- —
- Blended
- $1.30
- Trend
- 0%
Showing 15 of 35
Compare the leaders
How this ranking works
Benchmark is an aggregate 0–100 quality score. Blended price assumes a 3:1 input-to-output token mix. Trend compares the latest blended price with the oldest in our 6-month history.
This page sorts by context window. Use the panel on the right to switch ranking or category — every combination has its own page.
Frequently asked questions
Find models by API capability
More AI model rankings
All models
Text & Reasoning
- Best Text & Reasoning AI Models by Benchmark
- Cheapest Text & Reasoning AI Models
- Text & Reasoning AI Models with the Longest Context Window
- Text & Reasoning AI Models with the Biggest Price Drops
- Arena Elo Leaderboard — Text & Reasoning AI Models Ranked by Elo Rating
- MMLU-Pro Leaderboard — Text & Reasoning AI Models Ranked by MMLU-Pro Score
