Insights

OCR

Best AI For Handwriting Recognition

ByLlamaIndex

Yes, AI can read cursive now. On the AIMultiple cursive benchmark (100 paragraphs from 10 writers who were told not to write neatly, 14 systems, updated August 2026), Gemini 3 Pro returned a perfect similarity score, GPT-5 and the open-source olmOCR-2 rounded out the top three, and the classic cloud OCR engines from Amazon, Google and Microsoft landed mid-pack. That settles the question developers were asking two years ago. The question now is which system reads your handwriting, in your layouts, at your volume, with output you can validate, and that is what this guide answers.

We compare seven ways to turn handwriting into text or data: LlamaParse, a frontier vision-language model called through its API (Gemini 3 Pro as the example), Amazon Textract, Google Document AI, Azure AI Document Intelligence, olmOCR for self-hosting, and Transkribus for historical scripts. This page is about reading handwriting anywhere it shows up: notes, letters, annotations, margins, archives, mixed pages. If your input is a form with boxes, checkboxes and signatures, read our companion guide to the best OCR for handwritten forms instead, because field extraction is a different problem. Stylus note apps such as Goodnotes and MyScript are out of scope; they are products, not APIs.

Ranking Methodology

We started from what developers name when they ask this question on r/computervision and in the CodeSOTA handwriting evidence review , and kept the systems that met three criteria

  • A public API or a self-hostable model that accepts a page image or PDF and returns text. Desktop apps and stylus note-taking apps were excluded.
  • A documented result on handwriting, not just printed text: a public benchmark entry, a vendor-published handwriting evaluation, or a stated handwriting language list. We cite OCR accuracy only where we can name whose number it is.
  • A distinct approach, so the list covers an agentic document parser, a general VLM, three cloud OCR APIs, an open-source model and a specialist platform rather than seven versions of one thing.

LlamaParse is a LlamaIndex product; the number we cite for it comes from ParseBench, LlamaIndex's own public parsing benchmark, which has no handwriting-only subset, so we say so. Treat every figure here, ours included, as a reason to run your own 50 pages.

Compare AI Handwriting Recognition Tools

Tool Cursive benchmark Output Deployment Cost
LlamaParse Featured 84.9%ParseBench overall (no handwriting split) Markdown, JSON, bounding boxes Hosted APIprivate VPC on Enterprise $0.004/page
Gemini 3 Pro (frontier VLM) 100%AIMultiple similarity Free text or prompted JSON Hosted API About $0.01/page
Amazon Textract Mid-pack JSON blocks Hosted API $1.50/1,000 pages
Google Document AI Mid-pack JSON, handwriting flag Hosted API $1.50/1,000 pages
Azure AI Document Intelligence Mid-pack JSON, Markdown, isHandwritten flag Hosted APIor container $1.50/1,000 pages
olmOCR Top 3AIMultiple Markdown Self-hosted GPU Under $200/million pages
Transkribus Own benchmarkCER down 47% with Text Titan II Text, PAGE XML, ALTO Hostedplatform and API 1 credit/page0.5 via API

1. LlamaParse

LlamaIndex

LlamaParse is LlamaIndex's agentic document parser. It still does OCR, but it does not stop there: a layout model segments the page, an orchestrator sends each region to the right OCR model, LLM or vision-language model, and validation passes check the result before it is stitched back into Markdown or JSON with bounding boxes. For a page of handwriting, that means a note in the margin comes back as a note in the margin, a scribbled table comes back as a table, and a value written next to a printed label stays next to it. Extraction is the second half of the same product: give it a schema and it returns typed fields with per-field confidence and a citation to the page region.

That is why it leads this list, and the reason is accuracy, understood properly. For handwriting, accuracy is the whole barrier to entry: a misread dose on a clinical note, a wrong figure on an annotated contract or a dropped line on an intake form is not a typo, it is a decision made on bad data, and the teams that most need handwriting parsed (hospitals, insurers, law firms, lenders) are the ones that cannot absorb that risk. Raw character accuracy is only half the story. The VLMs below read cursive at least as well as LlamaParse, but they hand you a wall of fluent text with no way to tell a correct word from a confident guess.

LlamaParse reads the cursive with a VLM where it needs to, keeps every handwritten value attached to its label, section or cell, and returns per-field confidence and page citations, so the errors that remain are findable and reviewable instead of silent. On ParseBench (April 2026, about 2,000 enterprise pages), LlamaParse Agentic scored 84.9% overall, the top result; there is no handwriting-only split, and for pure cursive transcription we would not claim it beats Gemini 3 Pro. For mixed handwriting and print where a wrong value has consequences, it is the one we would start with.

Core features

  • Layout-aware parsing that keeps handwritten notes attached to the section, table cell or label they belong to.
  • Four parsing tiers (Fast, Cost Effective, Agentic, Agentic Plus) and a Cost Optimizer that routes only hard pages to the expensive tier.
  • Natural-language parsing instructions, so you can say "transcribe margin notes as blockquotes" without post-processing.
  • Schema-based extraction with per-field confidence and page citations, for routing uncertain values to review.
  • Security that matches the documents: SOC 2 Type II audited, AES-256 encryption at rest and TLS 1.2 or higher in transit, no training on customer data by default, uploads cached for 48 hours then deleted (or never cached with do_not_cache), zero-retention agreements with the model providers behind the service, and on Enterprise a HIPAA pipeline with a BAA, EU hosting, single-tenant and bring-your-own-cloud deployment.

Primary use cases

  • Clinical notes, patient intake and lab paperwork, where a misread dose, allergy or date becomes a patient-safety event; a value has to stay tied to its label and carry a confidence score so a human sees it before a chart does.
  • Marked-up contracts, signed forms and claims files at law firms, insurers and lenders, where the handwritten amendments and figures are the binding part of the page and a silent misread is a liability, not a typo.
  • Document pipelines feeding retrieval, agents or a database, where one flattened table or dropped margin note becomes a wrong answer that looks right; structured Markdown and page citations make the error traceable

Recent updates

  • October 2026: Extract v2.5 document extraction agents, with no increase in per-page pricing. September 2026 added the Turbo extraction tier in beta at 35 credits a page, with no separate parsing pass.
  • May 2025: skew and orientation detection, so rotated handwritten scans are corrected before parsing.
  • April 2026: ParseBench published with LlamaParse Agentic at 84.9%.

Watch out for

  • It is a hosted API. Standard plans process documents in LlamaIndex's cloud; data-residency teams need the Enterprise plan's private VPC deployment.
  • Agentic Plus costs 45 credits a page for parsing alone. Use the Cost Optimizer or route clean pages to Cost Effective.
  • The benchmark is LlamaIndex's own and has no handwriting subset.

Integration and cost

Output: Markdown, plain text, or JSON with bounding boxes from parsing; typed JSON matching your schema, with confidence and citations, from extraction.

Integration: hosted REST API with Python and TypeScript SDKs. No infrastructure to run.

Cost at scale: 1,000 credits cost $1.25. Parsing runs 1 (Fast), 3 (Cost Effective), 10 (Agentic) or 45 (Agentic Plus) credits a page, so Agentic is about 1.25 cents a page. The free plan includes 10,000 credits a month.

2. Gemini 3 Pro

Gemini 3

If you only want the words, the most accurate cursive reader you can call today is a frontier vision-language model. On the AIMultiple cursive benchmark Gemini 3 Pro Preview scored a perfect similarity score and GPT-5 and Claude Sonnet 4.5 were close behind, ahead of every dedicated OCR engine. The reason is context: a VLM reads a smudged word the way you do, by what the sentence needs it to be. You send a page image, you get text, and with a JSON-mode prompt you get fields. For a prototype, nothing is faster. See our guide to the best vision-language models for the current field.

The same context is the catch. A VLM that cannot read a word will often write a plausible one, with no confidence score to tell you it guessed, and it has no notion of layout unless you prompt for it. That is why LlamaParse uses a VLM as one component behind an orchestrator and validation passes rather than as the whole pipeline, and why LLM OCR on its own is a prototype strategy, not a production one. Gemini is the example here because it tops the benchmark; GPT-5 and Claude behave the same way.

Core features

  • Reads cursive, print, mixed languages and degraded scans in one call, with no per-language setup.
  • Prompted output: plain text, Markdown, or JSON in a shape you define.
  • Long context, so a multi-page letter or notebook can be transcribed with consistent names and spellings across pages.

Primary use cases

  • Prototypes and one-off transcription jobs where speed to first result matters most.
  • Narrative handwriting: letters, journals, meeting notes, free-text comments.
  • A fallback reader behind an OCR engine for the pages it scores low on.

Recent updates

  • August 2026: AIMultiple benchmark update puts Gemini 3 Pro Preview first of 14 systems on cursive.
  • February 2026: Gemini 3.1 Pro Preview released, listed at $2 per million input tokens and $12 per million output.
  • November 2025: Gemini 3 Pro released, the model AIMultiple tested.

Watch out for

  • No confidence scores and no bounding boxes by default, so you cannot route uncertain words to review without a second pass.
  • Hallucination on illegible text: expect fluent, wrong words rather than blanks.
  • Per-token pricing and rate limits make cost and throughput harder to predict than a per-page OCR API.

Integration and cost

Output: text, Markdown or JSON, as prompted. No native layout, confidence or coordinates.

Integration: Gemini API or Vertex AI with Python, Node, Go and Java SDKs; OpenAI and Anthropic APIs for GPT-5 and Claude.

Cost at scale: a page image is 1,120 input tokens at Gemini 3's default media resolution (2,240 at ultra high), plus a few hundred output tokens, so about 0.7 cents a page on Gemini 3.1 Pro and about 0.2 cents on Gemini 3 Flash at list prices, before retries.

3. Amazon Textract

Amazon Textract

Amazon Textract reads handwriting as part of its text detection, with each word and line returned as a block with geometry and a confidence score. It is the engine the r/computervision crowd most often names as a reliable baseline, and it sits mid-pack on cursive in the AIMultiple results. Where it is strong is operational: synchronous calls for single pages, asynchronous jobs for 3,000-page PDFs, S3 triggers, and the LAYOUT feature type for reading order.

The ceiling is language. Textract recognizes handwritten characters in English only, so a French letter or a bilingual note is out. It also does badly on narrative pages where lines curve, overlap or wrap around diagrams. If your handwriting is English, sits in lines, and your stack is AWS, it is a cheap and predictable choice.

Core features

  • Word- and line-level text with bounding boxes and confidence for every block.
  • LAYOUT feature type returns paragraphs, headers, lists and reading order.
  • Asynchronous API for multi-page documents with SNS notifications.

Primary use cases

  • English-language notes, logs and records in AWS-native pipelines.
  • High-volume batch conversion of scanned archives where price per page matters.
  • Forms and tables, covered in our Textract alternatives comparison.

Recent updates

  • June 2025: new model behind DetectDocumentText and AnalyzeDocument, with better handling of angled text, raised and lowered characters, look-alike characters and low-resolution faxes.
  • 2023: Layout feature type (reading-order blocks) and Custom Queries adapters.

Watch out for

  • Handwriting recognition is English only.
  • Synchronous calls accept one page; anything longer needs the async API and a polling loop.
  • No Markdown output; you rebuild structure from blocks yourself.

Integration and cost

Output: JSON Block objects with geometry, relationships and confidence.

Integration: boto3 or any AWS SDK; async jobs via StartDocumentTextDetection and SNS.

Cost at scale: text detection $1.50 per 1,000 pages for the first million pages a month, US West list price, October 2026. Free tier: 1,000 pages a month for three months.

4. Google Document AI

Google Document AI

Google Document AI covers handwriting through its Enterprise Document OCR processor, which extracts text in more than 200 languages and flags handwritten spans when the font-style add-on is enabled, and through Custom Extractor, which runs on Gemini 3 and lets you add validation rules. The same Vision API that powers Google Lens is available for simple images. For multilingual handwriting it is the broadest of the three cloud APIs.

In the cursive benchmark Google Vision sits with the other classic engines, behind the VLMs, and the docs do not publish a per-language handwriting list, so test your scripts. The interesting move is that Google now offers both paths: the OCR processor when you want deterministic text with confidence, and Gemini through Custom Extractor when you want a model that reasons about the page.

Core features

  • Enterprise Document OCR with handwriting detection and a font-style add-on.
  • Layout Parser for chunked blocks and Custom Extractor on Gemini with CEL validation rules.
  • Multilingual OCR across 200+ languages for printed text; handwriting across its major languages.

Primary use cases

  • Multilingual handwritten correspondence and records.
  • Pipelines that need a confidence-scored OCR pass and a Gemini pass behind the same API.
  • Forms, covered in our Document AI alternatives comparison.

Recent updates

  • September 2026: Custom Extractor v3.1 Lite on Gemini 3.1 Flash Lite (preview) with fine-tuning.
  • June 2026: validation and correction rules in CEL for Custom Extractor (preview).
  • January 2026: Gemini 3 Pro and Flash versions of Custom Extractor and Layout Parser (preview).
  • August 2024: OCR processor v2.1 GA with better reading order.

Watch out for

  • The 200-language figure is for printed text; the handwriting column in the language table is blank.
  • Several Gemini-based processors are preview and some are flagged as not meeting data-residency standards.
  • Processors are created per project and region, which adds setup compared with a single endpoint.

Integration and cost

Output: JSON Document object with text, layout, confidence and handwriting style spans.

Integration: REST or client libraries; processors are created per project and region.

Cost at scale: Enterprise Document OCR $1.50 per 1,000 pages, Layout Parser $10 per 1,000, Custom Extractor $30 per 1,000 (list prices, October 2026).

5. Azure AI Document Intelligence

Azure AI Document Intelligence

Azure AI Document Intelligence (the service formerly called Form Recognizer) reads handwriting with its Read model, which tags every line with an isHandwritten flag and a confidence score, and with Layout, which adds tables, selection marks and Markdown output. It is the only one of the three cloud APIs you can run as a Docker container on your own hardware, which matters for teams that cannot send pages to a public endpoint.

Handwriting support is listed for nine languages (English, Chinese Simplified, French, German, Italian, Japanese, Korean, Portuguese and Spanish), which is more than Textract and narrower than Google. On cursive it sits mid-pack with the other classic engines. If you are on the Microsoft stack or need an on-premises container, it is the practical pick among the big three.

Core features

  • Read model with per-line isHandwritten flag and confidence.
  • Layout model with Markdown output, tables and selection marks (v4.0).
  • Container deployment for on-premises or disconnected processing.

Primary use cases

  • Mixed printed and handwritten pages where you need to know which lines were handwritten.
  • Regulated environments that need the OCR engine inside their own network.
  • Forms, covered in our Document Intelligence alternatives comparison.

Recent updates

  • March 2026: prebuilt US tax form models updated for 2025 forms.
  • November 2024: v4.0 API GA, adding Markdown output and signature detection for custom models.

Watch out for

  • Nine handwriting languages (English, Chinese Simplified, French, German, Italian, Japanese, Korean, Portuguese, Spanish); anything outside that list is printed-text only.
  • The free tier (500 pages a month) processes only the first two pages of a PDF.
  • The pricing page does not render prices for every region; confirm in the Azure Pricing Calculator.

Integration and cost

Output: JSON with lines, words, polygons, confidence and style spans; Markdown from Layout.

Integration: REST API or Python, .NET, Java and JavaScript SDKs; Docker container for self-hosting.

Cost at scale: Read about $1.50 per 1,000 pages, Layout about $10 per 1,000 (list prices, October 2026; confirm in your region). 500 pages a month free.

6. olmOCR

olmOCR

olmOCR is the open-source model that belongs on a handwriting list. It is a fine-tuned 7B vision-language model from the Allen Institute for AI, Apache 2.0, and it placed in the top three on the AIMultiple cursive benchmark alongside GPT-5 and Gemini 3 Pro, the only open-source OCR model to do so. DeepSeek-OCR, the other open model that comes up, scored last at 79%. olmOCR reads the whole page as an image and writes Markdown in reading order, with tables, equations and handwriting handled in one pass.

The trade is operations. You need a recent NVIDIA GPU with at least 12 GB of VRAM, you serve it with vLLM, and as a generative model it can drop or invent text with no confidence score to warn you. AI2 puts the cost at under $200 per million pages on your own hardware, which is why it is the right answer when documents cannot leave your network and you have someone to run it. Our open-source OCR tools comparison covers the rest of the field.

Core features

  • 7B vision-language model with handwriting, table and equation support, Markdown output in reading order.
  • Batch pipeline for large back-file conversion, with vLLM serving and an external-provider option.
  • Apache 2.0 weights and code; fine-tuning on your own pages is possible.

Primary use cases

  • Privacy-bound handwritten records that cannot go to a cloud API.
  • High-volume, steady workloads where GPU time beats per-page fees.
  • Research and archive projects with an engineer who can own serving and upgrades.

Recent updates

  • October 2025: olmOCR-2-7B-1025 (v0.4.0) raised olmOCR-Bench to 82.4.
  • January to March 2026: v0.4.x releases added a PII tagging pipeline, parallel retries and a more robust work queue.
  • August 2026: olmOCR-2 placed top three on the AIMultiple cursive benchmark.

Watch out for

  • No confidence scores; a review workflow needs a second signal.
  • Needs a recent NVIDIA GPU with at least 12 GB of VRAM and 30 GB of disk.
  • Markdown only; fields, checkboxes and signatures are a second step you build.

Integration and cost

Output: Markdown in reading order.

Integration: pip install olmocr with a local GPU, or point it at an external inference provider.

Cost at scale: free under Apache 2.0; under $200 per million pages in GPU time by AI2's estimate, plus operations.

7. Transkribus

Transkribus

Transkribus is known for historical handwriting, and for good reason: it is built for scripts the general models were never trained on, such as 18th-century Kurrent, secretary hand and faded ledgers. Its Text Titan II model (June 2026) was trained on more than 250 million words and cut character error rate by an average of 47% against Text Titan I across Latin scripts on a 2,016-page internal benchmark that was 81% handwriting. You can also train a custom model on your own transcribed pages, which no cloud OCR API offers.

It is a platform first and an API second. Credits are consumed per page, API jobs cost half the app rate on paid plans, and output comes as text, PAGE XML or ALTO with line coordinates and per-character confidence. For modern business handwriting it is more than you need; for an archive, a genealogy project or a museum, it is the specialist.

Core features

  • Text Titan II general model for printed and handwritten Latin-script documents, plus language-specific Super Models.
  • Custom model training on your own ground-truth transcriptions.
  • Layout analysis, line detection and structured exports (PAGE XML, ALTO, TEI).

Primary use cases

  • Historical archives, manuscripts and letters in older scripts.
  • Digital humanities and genealogy projects that need searchable transcriptions with coordinates.
  • Institutions that want to train a model on one collection's hand.

Recent updates

  • June 2026: Text Titan II released, CER down about 47% versus Text Titan I.
  • June 2025: Transkribus benchmarked Text Titan I-ter against LLMs on historical handwriting: 10.8% CER versus 35.0% for Gemini 2.5 Flash, the best LLM tested.

Watch out for

  • Credit pricing is expensive at volume: a 250-credit top-up is EUR 59.50, about EUR 0.24 a page in the app.
  • Latin scripts first; coverage outside them depends on community models.
  • Platform workflow (upload, layout analysis, recognition) rather than a single endpoint.

Integration and cost

Output: plain text, PAGE XML, ALTO, TEI and DOCX with line coordinates and confidence.

Integration: REST API on Scholar and above; web app for review and training.

Cost at scale: Free 50 credits a month; Scholar EUR 99 a year with 900 credits; Team EUR 399 to 449 a year with 1,500 credits; Organisation plans from 75,000 credits a year on quote. One credit per page in the app, half a credit via the API on Scholar and above.

Final thoughts

If you are choosing one tool to put handwriting into a production pipeline, start with LlamaParse. It reads cursive with a VLM where it needs to, keeps the page structure the VLMs throw away, and returns confidence and citations you can route on. Run your 50 hardest pages on the free plan before you decide.

If you need the single most accurate cursive reader and can live without confidence scores, call Gemini 3 Pro directly. If your handwriting is English and your stack is AWS, Textract is cheap and predictable. If you need many languages, Google Document AI; if you need a container inside your network, Azure Document Intelligence. If pages cannot leave your network at all and you have a GPU, olmOCR. If the handwriting is two centuries old, Transkribus.

Product Where it wins Typical handwriting accuracy Pricing model
LlamaParse Handwriting that has to stay in context: clinical notes, annotated contracts, intake forms, with confidence scores so misreads are caught in review Industry-leading 10,000 free credits/mo, pay-as-you-go
AWS Textract English-only handwriting in AWS pipelines at the lowest per-page price 70-80% baseline Pay-as-you-go API
Google Cloud OCR Handwritten correspondence in many languages, with a confidence-scored OCR pass 70-75% baseline Pay-as-you-go API
Azure OCR Mixed print and handwriting where you need to know which lines were handwritten, or a container inside your network 70-80% baseline Pay-as-you-go API
ABBYY Desktop and on-premises conversion of legacy archives by non-developers Varies by document structure Enterprise licensing
Deepseek OCR Teams that will fine-tune and serve their own open-source model Varies, depends on tuning Free, open source

Frequently asked questions

Can AI read cursive?

Yes. On the AIMultiple cursive benchmark (100 paragraphs, 10 writers, updated August 2026) Gemini 3 Pro Preview scored a perfect similarity score, GPT-5 and olmOCR-2 completed the top three, the classic OCR engines from Amazon, Google and Microsoft sat mid-pack, and DeepSeek-OCR came last at 79%. Three things still break it: scripts the models never saw (old German Kurrent, secretary hand), ink so faded a human would guess too, and the model's own fluency, which fills an illegible word with a plausible one. For a letter or a notebook, a VLM will read it. For anything you act on, pair the reader with confidence scores or a review step, which is the case for LlamaParse over a raw VLM. See our glossary entry on handwritten text recognition for how the models differ from classic intelligent character recognition.

How accurate is AI handwriting recognition, and when do I still need a human?

Measure it as character or word error rate on your own pages, not as a vendor headline. Clean block capitals on white paper read at well over 99% on any tool here; fast cursive on a phone photo can lose a word in ten. The useful question is what happens to the words the model is unsure about. Textract, Google, Azure and Transkribus give you a confidence per word, line or character; LlamaParse gives you confidence per extracted field with a citation; Gemini and olmOCR give you nothing. Route low-confidence output to a reviewer with confidence-based routing and keep a human in the loop for names, amounts, dates and anything that triggers a decision.

What does handwriting recognition cost at scale?

Per-page API fees are the small number; correction time is the big one, and it is set by whether a tool tells you which words it is unsure of. Take a sample workload: 50,000 handwritten pages a month, about 300 words each, using October 2026 list prices.

Option 50,000 pages a month What the money buys
LlamaParse Cost Effective3 credits / page $188 Markdown with layout; the cheapest tier that keeps a handwritten value next to its label
LlamaParse Agentic10 credits / page $625 Cursive read by a VLM, structure kept, confidence and citations on extraction: misreads are flagged for review instead of hidden in prose
LlamaParse Agentic Plus45 credits / page $2,813 The densest, messiest pages only; the Cost Optimizer routes them here automatically
Gemini 3.1 Provia API About $350 Best raw cursive accuracy, but no confidence score, so every page needs a full human read to find the guesses
Amazon Textracttext detection $75 English only; word confidence but no structure, you rebuild the context yourself
Google Enterprise Document OCR $75 Broadest languages; text and confidence, structure costs another $500 a month with Layout Parser
Azure Read $75 Container option; text and confidence, Layout adds about $500 a month for structure
olmOCRself-hosted Under $10GPU time Plus serving and someone on call; no confidence scores, so review is all or nothing
Transkribusvia API, 0.5 credit / page About EUR 6,000 Top-up rates; organisation plans on quote; built for historical hands, not business documents
  • LlamaParse Cost Effective (3 credits/page): $188 · Markdown with layout; the cheapest tier that keeps a handwritten value next to its label
  • LlamaParse Agentic (10 credits/page): $625 · cursive read by a VLM, structure kept, confidence and citations on extraction: misreads are flagged for review instead of hidden in prose
  • LlamaParse Agentic Plus (45 credits/page): $2,813 · the densest, messiest pages only; the Cost Optimizer routes them here automatically
  • Gemini 3.1 Pro via API: about $350 · best raw cursive accuracy, but no confidence score, so every page needs a full human read to find the guesses
  • Amazon Textract text detection: $75 · English only; word confidence but no structure, you rebuild the context yourself
  • Google Enterprise Document OCR: $75 · broadest languages; text and confidence, structure costs another $500 a month with Layout Parser
  • Azure Read: $75 · container option; text and confidence, Layout adds about $500 a month for structure
  • olmOCR self-hosted: under $10 GPU time · plus serving and someone on call; no confidence scores, so review is all or nothing
  • Transkribus via API (0.5 credit/page): about EUR 6,000 at top-up rates · organisation plans on quote; built for historical hands, not business documents

Where the numbers come from

  • LlamaParse: 1,000 credits = $1.25; parsing tiers 3, 10 and 45 credits a page.
  • Gemini: $2 per million input tokens and $12 per million output for 3.1 Pro; 1,120 input tokens a page at the default media resolution and about 400 output tokens.
  • Textract, Google, Azure: $1.50 per 1,000 pages for text or Read, first million pages, US list prices.
  • olmOCR: AI2's estimate of under $200 per million pages on your own GPUs.
  • Transkribus: 250 credits for EUR 59.50, API jobs at half a credit a page.

Which tool is best for historical documents and old cursive?

Transkribus. Its models are trained on archival hands the general models never saw, Text Titan II roughly halved error rates on a benchmark that was 81% handwriting, and you can train a custom model on a few dozen transcribed pages of one collection. Gemini 3 Pro is a fair second for 19th- and 20th-century Latin-script letters, and worth trying first if the volume is small. Classic OCR engines are the wrong tool here.

Is there a good open-source handwriting recognition model I can fine-tune?

Two, for different jobs. olmOCR (Apache 2.0) is a whole-page model: give it a scan, get Markdown, and it ranked top three on the 2026 cursive benchmark. TrOCR (Microsoft, MIT license) is a line-level transformer; the handwritten checkpoint reaches about 2.9% character error rate on the IAM dataset and is the standard baseline to fine-tune when you have labelled lines from your own domain, but you need a line detector in front of it. DeepSeek-OCR is also open but scored last on the cursive benchmark; Tesseract and EasyOCR are for printed text. For the wider field see the open-source OCR tools comparison and the transformer-based OCR glossary entry.

Can these tools read handwritten math and diagrams?

Partly. olmOCR and the frontier VLMs transcribe handwritten equations to LaTeX reasonably well, and LlamaParse handles equations and diagrams as regions inside a page. The cloud OCR engines treat an equation as text and mangle it. If handwritten math is the main workload (STEM notes, exam scripts), Mathpix is the specialist API built for it, and it is the one tool outside this list we would add to a shortlist.

What output do I need for retrieval, agents, or a database?

It depends on what reads it next. For retrieval and summarization over whole documents, Markdown with reading order is the right output, which is what LlamaParse, olmOCR and Azure Layout return. For an agent or a database, you need typed fields with confidence and a citation back to the page, which is extraction, not transcription. For search over an archive, plain text with line coordinates (Transkribus, Textract, Azure Read) is enough. Whatever you pick, keep the coordinates: a reviewer correcting a handwritten value needs to see the handwriting.

Should I call a cloud API or self-host?

Self-host (olmOCR, or TrOCR for lines) when pages cannot leave your network, when volume is steady enough that GPU time beats per-page fees, and when someone owns serving and upgrades. Use a managed API when time to production matters more than control, when volume is spiky, or when your pages are hard enough that a wrong read costs more downstream than the page fee. Many teams split it: a cheap engine or local model for clean printed pages and an agentic parser for the handwritten ones, which is what page-level routing is for.

Start building your first document agent today

LlamaIndex gets you from raw data to real automation, fast.