OCRia-nano-1: CPU Document Parsing, Speed and License
OCRia-nano-1 is an 8.1M-parameter CPU document-parsing pipeline from LlamaIndex, run through the LiteParse application. Its published tests report 426 ms per page on one CPU core and 27.8 pages per second on 16 workers. Model weights use an OCRia-nano-1 license with specific commercial restrictions.
Content reviewed:
Install LiteParse and run OCRia-nano-1 ↗
Use this model
Official model repository
- OCRia-nano-1 model card and LiteParse quickstart
Model card, downloads and license conditions.
What can OCRia-nano-1 help you parse?
- Convert searchable PDFs and scans into Markdown, text or JSON with bounding boxes.
- Process everyday reports, contracts and invoices on CPU without sending documents to a hosted OCR API.
- Run a lightweight local or browser pipeline when you need text recognition plus basic table and layout recovery.
What is OCRia-nano-1, and how does LiteParse use it?
OCRia-nano-1 is a set of seven specialized document models totaling 8.1 million parameters. It is not a standalone OCR command or a general vision-language model. LiteParse orchestrates PDF rendering, OCR, native PDF text extraction and page-structure recovery around the model components.
For a born-digital PDF, LiteParse reads an existing text layer where it can. Pages or regions without usable text go through OCRia-nano-1’s line detector, script router and recognizers. LayoutNet then uses text, position and visual features to recover tables and classify blocks such as headings, lists, captions and page furniture. Results can be written as Markdown, plain text or JSON with bounding boxes.
The recognizers cover Latin, Chinese/Japanese/Korean, Arabic/Hebrew and a world-script model for about 17 more scripts. Use a representative sample when scripts mix within a page or when exact language accuracy matters.
How do you run it on a PDF?
Install LiteParse and pull the model files once. The Hugging Face quickstart lists a 60–75 MB download for the models and ONNX Runtime. After download, parse a document with the CLI. LiteParse supports PDFs, images and Office documents through its conversion path, and the model runs on Linux, macOS and Windows. A WebAssembly build also runs in browsers and edge environments.
The default OCR page render is 250 DPI. Lower DPI can reduce processing work and memory for documents with large pages, but may remove small print. Keep a copy of your source PDF and compare the produced Markdown or JSON with the original before feeding extracted values to an automated workflow.
lit models pull ocria-nano
lit parse scan.pdf --format markdownHow fast is the CPU pipeline?
LlamaIndex reports 426 ms per page on one CPU core, with 90% of measured pages finishing within 862 ms. The complete LiteParse pipeline, including OCR and structure recovery, was used for these numbers. On a 16-vCPU container with one worker per core, the report gives 27.8 pages per second across its 300-page sample.
The results are from the model publisher’s benchmark setup and document sample. Throughput varies with page size, render resolution, scan quality, CPU, number of workers and output format. Treat 27.8 pages per second as a reference for sizing, then time a representative batch on your own hardware, including file conversion and downstream review.
On ParseBench-2, the official model card reports 59.2 for LiteParse with OCRia-nano-1, 52.5 for Marker 2.2.0 Fast and 48.7 for LiteParse with Tesseract. On the charts dimension, the pipeline scored just 3.1, making it a poor fit for documents that require interpreting dense charts.
| Published configuration | Pages per second | Mean one-core time |
|---|---|---|
| LiteParse + OCRia-nano-1, 16 single-core workers | 27.8 | 426 ms per page |
| LiteParse + Tesseract, 16 single-core workers | 14.2 | 751 ms per page |
| OCRia-nano-1 in WebAssembly, one thread | Not reported as a shared batch rate | About 1–4 seconds per scanned page on a laptop |
What does a local OCR job cost, and can a business use the weights?
LiteParse is Apache 2.0, while OCRia-nano-1 weights use a separate license based on OpenRAIL-M. The model license permits research and personal use. It also permits commercial use by organizations with less than $2 million in both annual revenue and total funding. Organizations over either threshold need a commercial license, as do products or services that compete with LlamaParse or LlamaCloud, regardless of company size.
The weights have no per-page API fee. For a local installation, estimate CPU time, storage, power, operations and human review from your own documents. The published 426 ms/page figure is an average under one test setup, not a price. A commercial parsing service still needs license review even if it runs entirely on your own machines.
For larger test batches, count pages that meet your acceptance criteria and divide the total run cost by that number. Include time spent checking table structure and correcting misread text in the cost. This provides a more useful operating cost than multiplying the benchmark speed by your full document collection.
When should you use OCRia-1 instead?
Choose OCRia-nano-1 for high-volume everyday documents where CPU throughput and a small download matter. For complex tables, charts, mathematical notation or visually difficult pages, LlamaIndex positions OCRia-1 as the larger VLM option. Its ParseBench-2 score is higher, but it uses a 4B-parameter model and a GPU pipeline. Keep a mixed workflow if routine pages are inexpensive to parse locally and only a small portion need the larger model.
Davidson’s Workshop ran LiteParse 2.21.1 on a Mac mini M4 CPU at the default 250 DPI. The test used 23 synthetic household documents: 11 phone photos and 12 PDFs, with degraded scans made from the same PDFs. Nano took 0.16–0.20 seconds per page for OCR alone. It lost dates and handwritten totals on phone receipts. On the 12 PDFs, nano and Apple OCR each recovered 58 of 60 known values.
In a follow-up on the same 16 GB Mac, the workshop ran its own 8-bit MLX conversion of the 4B OCRia-1 at about 18 seconds per page. Given nano’s text, the same Gemma 4 E2B reader extracted 89.7% of the expected fields. With the larger model’s text it reached 93.5%, and with the original images it reached 96.3%. Those percentages measure the whole extraction workflow on this small set.
| Workflow | Best fit | Publisher-reported ParseBench-2 |
|---|---|---|
| LiteParse + OCRia-nano-1 | Everyday PDFs, invoices and routine scans on CPU | 59.2 |
| LlamaParse + OCRia-1 | Complex tables, charts and mathematical notation | 87.0 |
Which table errors should you check after parsing?
Check the parser version when reviewing tables. In LiteParse 2.21.0 on Windows 11, one user found that a sparse numeric column disappeared after nano missed the single-digit entries. The maintainer reported a fix in 2.21.1. In another report, a PDF with specially encoded minus signs kept them in plain text but lost them in Markdown tables; the maintainer identified 2.21.2 as the fix. Compare signed amounts and sparse cells across outputs when testing an upgrade.
A separate LiteParse 2.21.0 test on page 178 of the scanned Saturn V SA-507 flight manual shows why a correct number can still need review. The tester reported 0.87 seconds on one CPU core with nano against 3.61 seconds with Tesseract. Nano read 5400 correctly but merged eight rows into one Markdown table cell. Both engines misread the unit MHz.
Before you use it
- The 426 ms/page and 27.8 pages/second figures are from LlamaIndex’s benchmark workload, not a measurement on every CPU or document collection.
- The model is run through LiteParse rather than as a standalone recognizer. Check the separate OCRia-nano-1 weights license before commercial use.
- The small model is not designed for strong chart understanding or the most complex visual documents.
How to get started
Install LiteParse, pull the OCRia-nano-1 files once and parse a representative document batch. Compare text, tables and layout to your originals, then budget from measured accepted pages and check the model license for your use case.
Sources
Sources (9)
- LlamaIndex: OCRia-nano-1 announcement and architecture ↗
Source checked:
- OCRia-nano-1 model card: quickstart, benchmarks and license ↗
Source checked:
- LlamaIndex: OCRia-nano-1 technical report ↗
Source checked:
- LiteParse source repository and installation ↗
Source checked:
- LlamaIndex: OCRia-1 model card ↗
Source checked:
- Davidson’s Workshop: CPU OCR on printed and photographed documents ↗
Source checked:
- Davidson’s Workshop: the 4B model on the same documents ↗
Source checked:
- Saturn V manual: original single-page test ↗
Source checked:
- Tester’s follow-up: software version, source page and unit error ↗
Source checked: