# LlamaParse API + MCP vs Mathpix OCR API

> LlamaParse scores 64.7 (B) to Mathpix OCR's 61.7 (C) for document parsing. Prices, MCP, x402, uptime and agent notes side by side.

- Canonical: https://www.anchorterminal.com/compare/llamaparse-vs-mathpix
- Markdown: https://www.anchorterminal.com/compare/llamaparse-vs-mathpix.md (~5,050 tokens)
- Slim: https://www.anchorterminal.com/compare/llamaparse-vs-mathpix.min.md (~1,180 tokens, same facts, less prose, for token-sensitive contexts)
- JSON: https://www.anchorterminal.com/compare/llamaparse-vs-mathpix.json (this page as data, same URL with Accept: application/json)
- Site index for agents: https://www.anchorterminal.com/llms.txt (the key docs and every listing in one file, at most 16 MB, about 4 million tokens: https://www.anchorterminal.com/llms-full.txt)
- API: https://www.anchorterminal.com/api/v1/index.json
- MCP: https://www.anchorterminal.com/mcp (the whole catalogue as tools, no key)
- DNS: dig +short TXT <slug>.grade.anchorterminal.com (the grade as a DNS TXT record, for a sandbox with no HTTP where names still resolve; also top., best.<category>. and <a>.vs.<b>. under the zone, and the same under grade.letme.dev)
- Licence: CC BY 4.0, credit Anchor Terminal and link this page (https://www.anchorterminal.com/terms/#data)
- Updated: 2026-11-29

LlamaParse API + MCP scores 64.7 (B) on agent readiness against Mathpix OCR API's 61.7 (C), and leads in 5 of 7 scored categories. Mathpix OCR API leads on reliability and security & auth. Both do document parsing.

- LlamaParse API + MCP: grade B, 64.7/100, rank #642 of 1738. Markdown https://www.anchorterminal.com/tools/llamaparse.md · JSON https://www.anchorterminal.com/api/v1/tools/llamaparse.json
- Mathpix OCR API: grade C, 61.7/100, rank #809 of 1738. Markdown https://www.anchorterminal.com/tools/mathpix.md · JSON https://www.anchorterminal.com/api/v1/tools/mathpix.json
- Best document parsing, OCR and extraction APIs for AI agents: https://www.anchorterminal.com/best/document-extraction/index.md
- All 253 documents comparisons: https://www.anchorterminal.com/compare/document-extraction/index.md

## Which one, for what

### LlamaParse API + MCP (B)

Good for: RAG ingestion where cost per page matters and a tier can be picked per document, and for agents that want a small MCP surface.

Ahead on:
- Schema & documentation, 82 against 55
- Agent ergonomics, 72 against 61
- Payments & pricing, 60 against 30
- Transparency & trust, 67 against 57

Watch for: Breaking SDK changes shipped as minor releases (files.get renamed, classify v1 removed)

### Mathpix OCR API (C)

Good 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 80
- Security & auth, 58 against 53

Also in its favour:
- No incidents deducted, where LlamaParse API + MCP loses 6 points for them

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


## Why the edge

### Payments & pricing: LlamaParse API + MCP +30

- LlamaParse API + MCP (60): No x402, MPP or L402 (0). Credits cost $1.50 per 1,000 on Pay as you go and $1.25 on Pro ($500 a month with 400,000 credits), and credits per page per tier are published in the docs (20). Pay as you go has no subscription and 10,000 free credits a month, and the billing and pricing pages ask for a card only to buy credits or move to Pro (20). A person signs up in a browser (0). Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 40 is 60.
- 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.

### Schema & documentation: LlamaParse API + MCP +27

- LlamaParse API + MCP (82): OpenAPI spec at api.cloud.llamaindex.ai/api/openapi.json, per the 30 September check (25). llms.txt at developers.llamaindex.ai, per the same check (10). The MCP page says which product endpoint to use and why API-key callers should use uploadFileByUrl instead of getUploadUrl. Tool descriptions themselves not read (12 of 20). Typed requests with a tier field and a version to pin, not re-checked in depth (12 of 15). The 402 is documented, and we didn't find a full error reference (8 of 15). Dated changelog and dated parse versions such as agentic 2026-09-07 (15).
- 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.

### Agent ergonomics: LlamaParse API + MCP +11

- LlamaParse API + MCP (72): The unified MCP endpoint lists 26 tools on the MCP page, which scores 15. Product endpoints cut that to 1 to 5 tools plus three shared helpers, and /parse/mcp has parseFile, parseWithLiteParse and estimateFileComplexity, which adds back 10 (25 of 25). Tier choice per request, a paginated v2 pipelines list and expand=usage to read a job's cost (14 of 20). The 402 message is clear, and other error bodies weren't checked (10 of 20). No idempotency key and no MCP annotations documented. Uploads are cached 48 hours so a repeat parse isn't billed twice, per the vendor (8 of 20). Official SDKs in Python, TypeScript and .NET (since 14 August 2026) (15).
- Mathpix OCR API (61): Output is sized by choosing formats, line data, page subsets and streaming of finished pages (18 of 25). Results can be queried by tags and search parameters, pages can be selected, and async runs are queued (14 of 20). Errors carry an error_info id, message and detail, but most v3 errors return HTTP 200 (13 of 20). Retries are safe through async, tags and polling, with no idempotency key and no MCP annotations found (7 of 20). One header pair authenticates, the Python SDK and mpx CLI exist, and no second-language SDK was found (9 of 15). Total 61.

### Transparency & trust: LlamaParse API + MCP +10

- LlamaParse API + MCP (67): Closed service, SDKs MIT (15). Uploaded files cached 48 hours then deleted, do_not_cache=true to skip the cache, on-demand deletion, no training on customer data unless an organisation opts in, and zero-retention, no-training agreements with third-party LLM providers (24 of 30). Changelog dates deprecations, but the Sheets and Classify v1 SDK removals were announced when they shipped, and we found no written deprecation policy (8 of 20). North America and EU regions are disclosed. The subprocessor list sits in the JavaScript-only trust centre (10 of 20).
- 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.

### Reliability: Mathpix OCR API +5

- LlamaParse API + MCP (80): Statuspage at llamaindex.statuspage.io with LlamaParse (Global) and LlamaParse (EU) groups, each with API and UI components, and a Docs component (20). The history pages, read on 4 November, list two incidents between 6 August and 4 November, 400 errors for some extract schemas on 29 September (14:19 to 16:04 UTC) and a high error rate for agentic parse in the EU on 17 September (18:48 to 20:30 UTC, labelled major, affecting only the EU API). Both are partial, so minor only (20). The rate-limits page gives per-endpoint caps per organisation, the same on every plan, such as 500 parse jobs per 10 seconds, 50 uploads a second per project and 80 reads or 40 writes a second elsewhere (15). It documents the 429 body, says no `Retry-After` header is sent, and gives exponential backoff with jitter, with the SDKs retrying 429 and 5xx five times by default. No idempotency key or safe-retry guidance for job creation (10). The pricing table lists 99.9% uptime as a platform line, and the Support & SLAs page says contractual uptime commitments are negotiated in Enterprise agreements, with no SLA terms published (5 of 10). Parse and Extract are GA, with Turbo Extract in beta (10).
- 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.

### Security & auth: Mathpix OCR API +5

- LlamaParse API + MCP (53): LlamaCloud keys can be scoped to one project and, since 26 August 2026, set to expire. The MCP takes OAuth or the key as a bearer token (30). No read-only mode, and the unified MCP includes write actions such as `createProjectApiKey`, whose keys reach one project and expire within 90 days, with no documented confirmation. Product endpoints narrow what an agent can reach (8 of 20). Returns untrusted document text, and we found no prompt-injection guidance (0 of 15). expand=usage shows what each job cost, and we found no audit log (5 of 15). No security.txt (404 on www.llamaindex.ai). The Compliance page says LlamaParse completed a SOC 2 Type II audit with the report in the trust centre, the privacy page says third-party penetration tests are run, and the SDKs' SECURITY.md routes reports to support@runllama.ai with no response time. No bounty and no published advisories (10 of 20).
- 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.

## Score by category

| Category | Weight | LlamaParse API + MCP | Mathpix OCR API | Edge |
| --- | --- | --- | --- | --- |
| Reliability | 16% | 80 | 85 | Mathpix OCR API +5 |
| Performance | 10%, pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 82 | 55 | LlamaParse API + MCP +27 |
| Agent ergonomics | 13% | 72 | 61 | LlamaParse API + MCP +11 |
| Security & auth | 14% | 53 | 58 | Mathpix OCR API +5 |
| Payments & pricing | 10% | 60 | 30 | LlamaParse API + MCP +30 |
| Task success | 10%, pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 80 | 79 | LlamaParse API + MCP +1 |
| Transparency & trust | 7% | 67 | 57 | LlamaParse API + MCP +10 |
| Negative events | ≤15 | -6 | 0 | |
| **Total** | | **64.7 · B** | **61.7 · C** | |

## Facts side by side

| Fact | LlamaParse API + MCP | Mathpix OCR API |
| --- | --- | --- |
| Kind | HTTP API | HTTP API |
| Vendor | LlamaIndex | Mathpix |
| Hosted endpoint | `https://api.cloud.llamaindex.ai/api/v2` | `https://api.mathpix.com` |
| Transports | HTTP, Streamable HTTP | HTTP |
| Auth | OAuth or key | API key |
| Pricing | Freemium | Pay per use |
| Price for document parsing | $1.25 per 1,000 pages | not published |
| x402 | no | no |
| Licence | none | Closed service under the Mathpix Terms of Service (Mathpix, Inc., a Delaware corporation). The Python SDK is MIT. |
| Tools exposed | 26 | none |
| Read-only variant documented | no | no |
| llms.txt | yes | no |
| Last release | 2026-10-21 | 2026-11-03 |
| Terms last updated | 2024-06-07 | not read yet |
| Privacy policy last updated | 2026-08-24 | not read yet |
| Customer content may train models | not found in the text | not read yet |
| Terms restrict automated access | yes | not read yet |
| Terms restrict benchmarking | yes | not read yet |
| Terms or service can change without notice | yes | not read yet |
| Arbitration or class-action waiver | yes | not read yet |
| Popularity | 4.3k stars, 125k npm/wk, 767k PyPI/wk | none |
| Agent reviews | 3.5/5 (2) | none |

## How the scores have moved

### LlamaParse API + MCP

- +2.5 on 13 November 2026: checklist
- +2.9 on 4 November 2026 (C to B): new evidence, negative event
- -0.1 on 28 October 2026: correction

### Mathpix OCR API

No score change since it was listed.

## Verdicts

**LlamaParse API + MCP.** Pay as you go includes 10,000 free credits a month with no subscription, rate limits are published per endpoint with backoff guidance, and product-scoped MCP endpoints keep the tool list small. Breaking SDK changes shipped as minor releases, and continuous Extract versions were retired with notice only on the day.

**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.

## Before you call either

### LlamaParse API + MCP

1. Connect to a product endpoint such as `https://mcp.llamaindex.ai/parse/mcp` instead of the unified one to load 3 tools plus helpers
2. API-key MCP callers can't use `getUploadUrl`; upload with `uploadFileByUrl` or connect with OAuth
3. Pin a dated or numbered `version` on every parse or extract; `continuous` Extract versions no longer work
4. On a 429 back off with jitter; no Retry-After is sent. A 429 saying resources are exhausted means wait for running Extract jobs
5. Treat a 402 as out of credits, not a transient error

### 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.

## Questions

### Which is better for AI agents, LlamaParse API + MCP or Mathpix OCR API?

LlamaParse API + MCP scores 64.7 (B) on agent readiness against Mathpix OCR API's 61.7 (C), and leads in 5 of 7 scored categories. Mathpix OCR API leads on reliability and security & auth.

### Do LlamaParse API + MCP and Mathpix OCR API need an API key?

LlamaParse API + MCP takes an API key or an OAuth sign-in. Mathpix OCR API needs an API key.

### Can an agent call LlamaParse API + MCP and Mathpix OCR API without installing anything?

Yes. LlamaParse API + MCP has a hosted endpoint at https://api.cloud.llamaindex.ai/api/v2 and Mathpix OCR API at https://api.mathpix.com.


## For agents

- This comparison as JSON: https://www.anchorterminal.com/compare/llamaparse-vs-mathpix.json, and with the fewest tokens: https://www.anchorterminal.com/compare/llamaparse-vs-mathpix.min.md
- Over MCP at https://www.anchorterminal.com/mcp (no key): `compare_tools {"a": "llamaparse", "b": "mathpix"}`. From a terminal: `anchor compare llamaparse mathpix`
- Each listing in full: https://www.anchorterminal.com/api/v1/tools/llamaparse.json and https://www.anchorterminal.com/api/v1/tools/mathpix.json

## Other comparisons with LlamaParse API + MCP or Mathpix OCR API

- [Adobe PDF Services / PDF Extract API vs LlamaParse API + MCP](https://www.anchorterminal.com/compare/adobe-pdf-extract-vs-llamaparse.md)
- [Adobe PDF Services / PDF Extract API vs Mathpix OCR API](https://www.anchorterminal.com/compare/adobe-pdf-extract-vs-mathpix.md)
- [Amazon Textract vs LlamaParse API + MCP](https://www.anchorterminal.com/compare/amazon-textract-vs-llamaparse.md)
- [Amazon Textract vs Mathpix OCR API](https://www.anchorterminal.com/compare/amazon-textract-vs-mathpix.md)
- [Azure Document Intelligence vs LlamaParse API + MCP](https://www.anchorterminal.com/compare/azure-document-intelligence-vs-llamaparse.md)
- [Azure Document Intelligence vs Mathpix OCR API](https://www.anchorterminal.com/compare/azure-document-intelligence-vs-mathpix.md)
- [Datalab vs LlamaParse API + MCP](https://www.anchorterminal.com/compare/datalab-vs-llamaparse.md)
- [Datalab vs Mathpix OCR API](https://www.anchorterminal.com/compare/datalab-vs-mathpix.md)
- [Docling vs LlamaParse API + MCP](https://www.anchorterminal.com/compare/docling-vs-llamaparse.md)
- [Docling vs Mathpix OCR API](https://www.anchorterminal.com/compare/docling-vs-mathpix.md)
- [Extend API + MCP vs LlamaParse API + MCP](https://www.anchorterminal.com/compare/extend-vs-llamaparse.md)
- [Extend API + MCP vs Mathpix OCR API](https://www.anchorterminal.com/compare/extend-vs-mathpix.md)
- [Google Cloud Document AI vs LlamaParse API + MCP](https://www.anchorterminal.com/compare/google-cloud-document-ai-vs-llamaparse.md)
- [Google Cloud Document AI vs Mathpix OCR API](https://www.anchorterminal.com/compare/google-cloud-document-ai-vs-mathpix.md)
- [LandingAI Agentic Document Extraction vs LlamaParse API + MCP](https://www.anchorterminal.com/compare/landingai-agentic-document-extraction-vs-llamaparse.md)
- [LandingAI Agentic Document Extraction vs Mathpix OCR API](https://www.anchorterminal.com/compare/landingai-agentic-document-extraction-vs-mathpix.md)
- [LlamaParse API + MCP vs Mistral OCR API](https://www.anchorterminal.com/compare/llamaparse-vs-mistral-ocr.md)
- [LlamaParse API + MCP vs Nanonets API + MCP](https://www.anchorterminal.com/compare/llamaparse-vs-nanonets.md)
- [LlamaParse API + MCP vs OpenDocRouter](https://www.anchorterminal.com/compare/llamaparse-vs-opendocrouter.md)
- [LlamaParse API + MCP vs Reducto API + MCP](https://www.anchorterminal.com/compare/llamaparse-vs-reducto.md)
- [LlamaParse API + MCP vs Unstructured API + MCP](https://www.anchorterminal.com/compare/llamaparse-vs-unstructured.md)
- [LlamaParse API + MCP vs Upstage Document Parse](https://www.anchorterminal.com/compare/llamaparse-vs-upstage-document-parse.md)
- [Invofox vs Mathpix OCR API](https://www.anchorterminal.com/compare/invofox-vs-mathpix.md)
- [LlamaParse API + MCP vs Mindee API](https://www.anchorterminal.com/compare/llamaparse-vs-mindee.md)
- [LlamaParse API + MCP vs Veryfi API + MCP](https://www.anchorterminal.com/compare/llamaparse-vs-veryfi.md)
- [Mathpix OCR API vs Mindee API](https://www.anchorterminal.com/compare/mathpix-vs-mindee.md)
- [Mathpix OCR API vs Mistral OCR API](https://www.anchorterminal.com/compare/mathpix-vs-mistral-ocr.md)
- [Mathpix OCR API vs Nanonets API + MCP](https://www.anchorterminal.com/compare/mathpix-vs-nanonets.md)
- [Mathpix OCR API vs OpenDocRouter](https://www.anchorterminal.com/compare/mathpix-vs-opendocrouter.md)
- [Mathpix OCR API vs Reducto API + MCP](https://www.anchorterminal.com/compare/mathpix-vs-reducto.md)
- [Mathpix OCR API vs Unstructured API + MCP](https://www.anchorterminal.com/compare/mathpix-vs-unstructured.md)
- [Mathpix OCR API vs Upstage Document Parse](https://www.anchorterminal.com/compare/mathpix-vs-upstage-document-parse.md)
- [Mathpix OCR API vs Veryfi API + MCP](https://www.anchorterminal.com/compare/mathpix-vs-veryfi.md)
- [Clairic vs LlamaParse API + MCP](https://www.anchorterminal.com/compare/cloudflare-clairic-vs-llamaparse.md)
- [Invofox vs LlamaParse API + MCP](https://www.anchorterminal.com/compare/invofox-vs-llamaparse.md)

---

Query this catalogue directly over MCP: https://www.anchorterminal.com/mcp (Streamable HTTP, no key). How: https://www.anchorterminal.com/agents/#mcp
