Power your app, product, or workflow with fast AI models for math, coding, writing, analysis, and structured responses. Use specialized math models for step-by-step problem solving and general models for broader tasks through one API platform.
import requests # call https://mathgpt.today/ask for math # call https://mathgpt.today/plain for general use res = requests.post( "https://mathgpt.today/ask", json={ "api_key": "your api key", "input": "how to factor x^2 +5x +6 ", "model": "m-regular-1.0", "system": "None" } ) print(res.json())
Powerful API tools for math solving, tutoring, coding, writing, and structured AI workflows at scale.
Deliver worked math solutions with clear reasoning that helps users follow each step from problem to answer.
Choose dedicated math models for solving problems or general-purpose models for coding, writing, analysis, and everyday AI tasks.
Get clean JSON responses for apps and workflows, plus LaTeX support when needed.
Choose lower-latency models for quick tasks or stronger reasoning models for harder problems.
Start with a simple API call and scale from prototypes to production.
From quick calculations to harder problems, MathGPT responds in seconds with answers and step-by-step reasoning that keeps the work flowing.
Make your first request in seconds with a clean developer-friendly API.
What you can get back
From lightweight responses to deeper reasoning, each model has a clear use case so developers can pick fast.
Best math reasoning for step by step solutions
Better reasoning ability, thinking while answering a question
Fastest, most cost-efficient model for math tasks
General purpose model for everyday tasks
Better reasoning ability, thinking while answering a question
Fast response model for quick tasks and low latency
Pay only for what you use.
Choose math models when you need step by step solving and explanation quality. Choose general models when you need speed and flexibility for broader tasks like coding, writing, extraction, and automation.
| Feature |
m-regular-1.0 |
g-regular-1.0 |
||
|---|---|---|---|---|
| Step-by-step explanations | ✓ | — | ||
| Math-optimized reasoning | ✓ | — | ||
| Raw JSON response | ✓ | ✓ | ||
| LaTeX output | ✓ | ✓ | ||
| Image / handwriting input | (Coming Soon) | (Coming Soon) | ||
| Context Window | 1/Million | 1/Million | ||
| Support | Priority (24 / 7) | Priority (24 / 7) | ||
| Get API Key | Get API Key | |||
| Tokens | Input / Million |
Output / Million |
Input / Million |
Output / Million |
| Price | $0.55 | $1.75 | $0.55 | $1.75 |
Everything you need to know about the MathGPT API.
Integration is simple. Send requests to the MathGPT API using your API key and choose the model that fits your use case. You can build your own interface, connect it to your existing product, and return structured responses in JSON. Our API documentation includes request examples, model details, and implementation guidance to help you get started quickly.
Math models are optimized for solving math problems with step by step explanations and stronger reasoning for calculations, equations, and learning workflows. General models are designed for broader tasks such as coding, writing, summaries, analysis, extraction, and structured text generation. This gives you flexibility to use appropriate API for both specialized math tasks and everyday AI tasks.
The API supports text input and selected workflows can also support image or handwritten input. Responses can be returned as clean JSON, plain text, or LaTeX-friendly output depending on your implementation. This makes it easy to use MathGPT in apps, dashboards, internal tools, and automated workflows.
If your product is focused on math solving, start with m-regular-1.0 for strong step by step math reasoning. If you need broader capabilities like coding, writing, or analysis, start with g-regular-1.0. If speed and lower cost matter most, the fast models are a strong starting point for lightweight tasks.
Yes. We take security seriously and use industry-standard protections for API access and data handling. Requests are sent securely, and we focus on building a reliable platform for developers, products, and institutions that need dependable AI infrastructure.
Yes. In addition to math-focused models, MathGPT also offers general-purpose models for coding, writing, deep analysis, summaries, and other fast-response workflows. That means you can use one API across multiple product features instead of stitching together separate providers for math and general tasks.
Start by adding a minimum of $5 in API credits. Once your credits are added, you can generate your API key and begin making requests immediately.
Integrate math and general AI models into your app with clear pricing, fast setup, and flexible output formats.