- Input /1M
- $0.07
- Output /1M
- $0.14
- Context
- 16K
- AA Intelligence
- 5.9
- DesignArena Elo
- —
- Arena Elo
- 1123
- MMLU-Pro
- 60.7
- Blended
- $0.09
- Trend
- -16%
AI model rankings · Code & SLMs
Cheapest Coding AI Models
Phi-4 is the cheapest of the 35 general-purpose Code & SLMs models we track at $0.088 blended per 1M tokens ($0.070 input, $0.14 output).
Safety classifiers, image, audio and translation models are left out because their prices aren't comparable with chat models. Retired models are hidden by default. The cheapest model with AA Intelligence 30 or higher is GPT-6 Luna at $0.20.
8 of the top 35 have no published AA Intelligence score; they show "—" and are never estimated. The 9 providers listed bill per token, so your real cost depends on how long your prompts and responses are.
Updated December 2026 · 35 models · 9 providers · prices per 1M tokens
Cheapest models that are actually good
The 10 lowest blended prices among models with AA Intelligence 30 or higher.
- 1GPT-6 LunaAA 38.1$0.200
- 2GPT-5.6 LunaAA 37.3$0.450
- 3Gemini 3.7 FlashAA 39.1$1.50
- 4Gemini 3.8 FlashAA 40.9$1.65
- 5GPT-6 SolAA 47.6$4.00
- 6GPT-5.6 TerraAA 42.1$4.50
- 7GPT-5.3 CodexAA 32.5$4.81
- 8GPT-5.2AA 30.4$4.81
- 9GPT-5.6 SolAA 47$11.25
- 10GPT-6 AstraAA 52.7$20.00
Top 3 Code & SLMs Models
Code & SLMs Models Ranking
| $0.07 | $0.14 | 16K | 5.9 | — | 1123 | 60.7 | $0.09 | -16% | |
| $0.07 | $0.28 | 262K | 9.6 | — | — | — | $0.12 | 132% | |
| $0.1 | $0.5 | 1.1M | 38.1 | 1265 | 1211 | 75.4 | $0.20 | 0% | |
| $0.12 | $0.8 | 262K | 9.2 | — | — | — | $0.29 | 0% | |
| $0.195 | $0.975 | 1M | — | — | — | — | $0.39 | 0% | |
| $0.3 | $0.9 | 256K | — | 1005 | — | — | $0.45 | 0% | |
| $0.2 | $1.2 | 1.1M | 37.3 | 1229 | 1189 | 71.8 | $0.45 | 0% | |
| $0.2574 | $1.0287 | 164K | 8.5 | — | 1211 | 75.4 | $0.45 | -3% | |
| $0.3 | $1 | 262K | — | — | — | — | $0.47 | 0% | |
| $0.25 | $2 | 400K | 20.4 | 1092 | — | — | $0.69 | 0% | |
| $0.4 | $1.6 | 1M | 10.2 | 992 | 1167 | 68.1 | $0.70 | 0% | |
| $0.66 | $1 | 33K | — | — | — | — | $0.74 | 0% | |
| $0.5 | $3 | 1M | 17.9 | 1188 | 1222 | 77.3 | $1.13 | 0% | |
| $0.5 | $3 | 262K | — | — | — | — | $1.13 | 0% | |
| $0.7 | $2.5 | 64K | 13.1 | — | 1239 | 80 | $1.15 | 3% | |
| $0.65 | $3.25 | 1M | — | — | — | — | $1.30 | 0% | |
| $0.63 | $3.5 | 262K | 25.8 | 1251 | — | — | $1.35 | -8% | |
| $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% | |
| $0.75 | $4.5 | 400K | 24.1 | — | 1200 | 73.6 | $1.69 | 0% | |
| $1.25 | $10 | 1M | 16.1 | 1151 | 1255 | 82.8 | $3.44 | -13% | |
| $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% | |
| $2 | $8 | 1M | 12.7 | 1024 | 1200 | 73.6 | $3.50 | -9% | |
| $2 | $10 | 1.1M | 47.6 | 1296 | 1266 | 84.6 | $4.00 | 0% | |
| $2 | $12 | 1M | 29.7 | 1229 | 1272 | 85.6 | $4.50 | 0% | |
| $2 | $12 | 1.1M | 42.1 | 1240 | 1233 | 79.1 | $4.50 | 0% | |
| $1.75 | $14 | 400K | 30.4 | — | 1239 | 80 | $4.81 | 0% | |
| $1.75 | $14 | 400K | 28.5 | — | — | — | $4.81 | 0% | |
| $1.75 | $14 | 400K | 32.5 | 1143 | 1244 | 81 | $4.81 | 0% | |
| $3 | $15 | 200K | 16.6 | 1140 | 1250 | 81.9 | $6.00 | 0% | |
| $5 | $30 | 1.1M | 47 | 1314 | 1255 | 82.8 | $11.25 | 41% | |
| $10 | $50 | 1.1M | 52.7 | 1390 | 1288 | 88.3 | $20.00 | 0% | |
| $21 | $168 | 400K | — | — | 1255 | 82.8 | $57.75 | 0% |
- Input /1M
- $0.07
- Output /1M
- $0.28
- Context
- 262K
- AA Intelligence
- 9.6
- DesignArena Elo
- —
- Arena Elo
- —
- MMLU-Pro
- —
- Blended
- $0.12
- Trend
- 132%
- 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
- $0.12
- Output /1M
- $0.8
- Context
- 262K
- AA Intelligence
- 9.2
- DesignArena Elo
- —
- Arena Elo
- —
- MMLU-Pro
- —
- Blended
- $0.29
- 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.3
- Output /1M
- $0.9
- Context
- 256K
- AA Intelligence
- —
- DesignArena Elo
- 1005
- Arena Elo
- —
- MMLU-Pro
- —
- Blended
- $0.45
- Trend
- 0%
- 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%
- Input /1M
- $0.2574
- Output /1M
- $1.0287
- Context
- 164K
- AA Intelligence
- 8.5
- DesignArena Elo
- —
- Arena Elo
- 1211
- MMLU-Pro
- 75.4
- Blended
- $0.45
- Trend
- -3%
- Input /1M
- $0.3
- Output /1M
- $1
- Context
- 262K
- AA Intelligence
- —
- DesignArena Elo
- —
- Arena Elo
- —
- MMLU-Pro
- —
- Blended
- $0.47
- Trend
- 0%
- Input /1M
- $0.25
- Output /1M
- $2
- Context
- 400K
- AA Intelligence
- 20.4
- DesignArena Elo
- 1092
- Arena Elo
- —
- MMLU-Pro
- —
- Blended
- $0.69
- Trend
- 0%
- 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.66
- Output /1M
- $1
- Context
- 33K
- AA Intelligence
- —
- DesignArena Elo
- —
- Arena Elo
- —
- MMLU-Pro
- —
- Blended
- $0.74
- Trend
- 0%
- 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
- $0.5
- Output /1M
- $3
- Context
- 262K
- AA Intelligence
- —
- DesignArena Elo
- —
- Arena Elo
- —
- MMLU-Pro
- —
- Blended
- $1.13
- Trend
- 0%
- Input /1M
- $0.7
- Output /1M
- $2.5
- Context
- 64K
- AA Intelligence
- 13.1
- DesignArena Elo
- —
- Arena Elo
- 1239
- MMLU-Pro
- 80
- Blended
- $1.15
- Trend
- 3%
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 blended price /1m. 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
