Under $1 · Best AI for
Best cheap AI for algorithms and speed-ups
Models that cost under $1 per million tokens (about 750,000 words, mixing reading and writing 3:1).
Answer: GPT-5.6 Luna (84/100 · $0.45 per 1M tokens)

GPT-5.6 Luna from OpenAI. It scores 84/100 for algorithms and speed-ups, #21 among all 136 current models (the overall leader, GPT-6.2 Sol, scores 100).
Top 15 under $1 models for algorithms and speed-ups
Score = share of all of today's AI models it beats on this job's tests (100 = best of all). Bar in coral = the overall #1, for reference.
- 1GPT-5.6 LunaOpenAI · #21 of 136 overall · one test so far84
- 2DeepSeek V4.1 Flash 1017DeepSeek · #23 of 136 overall · one test so far82
- 3Claude Haiku 5.5Anthropic · #27 of 136 overall · one test so far80
- 4GPT-6 LunaOpenAI · #28 of 136 overall · one test so far79
- 5DeepSeek V4 Flash 0731DeepSeek · #40 of 136 overall · one test so far70
- 6MiMo-V2.6 FlashXiaomi · #45 of 136 overall · one test so far66
- 7MiMo-V2.6 ProXiaomi · #52 of 136 overall · one test so far59
- 8Beam 1.0Reflection AI · #55 of 136 overall · one test so far58
- 9DeepSeek V4.1 FlashDeepSeek · #57 of 136 overall · one test so far56
- 10DeepSeek-V4-ProDeepSeek · #61 of 136 overall · one test so far54
- 11GPT-5.4 NanoOpenAI · #62 of 136 overall · one test so far53
- 12Gemma 4 26B A4BGoogle · #66 of 136 overall · one test so far49
- 13Gemma 4 31B ITGoogle · #67 of 136 overall · one test so far48
- 14DeepSeek-R1 (May 2025)DeepSeek · #76 of 136 overall · one test so far42
- 15Gemini 3.1 Flash-LiteGoogle · #77 of 136 overall · one test so far41
Score, price and memory side by side
Cost per job = one long request (≈ 20K tokens read, 2K written), using list API prices.
| Model | Score | $ / 1M tokens | Cost per job | Memory | Released |
|---|---|---|---|---|---|
| GPT-5.6 Luna | 84 | $0.45 | $0.0064 | 1.1M | Jul 2026 |
| DeepSeek V4.1 Flash 1017 | 82 | $0.26 | $0.0042 | 1M | Oct 2026 |
| Claude Haiku 5.5 | 80 | $0.2 | $0.003 | 1M | Oct 2026 |
| GPT-6 Luna | 79 | $0.2 | $0.003 | 1.1M | Sep 2026 |
| DeepSeek V4 Flash 0731 | 70 | $0.09 | $0.0016 | 1M | Jul 2026 |
| MiMo-V2.6 Flash | 66 | $0.18 | $0.0034 | 1M | Sep 2026 |
| MiMo-V2.6 Pro | 59 | $0.54 | $0.01 | 1M | Sep 2026 |
| Beam 1.0 | 58 | $0.44 | $0.007 | 1M | Oct 2026 |
| DeepSeek V4.1 Flash | 56 | $0.18 | $0.0022 | 1M | Sep 2026 |
| DeepSeek-V4-Pro | 54 | $0.99 | $0.017 | 1M | Apr 2026 |
| GPT-5.4 Nano | 53 | $0.46 | $0.0065 | 400K | Mar 2026 |
| Gemma 4 26B A4B | 49 | $0.12 | $0.002 | 262K | Apr 2026 |
| Gemma 4 31B IT | 48 | $0.25 | $0.0048 | 262K | Apr 2026 |
| DeepSeek-R1 (May 2025) | 42 | $1.0 | $0.016 | 164K | May 2025 |
| Gemini 3.1 Flash-Lite | 41 | $0.56 | $0.008 | 1M | Mar 2026 |
Quick answers
What's the best cheap AI for algorithms and speed-ups?
GPT-5.6 Luna from OpenAI. It scores 84/100 for algorithms and speed-ups, #21 among all 136 current models (the overall leader, GPT-6.2 Sol, scores 100).
About GPT-5.6 Luna →What's the runner-up?
DeepSeek V4.1 Flash 1017, scoring 82 at $0.26 per million tokens.
See the details →Which is the best value?
DeepSeek V4.1 Flash 1017: it scores 82 (vs 84 for GPT-5.6 Luna) and costs $0.26 per million tokens instead of $0.45.
See the details →How does it compare with the overall best for algorithms and speed-ups?
GPT-6.2 Sol scores 100 vs 84, but costs about 8.9× as much per token.
Best AI for algorithms and speed-ups →How are these ranked?
Each model's score is the share of current AI models it beats on the algorithms and speed-ups tests, weighted towards newer and harder tests. Models that cost under $1 per million tokens (about 750,000 words, mixing reading and writing 3:1).
How scores work →More ways to pick for algorithms and speed-ups
Under $1: other jobs
24 jobs · scores update automatically from public test results · data as of September 27, 2026