Skip to content
publik.
Browse appsBrowsePricing
+Publish a repoPublish
Browse appsHow it worksPublish a repoGet helpPricingDevelopersGitHubPrivacy
© 2026 Publik
← All apps

OpenMath

AI math solver with step-by-step solutions, graphing calculator, and flashcards.

AI: publik API or your key

not yet reviewed by publik. It is live now; the founder has not reviewed this version yet.

by @shaurya

O

OpenMath

open source · on publik

On your phone?

You install OpenMath from a computer. Send yourself the link and open it there.

◆Built on Publik APIBuild yours →

publik API is one option

  • AI chat & tools: Chat completions with tool calls, JSON schemas and images, priced per tier in dollars.
  • By default, OpenMath still runs on your machine, unless you pick the cloud option.
  • Choosing it needs no key to paste. Linking your publik account gives five cents of free use, once.
  • Then OpenMath pays publik's published price per use, and your own key still works.
How pricing works →
Vote on OpenMath
0
Read the install guide→Open in GitHub↗

Compared with

P

Photomath

Paid

Make this yours→Fork OpenMath, change it, publish your version. About 30 minutes. No experience needed.

Having trouble? Tell us

Where OpenMath’s AI runs, and what it costs

Prices are for one typical use: one request of about 1,500 words sent and 375 words back. A higher quality score is better.

On your computer

Not checked yet: publik has not read whether OpenMath can run its AI on your computer.

publik API

Price
$0.0100 per use, $10.00 per 1,000 usespublik-balanced, the default level
Quality
MiMo-V2.6-Pro: 46
Setup
Built in. No key to paste; linking your publik account gives $0.05 of free use, once.

Your own key

Price
$0.0013 per use, $1.31 per 1,000 usesMiMo-V2.6-Pro at OpenRouter’s list price, before its fee for buying usage
Quality
MiMo-V2.6-Pro: 46
Setup
Open a provider account, add a card, paste the key into OpenMath.

Quality and price, side by side

Quality score and cost per 1,000 typical uses for local models and the three publik API levels
ModelQualityPer 1,000 uses
On your computer (Ollama, 4-bit download size)
Granite 4.2 3B2.2 GB9$0
Phi-4 Mini2.5 GB6$0
Llama 3.1 8B4.9 GB7$0
gpt-oss 20B14 GB9$0
Gemma 4 31B20 GB19*$0
Qwen3.5 35B-A3B24 GB19*$0
publik API
publik-fastGLM-5.3 Flash42$1.00
publik-balancedMiMo-V2.6-Pro · OpenMath46$10.00
publik-smartGPT-6 Sol48$18.00

Quality: Artificial Analysis Intelligence Index v4.3.2, read 2026-09-22 (publik API models 2026-09-25); * = estimated by Artificial Analysis. Sizes: the Ollama library, read 2026-09-22.

What you pay for

  • On your computer: nothing per use. You pay in disk space, memory and electricity, at lower quality.
  • publik API: publik’s published price for each use, in dollars, from your publik balance. It is above the model’s cost; the difference runs publik and pays the app’s builder.
  • Your own key: the provider’s price, billed to an account you keep with the provider.
Install OpenMath: publik API is built in →How publik API pricing works →

How to install OpenMath

Every step written out. No terminal experience needed. Pick your setup.

  • How to install OpenMath on Mac →
  • How to install OpenMath on Windows →

README

Open in GitHub ↗

OpenMath

The Modern Open-Source AI Math Solver, Homework Assistant & Graphing Calculator

License: MIT Next.js React TypeScript Tailwind CSS Zero-Key Ready

A community-first, privacy-respecting alternative to proprietary platforms like MathGPT, Photomath, and Symbolab.

Features · Quickstart · Docker Deployment · Testing


Why OpenMath?

Most AI math applications lock step-by-step solutions behind subscription paywalls, sell student data, or fail when network connectivity drops.

OpenMath runs locally first:

  1. Free and open-source with no paywalls or subscriptions.
  2. Works offline out of the box with zero mandatory API keys, using a local symbolic evaluation engine and benchmark corpus.
  3. Supports pluggable multi-model AI (publik, Google Gemini, OpenAI, Groq, Ollama) for multimodal reasoning and handwriting recognition.
  4. Includes a cursor-aware virtual math keyboard, KaTeX rendering, and 2D Cartesian graphing.

Key Features

FeatureOpenMath (Open-Source)MathGPT / Proprietary Apps
Step-by-Step DerivationFull step breakdown with explanationsGated behind $19.99/mo
Photo / OCR SolverClient-side pre-processing + visionLimited free daily credits
Formula KeyboardCategorized LaTeX palette (Popular, Trig, Calc, Greek)Available
Graphing CalculatorDual engine: Native Canvas plotter + GeoGebra embedIframe only
Study SuiteSM-2 Spaced Repetition Flashcards + Timed ExamsPaywalled
Homework Auto-Grader4-point AP-style rubric analysis & feedbackPaywalled
Offline Self-Hosting100% functional with zero API keys requiredCloud proprietary only

Core Modules

1. AI Homework Solver
  • Step-by-step mathematical reasoning with formatted LaTeX display math ($$...$$) and inline math ($...$).
  • Problem formalization, intermediate derivations, and final answers highlighted in $\boxed{\text{canonical format}}$.
  • "Plot in Grapher" action chip detects equations and passes them into the graphing calculator.
2. Virtual Math Keyboard & Formula Palette
  • Categorized palettes:
    • Popular: $+$, $-$, $\times$, $\div$, $\frac{a}{b}$, $x^2$, $x^n$, $\sqrt{x}$, $\pi$, $\infty$, $\pm$, $\le$, $\ge$
    • Algebra: $x$, $y$, $z$, $|x|$, $\log$, $\ln$, $x_1$, $f(x)$, $n!$, $\binom{n}{k}$
    • Calculus: $\frac{d}{dx}$, $\int$, $\int_a^b$, $\lim_{x \to 0}$, $\sum$, $\partial$, $\nabla$
    • Trigonometry: $\sin$, $\cos$, $\tan$, $\arcsin$, $\arccos$, $\arctan$, $\sec$, $\theta$
    • Greek & Logic: $\alpha, \beta, \gamma, \delta, \lambda, \sigma, \omega, \Delta, \in, \cup, \cap, \implies$
  • Cursor-aware insertion with auto-selection of template parameters.
3. Interactive 2D Graphing Calculator
  • Cartesian coordinate engine rendered on HTML5 Canvas.
  • Real-time function stack: plot polynomials, trigonometric waves, exponentials, and logarithms.
  • Live crosshair coordinate readout: $(x, y)$.
  • Zoom, pan, and reset controls with mouse and touch interaction.
  • GeoGebra embed toggle: 1-click switch to the GeoGebra 2D/3D applet for geometric constructions.
4. Spaced Repetition Flashcards & Study Suite
  • Built-in SuperMemo SM-2 algorithm for review scheduling.
  • Interactive flip cards with question prompts and mathematical proofs.
  • Rate recall difficulty (Again, Hard, Good, Easy) to calculate dynamic review intervals.
5. AP & College Diagnostic Exams
  • Timed 10-minute diagnostic tests featuring Multiple Choice and Free Response questions.
  • Instant automated scoring and step-by-step solution keys.
6. FRQ & Assignment Auto-Grader
  • Rubric-based evaluation scoring student derivations across 4 dimensions:
    1. Conceptual Setup & Formula Selection (1 pt)
    2. Intermediate Algebraic / Calculus Derivation (1 pt)
    3. Dimensional & Unit Consistency (1 pt)
    4. Final Accuracy & Boxed Value (1 pt)

Docker Deployment

Deploy OpenMath with a single command using Docker:

docker compose up -d

The application will be live at http://localhost:3000.


Environment Variables (Optional)

OpenMath works out of the box with zero keys. To enable cloud AI reasoning and vision OCR, create a .env.local file (copy from .env.example):

# Optional: Google Gemini (Multimodal & Fast)
GEMINI_API_KEY=your_gemini_api_key_here

# Optional: OpenAI / OpenRouter / DeepSeek / Ollama
OPENAI_API_KEY=your_openai_api_key_here
OPENAI_BASE_URL=https://api.openai.com/v1
OPENAI_MODEL=gpt-4o

Testing

OpenMath includes a test suite covering mathematical normalization, SM-2 algorithms, and offline providers:

# Run unit tests
pnpm test

# Verify production build
pnpm build

License

Distributed under the MIT License. See LICENSE for more information.