Who ranks #1 on the MATH leaderboard?
As of August 20, 2026, GLM-4.5 by Z AI ranks #1 on MATH at 98.2%. API pricing is $0.60/M input and $2.20/M output.
As of August 20, 2026, GLM-4.5 is #1 for MATH at 98.2%. Ranked by the MATH score 86 models in this index have a published MATH score. MATH leaderboard with live API prices. Tests mathematical problem solving across algebra, geometry, calculus, and number theory.
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 20, 2026, GLM-4.5 by Z AI is #1 for MATH at 98.2%. Ranked by the MATH score This board also tracks MATH. Next on the same board: o3-mini and GPT-5 mini. This math leaderboard ranks models by MATH. 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 | MATH | Input /M | Output /M |
|---|---|---|---|---|
| 1 | GLM-4.5 | 98.2% | $0.60 | $2.20 |
| 2 | o3-mini | 97.9% | $1.10 | $4.40 |
| 3 | GPT-5 mini | 97.8% | $0.25 | $2.00 |
| 4 | o4-mini | 97.8% | $1.10 | $4.40 |
| 5 | o3 | 97.8% | $2.00 | $8.00 |
| 6 | Claude Sonnet 4.5 | 97.7% | $3.00 | $15.00 |
| 7 | DeepSeek-R1 | 97.3% | $0.55 | $2.19 |
| 8 | Gemini 2.5 Pro | 97.1% | $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 20, 2026, GLM-4.5 by Z AI ranks #1 on MATH at 98.2%. API pricing is $0.60/M input and $2.20/M output.
The current MATH ranking as of August 20, 2026 is 1. GLM-4.5 at 98.2%; 2. o3-mini at 97.9%; 3. GPT-5 mini at 97.8%.
Llama 3.2 3B Instruct is the cheapest scored model on this math leaderboard at $0.01/M input and $0.02/M output ($0.03 blended). GLM-4.5 still leads MATH at 98.2%.
Not automatically. GLM-4.5 leads MATH, but a cheaper scored model can be the better production choice if the quality gap is small. Use the table to weigh MATH 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 20, 2026. Treat it as a current index, not a one-off blog post.
Tests mathematical problem solving across algebra, geometry, calculus, and number theory. This page ranks models that have published a MATH score, with live API token prices on the same row.
This page is the MATH leaderboard. Models are sorted by MATH, with input and output token prices on the same row so you can weigh score against cost. Official boards often omit price; that comparison is the point of this index.
Official eval pages own the methodology. This page keeps the published MATH score next to live API $/M so you can pick a production SKU, not only a trophy number.
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.
AIME 2025 is American Invitational Mathematics Examination problems. It is the common public contest-math signal. Many frontier models now score very high, which is why FrontierMath exists.
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.