Who ranks #1 on the Math leaderboard?
As of August 21, 2026, GPT-5.2 by OpenAI ranks #1 on AIME 2025 at 100%. API pricing is $1.75/M input and $14.00/M output.
As of August 21, 2026, GPT-5.2 is #1 for math at 100%. Ranked by AIME 2025: American invitational math contest problems. Best AI for math, ranked by AIME 2025, MATH-500, and FrontierMath. Compare contest math vs research-level scores next to API price.
Next step
Auth, billing, and the API layer are already decided. Fork 8 finished AI apps, or have us build the first version with you.
The index
282 models across 33 providers. Search or jump to a lab — every model page stays linked here.







As of August 21, 2026, GPT-5.2 by OpenAI is #1 for math at 100%. Ranked by AIME 2025: American invitational math contest problems. This board also tracks AIME 2025, GPQA Diamond, MATH, MGSM. Next on the same board: GPT-5.2 Pro and Gemini 3 Pro. Related leaders: Gemini 3.7 Flash on GPQA Diamond at 94.8%; GLM-4.5 on MATH at 98.2%. This math leaderboard ranks models by AIME 2025. Scores come from public evals. Prices are the live API rates in the table above.
Sources: OpenAI API pricing (https://developers.openai.com/api/docs/pricing); Anthropic Claude API pricing (https://platform.claude.com/docs/en/about-claude/pricing); Gemini API pricing (https://ai.google.dev/gemini-api/docs/pricing)
| Rank | Model | AIME 2025 | Input /M | Output /M |
|---|---|---|---|---|
| 1 | GPT-5.2 | 100% | $1.75 | $14.00 |
| 2 | GPT-5.2 Pro | 100% | $21.00 | $168.00 |
| 3 | Gemini 3 Pro | 100% | $2.00 | $12.00 |
| 4 | Kimi K2-Thinking-0905 | 100% | $0.47 | $2.00 |
| 5 | Claude Opus 4.6 | 99.8% | $5.00 | $25.00 |
| 6 | Gemini 3 Flash | 99.7% | $0.50 | $3.00 |
| 7 | LongCat-Flash-Thinking-2601 | 99.6% | $0.30 | $1.20 |
| 8 | GPT-5.1 High | 99.6% | $1.25 | $10.00 |
AIME is contest math. MATH-500 is textbook problems. FrontierMath is the set that is supposed to stay difficult. If every model is in the 90s on AIME, sort FrontierMath. That is the gap people actually mean by best AI for math in 2026.
Rank one eval at a time. All LLM benchmarks.
As of August 21, 2026, GPT-5.2 by OpenAI ranks #1 on AIME 2025 at 100%. API pricing is $1.75/M input and $14.00/M output.
As of August 21, 2026, GPT-5.2 by OpenAI is #1 for math at 100%. Ranked by AIME 2025: American invitational math contest problems. This board also tracks AIME 2025, GPQA Diamond, MATH, MGSM. Next on the same board: GPT-5.2 Pro and Gemini 3 Pro. Related leaders: Gemini 3.7 Flash on GPQA Diamond at 94.8%; GLM-4.5 on MATH at 98.2%.
The current AIME 2025 ranking as of August 21, 2026 is 1. GPT-5.2 at 100%; 2. GPT-5.2 Pro at 100%; 3. Gemini 3 Pro at 100%.
Llama 3.1 8B Instruct is the cheapest scored model on this math leaderboard at $0.03/M input and $0.03/M output ($0.06 blended). GPT-5.2 still leads AIME 2025 at 100%.
Not automatically. GPT-5.2 leads AIME 2025, but a cheaper scored model can be the better production choice if the quality gap is small. Use the table to weigh AIME 2025 against input/output price, context window, and related evals.
Scores and API prices on this page are refreshed from published evals and provider rates. The snapshot is labeled August 21, 2026. Treat it as a current index, not a one-off blog post.
Rank models by AIME 2025 for contest math, MATH-500 for textbook problems, and FrontierMath for research-level items. The strongest math model is not always the cheapest API.
AIME 2025 is a set of American Invitational Mathematics Examination problems. It is a common public signal for competition-level mathematical reasoning.
Yes. FrontierMath is designed to stay difficult after models saturate AIME and MATH. Use it when you care about the extreme tail, not high-school contest scores.
FrontierMath is a research-level math eval built to stay hard after models saturate AIME and MATH-500. Use it for the extreme tail, not for high-school contest bragging.
People search best AI for homework. This page ranks contest and research math, not a cheat sheet. A high AIME score means contest reasoning. It does not mean the model should do someone's take-home.
Rank AIME, MATH-500, and FrontierMath on this table. The lead moves. Token price still matters if you are sampling many solutions.