Grok · Best AI for
Best Grok model for algorithms and speed-ups
Only xAI models, scored against every current AI on the same tests, so you can see which one to pick and how it stacks up.
Answer: Grok 4.7 (78/100 · $3 per 1M tokens)

Grok 4.7. It scores 78/100 for algorithms and speed-ups, #30 among all 136 current models (the overall leader, GPT-6.2 Sol, scores 100).
All 7 Grok 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.
- 1Grok 4.7#30 of 136 overall · one test so far78
- 2Grok 4.6#33 of 136 overall · one test so far76
- 3Grok 4.5#39 of 136 overall · one test so far71
- 4Grok 4.20#54 of 136 overall · one test so far58
- 5Grok 4.3#64 of 136 overall · one test so far51
- 6Grok Code Fast 1#108 of 136 overall · one test so far21
- 7Grok 4.1 Fast#117 of 136 overall · one test so far13
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 |
|---|---|---|---|---|---|
| Grok 4.7 | 78 | $3 | $0.052 | 500K | Sep 2026 |
| Grok 4.6 | 76 | $3 | $0.052 | 500K | Aug 2026 |
| Grok 4.5 | 71 | $3 | $0.052 | 500K | Jul 2026 |
| Grok 4.20 | 58 | $1.56 | $0.03 | 1M | Feb 2026 |
| Grok 4.3 | 51 | $1.56 | $0.03 | 1M | Apr 2026 |
| Grok Code Fast 1 | 21 | — | — | — | Aug 2025 |
| Grok 4.1 Fast | 13 | — | — | — | Nov 2025 |
Quick answers
Which Grok model is best for algorithms and speed-ups?
Grok 4.7. It scores 78/100 for algorithms and speed-ups, #30 among all 136 current models (the overall leader, GPT-6.2 Sol, scores 100).
About Grok 4.7 →What's the runner-up?
Grok 4.6, scoring 76 at $3 per million tokens.
See the details →Which is the best value?
Grok 4.6: it scores 76 (vs 78 for Grok 4.7) and costs $3 per million tokens instead of $3.
See the details →How does it compare with the overall best for algorithms and speed-ups?
GPT-6.2 Sol scores 100 vs 78, but costs about 1.3× 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. Only xAI models, scored against every current AI on the same tests, so you can see which one to pick and how it stacks up.
How scores work →More ways to pick for algorithms and speed-ups
Grok for other jobs
24 jobs · scores update automatically from public test results · data as of September 27, 2026