Support

AI-powered help

Welcome!

Please introduce yourself before we start.

    PassingRight
    • Models
    • Pricing
    • Docs
    • PassingRight Chat
    • Models
    • Pricing
    • Docs
    • PassingRight Chat
    Log inGet an API key

    Best Models for Math

    Reasoning models for competition math, quantitative analysis, and step-by-step problem solving

    Compare
    Use Case
    Capabilities
    Provider
    Status
    Input Price ($/M tokens)
    Output Price ($/M tokens)
    Context Size (tokens)
    21/283
    Models
    28/55
    Providers
    15
    Vision Models (filtered)
    21
    Tool-enabled (filtered)
    0
    Free Models (filtered)
    Features
    Alibaba Cloud(us-virginia)
    deepseek-v4-pro
    $2.40$4.80$0.20
    Alibaba Cloud(eu-frankfurt)
    deepseek-v4-pro
    $2.40$4.80$0.20
    Alibaba Cloud(singapore)
    deepseek-v4-pro
    $2.40$4.80$0.20
    ByteDance
    deepseek-v4-pro
    $1.32$3.96$0.04
    Baidu
    deepseek-v4-pro
    $1.32$3.96$0.04
    Tencent Cloud
    deepseek-v4-pro
    $0.43$0.87$0.00
    DeepSeek
    deepseek-v4-pro
    $0.43$0.37
    -15% off
    $0.87$0.74
    -15% off
    $0.00$0.00
    -15% off
    Fireworks AI
    deepseek-v4-pro
    $1.32$3.96$0.04
    Alibaba Cloud
    deepseek-v4-pro
    $2.40$4.80$0.20
    Together AI
    deepseek-v4-pro
    $1.32$3.96$0.13
    Runware
    deepseek-v4-pro
    $0.96$1.92$0.08
    DeepInfra
    deepseek-v4-pro
    $1.30$2.60$0.10
    CanopyWave
    deepseek-v4-pro
    $1.74$3.48$0.01
    OpenAI
    gpt-5.5-pro
    $30.00$27.00
    -10% off
    $180.00$162.00
    -10% off
    —
    Tencent Cloud
    mimo-v2.5-pro
    $0.43$0.87$0.00
    NovitaAI
    mimo-v2.5-pro
    $0.52$1.04$0.00
    DeepInfra
    mimo-v2.5-pro
    $1.00$3.00$0.20
    Xiaomi
    mimo-v2.5-pro
    $0.43$0.87$0.00
    Azure
    gpt-5.5
    $5.00$30.00$0.50
    OpenAI
    gpt-5.5
    $5.00$4.50
    -10% off
    $30.00$27.00
    -10% off
    $0.50$0.45
    -10% off
    Vertex AI (OpenAI-compatible)
    grok-4-20-reasoning
    $1.25$2.50$0.20
    Azure
    gpt-5.4-pro
    $30.00$180.00—
    OpenAI
    gpt-5.4-pro
    $30.00$27.00
    -10% off
    $180.00$162.00
    -10% off
    —
    Google AI Studio
    gemini-pro-latest
    $2.00$12.00$0.20
    Quartz
    gemini-3.1-pro-preview
    $2.00$12.00$0.20
    Google AI Studio
    gemini-3.1-pro-preview
    $2.00$12.00$0.20
    Google Vertex AI
    gemini-3.1-pro-preview
    $2.00$12.00$0.20
    Azure
    gpt-5.2-pro
    $21.00$168.00—
    OpenAI
    gpt-5.2-pro
    $21.00$18.90
    -10% off
    $168.00$151.20
    -10% off
    —
    Vertex AI (OpenAI-compatible)
    kimi-k2-thinking
    $0.60$2.50$0.06
    NovitaAI
    qwen3-235b-a22b-thinking-2507
    $0.30$3.00—
    OpenAI
    o4-mini
    $1.10$0.99
    -10% off
    $4.40$3.96
    -10% off
    $0.28$0.25
    -10% off
    Azure
    o4-mini
    $1.10$4.40$0.28
    Page 2 of 2

    Math is where reasoning models earn their keep: spending thinking tokens before answering dramatically improves accuracy on competition problems, proofs, and multi-step quantitative work. The strongest options are OpenAI's Pro-tier models, Claude Opus, and Gemini Pro — and, at a much lower price, open-weight reasoners like DeepSeek V4, Qwen's thinking models, and Xiaomi's MiMo.

    All of them are available through the same API here, so you can tune thinking budgets, compare answers across models, and route easy problems to cheap models while sending the hard ones to a Pro tier.

    Frequently asked questions

    What is the best LLM for math?

    GPT-5.5 Pro and GPT-5.4 Pro top most math evaluations, with Claude Opus 4.8 and Gemini 3.1 Pro close behind. DeepSeek V4 Pro and Qwen's 235B thinking model get remarkably close at a fraction of the cost, which makes them the default choice for high-volume math workloads.

    Do I need a reasoning model for math?

    For anything beyond arithmetic and simple algebra, yes. Reasoning models work through problems step by step before answering and are far more reliable on competition-style and multi-step problems. Most models here let you cap the thinking budget so you control cost per problem.

    Can LLMs be trusted for calculations?

    Not blindly. Models still make arithmetic slips inside otherwise-correct reasoning, so for production use pair the model with tool calling — let it call a calculator or run code — and use the LLM for setting up and interpreting the math rather than raw number crunching.

    How much do reasoning tokens cost?

    Reasoning tokens bill as output tokens, and hard problems can burn thousands of them. That's why per-token price matters double for math: DeepSeek V4 Pro at $0.87 per million output tokens can be orders of magnitude cheaper per problem than a Pro-tier frontier model — compare output prices in the list above.

    Newsletter

    Stay ahead of the curve

    Join developers who get weekly insights on LLM routing, new model launches, and cost optimization — straight to their inbox.

    • New models & providers as they drop
    • Tips to cut latency & costs
    • Early access to beta features

    No spam. Unsubscribe anytime.

    All systems operational
    AICPA SOC for Service Organizations badgeSOC 2 Type II
    compliant

    Product

    • Features
    • AI Gateway
    • Observability
    • Models
    • Providers
    • Rankings
    • Add Provider
    • Partners
    • PassingRight Chat
    • DevPass
    • Compare Models
    • Enterprise

    Resources

    • Legal Overview
    • Apps
    • Templates
    • Agents
    • MCP Server
    • Use Cases
    • Documentation
    • Developer resources
    • Integrations
    • Guides
    • Brand Assets
    • Token Cost Calculator
    • Copilot Cost Calculator
    • Referral Program
    • About
    • Contact Us

    Compliance

    • Trust Center
    • Security Portal
    • Terms
    • Privacy Policy
    • Provider Information
    • Sub-processors
    • SOC 2 Type II
    • Status

    Compare

    • All Comparisons
    • GitHub Copilot
    • OpenRouter
    • LiteLLM
    • Portkey
    • AWS Bedrock
    • Microsoft Foundry
    • Vercel AI Gateway
    • Migration Guides

    Models

    • Text Generation
    • Text to Image
    • Image to Image
    • Video Generation
    • Embeddings
    • Vision
    • Reasoning
    • Tool Calling
    • Web Search
    • Discounted
    • Best for Roleplay
    • Best for Coding
    • Best for Creative Writing
    • Best for Translation
    • Best for Math
    • Long Context
    • Cheapest
    • Open Source

    Providers

    • OpenAI
    • Anthropic
    • Google AI Studio
    • Google Vertex AI
    • Vertex AI (OpenAI-compatible)
    • Vertex AI (Anthropic)
    • Groq
    • Cerebras
    • xAI
    • DeepSeek
    • Alibaba Cloud
    • Runpod
    • NovitaAI
    • AtlasCloud
    • AWS Bedrock
    • AWS Mantle
    • Azure
    • Azure AI Foundry
    • Azure Anthropic
    • Z AI
    • Moonshot AI
    • Baidu
    • Perplexity
    • Mistral AI
    • CanopyWave
    • Inference.net
    • Together AI
    • SCX.ai (Turbo)
    • SCX.ai
    • ByteDance
    • MiniMax
    • EmberCloud
    • Meta
    • Meta Contributor
    • Sakana AI
    • Xiaomi
    • DeepInfra
    • ElevenLabs
    • Runware
    • Gonka24
    • Fireworks AI
    • RanoAI
    • Consensus Protocol
    • Tencent Cloud
    • Atria
    • TypeSafe AI

    © 2026 PassingRight. All rights reserved.