Head to head · OCR · October 2026 research run

Mathpix OCR API vs Upstage Document Parse

Mathpix OCR API scores 61.7 (C) on agent readiness against Upstage Document Parse's 54.5 (C), and leads in 4 of 7 scored categories. Upstage Document Parse leads on schema & documentation and payments & pricing. Both do ocr.

Best document parsing, OCR and extraction APIs for AI agents · All 253 documents comparisons

Which one, for what

Mathpix OCR API C

Best for Converting scientific and technical documents, equation images, tables and handwriting into LaTeX or Markdown at a few tenths of a cent per image, for teams that accept a card and a setup fee.

Ahead on

  • Reliability, 85 against 52
  • Security & auth, 58 against 43
  • Maintenance & community, 79 against 65
  • Transparency & trust, 57 against 45

Watch for

An API key needs a card and a one-time $19.99 setup fee, and no free API tier was found

Upstage Document Parse C

Best for Agents that need layout-aware Markdown or HTML from PDFs, scans and Office files, including Korean and Japanese and HWP files, at a per-page price.

Ahead on

  • Schema & documentation, 71 against 55
  • Payments & pricing, 40 against 30

Also in its favour

  • Runs on your own machine

Watch for

No idempotency key on parsing, and the MCP server's own code says a timed-out request may already have been billed

Why the edge

Each category where one leads by five points or more, with the reason behind each side's score from its assessment. The numbers are in the table below; this is what they stand for.

Reliability Mathpix OCR API +33

Mathpix OCR API 85

A public Instatus page lists the OCR API in three regions and Snip (20). Its history page shows 100.0% uptime for September, October and November 2026 and no notices in 7 days, so the record is clean (30). Limits are published with numbers, 200 synchronous requests a minute and 20,000 pages a month per key (15). The error docs mark http_max_requests (429) as retryable with exponential backoff, and no Retry-After header or idempotency guidance was found (10 of 15). The product page's 99.99% uptime is a marketing figure and no SLA for a paid tier was found (0). The v3 endpoints are generally available (10). Total 85.

Upstage Document Parse 52

Graded as a hosted API. The docs link a status page at status.upstage.ai, but its robots.txt request answered 403, so the page and its history were not read. We give no points for a page we couldn't see (0) and 5 for no readable history (5). Rate limits are published with numbers per tier, from 3 requests a second and 500 pages a minute on Tier 0 to 15 and 2,000 on Tier 3 for synchronous parsing (15). Every response carries rate limit headers, and a 429 carries a Unix retry time for the exceeded category, with backoff guidance. The error table says which statuses to retry. Parsing has no idempotency key, and the docs give no safe-retry advice for a billed request that timed out (10 of 15). An SLA of over 95.0% monthly availability for Document Parse on paid use, with credits of 1.5 times the previous month's usage (10). Document Parse is generally available, with a separate document-parse-experimental beta channel (10). 0+5+15+12+10+10 = 52.

Schema & documentation Upstage Document Parse +16

Mathpix OCR API 55

No OpenAPI file was found (0). mathpix.com/llms.txt returned 404 and docs.mathpix.com was not checked for one (0). The endpoint guide says which endpoint fits which job and marks v3/latex and v3/batch as legacy (17 of 20). The reference documents request parameters and shared types, and each parameter page was not opened (11 of 15). Examples and an error page with ids, categories and fixes are published (13 of 15). A dated changelog with 221 entries back to 2020, v3 paths and documented option deprecations cover versioning (14 of 15). Total 55.

Upstage Document Parse 71

The API reference page names an OpenAPI file (openapi-document-digitization-dp.yaml), but the relative address it gives returned an HTML page, so no machine-readable contract was read for the REST API. The MCP server's two tools have typed inputs with Literal enums for mode and ocr (10 of 25). llms.txt and a Markdown twin of each docs page (10). The docs say when to use standard, enhanced and auto, and when to use the synchronous or the asynchronous API. They don't say when not to use the endpoint (14 of 20). Modes, OCR settings, output formats and limits are enumerated in the docs and the MCP code. The REST request parameters didn't render in the Markdown reference read (10 of 15). An error table with status, code, cause and fix. The Markdown reference shows placeholders where its request and response examples would be (12 of 15). Dated model snapshots behind a document-parse alias, an api version field in each response and a dated changelog with Breaking Change labels (15). 10+10+14+10+12+15 = 71.

Security & auth Mathpix OCR API +15

Mathpix OCR API 58

A revocable app_id and app_key pair per key, with a disable switch for a leaked key, per-key limits and five-minute app tokens for client apps, and no scopes (22 of 30). Members have roles and keys carry limits, but no read-only or per-endpoint scopes were found (8 of 20). OCR output is untrusted text from user documents and no injection guidance was found (3 of 15). A usage tab with alerts, a results tab and hourly usage by key give per-call visibility (11 of 15). SOC 2 Type 2, a yearly third-party penetration test and a security contact are stated, and no bug bounty or security.txt was found (14 of 20). Total 58.

Upstage Document Parse 43

Bearer API keys per organisation, up to 10 per member, revocable and revoked when a member leaves. No scopes or expiry, and no key in a URL (20 of 30). No read-only or limited keys. The Owner and Member roles and a monthly postpaid billing limit that can stop requests are the only controls (3 of 20). Parsing returns text from untrusted documents, and no prompt-injection guidance was found (0 of 15). The Usage page filters usage by API key or owner email over up to 92 days, with CSV download (10 of 15). The FAQ claims SOC 2, HIPAA and ISO/IEC 27001 and 27701 and regular third-party audits. No security.txt, disclosure policy, bug bounty or report was read, partly because www.upstage.ai is closed to our reader (10 of 20). 20+3+0+10+10 = 43.

Maintenance & community Mathpix OCR API +14

Mathpix OCR API 79

The changelog's newest entry is 3 November 2026 (30). It has five dated entries since 31 August 2026 (20). Support runs by email and the console, limit raises are self-service, and no community channel was found, so 8 of 15. The Python SDK and mpx CLI are current, with mpxpy 0.0.23 on 22 September 2026 (15). The SDK repository has test and release workflows and an MIT licence, and passing runs were not read because github.com's pages refuse our reader (6 of 10). Total 79.

Upstage Document Parse 65

Graded on the API and its MCP server. Last change mcp-upstage 0.2.0 on 21 October 2026, 33 days before the check. The last Document Parse change in the changelog is document-parse-260930 on 30 September 2026 (20). In the 90 days from 25 August, Document Parse changelog entries on 30 August, 4 September, 28 September and 30 September, and the MCP release (20). A public changelog last updated 23 November 2026, a help centre and a Discord server. The MCP repository has no open issues, and replies were not sampled (12 of 15). The MCP server isn't in the official MCP registry, and no official parsing SDK was found. The current MCP package on PyPI counts for part (5 of 15). The MCP repository runs CI on Python 3.10 and 3.12 with a fresh install, and publishes from workflows (8 of 10). 20+20+12+5+8 = 65.

Transparency & trust Mathpix OCR API +12

Mathpix OCR API 57

A closed service under terms last updated on 1 March 2024, clear on fees and refunds, and the SDK is MIT (13 of 30). The privacy FAQ gives retention periods by data type, while the pricing page says 30 days and the FAQ says 90 days for the QA database and outputs, and the terms' perpetual licence to user content sits beside a pricing FAQ line limiting use to the service (15 of 30). Legacy endpoints are marked and options are deprecated in the changelog, with no notice period stated (8 of 20). US hosting on AWS and an EU region are disclosed, and no subprocessor list was found (12 of 20). Total 48.

Upstage Document Parse 45

Closed service. The terms and privacy policy are on www.upstage.ai, whose robots.txt closes them to ClaudeBot, so they weren't read. The MCP server is MIT (10 of 30). The data handling page, the model page and the FAQ agree. Synchronous data is not stored, asynchronous results are kept 30 days and can be deleted, and API data is not used for training. The FAQ puts asynchronous input at up to 3 days, where the data handling page says it is deleted when inference finishes and kept up to 3 days only on failure. The privacy policy, DPA and retention outside the API weren't read (18 of 30). The changelog dates deprecations and labels them Breaking Change. Document Parse 250618 and 251217 were retired in entries dated the same day, while Solar Pro 3 had a month's notice. No written deprecation policy was found (8 of 20). A Korea region endpoint is documented. The global endpoint's location and any subprocessor list are not in the docs read (5 of 20). 10+18+8+5 = 41.

Payments & pricing Upstage Document Parse +10

Mathpix OCR API 30

No x402, MPP or L402 (0). Per-image and per-page prices are public without a login (30). A card and a $19.99 non-refundable setup fee come before the first key, and the $29 test credit follows payment, so there is no card-free trial for the API (0). Access needs a browser sign-up and a card, and no programmatic route was found (0). Total 30.

Upstage Document Parse 40

No x402, MPP or L402 (0). Per-page prices published without login on the model page, $0.01 standard and $0.03 enhanced (30). The Playground is free with no login or card, and the FAQ refers to free credits without saying how much. Whether an API key works without a card was not established (10 of 30, our call). A person signs up in a browser and creates the key in Console (0). 0+30+10+0 = 40.

Score by category

CategoryWeightMathpix OCR APIUpstage Document ParseEdge
Reliability16%8552Mathpix OCR API +33
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%5571Upstage Document Parse +16
Agent ergonomics13%6164Upstage Document Parse +3
Security & auth14%5843Mathpix OCR API +15
Payments & pricing10%3040Upstage Document Parse +10
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%7965Mathpix OCR API +14
Transparency & trust7%5745Mathpix OCR API +12
Negative events≤1500
TotalC 61.7/100C 54.5/100

Facts side by side

FactMathpix OCR APIUpstage Document Parse
KindHTTP APIHTTP API
VendorMathpixUpstage
Hosted endpointhttps://api.mathpix.comhttps://api.upstage.ai/v1/document-digitization
TransportsHTTPHTTP, stdio
AuthAPI keyAPI key
PricingPay per usePay per use
Price for ocr$0.002 per imagenot published
x402nono
LicenceClosed service under the Mathpix Terms of Service (Mathpix, Inc., a Delaware corporation). The Python SDK is MIT.Proprietary service. The MCP server mcp-upstage is MIT
Tools exposednone2
Read-only variant documentednono
llms.txtnoyes
Last release2026-11-032026-10-21
Terms last updatednot read yetno date given
Privacy policy last updatednot read yetno date given
Customer content may train modelsnot read yetyes
Terms restrict automated accessnot read yetnot found in the text
Terms restrict benchmarkingnot read yetnot found in the text
Terms or service can change without noticenot read yetnot found in the text
Arbitration or class-action waivernot read yetyes
Popularitynone13 stars

Verdicts

Mathpix OCR API

Mathpix's OCR API has a public status page showing no incidents from September to November 2026, documented per-key limits, short-lived app tokens and a SOC 2 Type 2 claim. An API key needs a card and a $19.99 setup fee, there is no free API tier, and most v3 errors return HTTP 200.

Upstage Document Parse

Per-page prices, rate limits with retry headers, a coded error table, a retention table and a 95% SLA are all in the docs. There is no idempotency key, Document Parse versions were retired on the day the changelog announced it, and the terms, privacy policy and status page were closed to our reader.

Before you call either

Mathpix OCR API

  1. Send app_id and app_key headers from a server. For a client app, mint a short-lived token from v3/app-tokens instead.
  2. Check error_info.id in the response body. Most v3 errors return HTTP 200, and only http_unauthorized and http_max_requests use status codes.
  3. If error_info.id is http_max_requests, wait and retry with exponential backoff. Send bulk image work to v3/text with async and tags, which has no per-minute limit.
  4. Set Improve Mathpix off on the key for sensitive files. The key setting overrides the improve_mathpix flag in a request.
  5. Ask for a zip output such as mmd.zip when you need page images after 30 days. Image URLs in the Markdown expire.

Upstage Document Parse

  1. Send the file as multipart document to POST https://api.upstage.ai/v1/document-digitization with Authorization: Bearer and model=document-parse
  2. Use the asynchronous API for files over 100 pages. The synchronous API rejects them with 413
  3. Pick standard for text documents. Use enhanced or auto for complex tables, charts or poor scans, which cost $0.03 a page
  4. If you get 429, wait until the Unix time in X-Upstage-RateLimit-Retry-After-*. If you get usage_limit_exceeded, do not retry
  5. Before you retry a timed-out request, check usage first. A retried parse can be billed twice

Questions

Which is better for AI agents, Mathpix OCR API or Upstage Document Parse?

Mathpix OCR API scores 61.7 (C) on agent readiness against Upstage Document Parse's 54.5 (C), and leads in 4 of 7 scored categories. Upstage Document Parse leads on schema & documentation and payments & pricing.

Do Mathpix OCR API and Upstage Document Parse need an API key?

Both need an API key.

Can an agent call Mathpix OCR API and Upstage Document Parse without installing anything?

Yes. Mathpix OCR API has a hosted endpoint at https://api.mathpix.com and Upstage Document Parse at https://api.upstage.ai/v1/document-digitization.

Other comparisons with Mathpix OCR API or Upstage Document Parse

Machine-readable

For companies

Do agents find, use and choose your tools?

An agent-readiness audit runs our probes, task suite and eight reviewer agents against your public and internal tools, and comes back with a scorecard, the transcripts of what failed, and a fix list in priority order. From $2,500, re-run included. We never take payment to move a rank. We do help companies earn one.