Innhold Show
OCRia-nano-1 makes local document parsing on a CPU a far more practical first choice: 8.1 million parameters can read text, rebuild tables and recover page layout without a GPU. It runs inside LiteParse and targets high volumes of ordinary documents – reports, contracts, invoices and scanned pages that do not need a heavyweight vision-language model for every pass.
The important number is not just the model size. The complete LiteParse pipeline with OCRia-nano-1 scores 59.2 on ParseBench-2 while averaging 426 milliseconds per page on one CPU core. With 16 workers, LlamaIndex measured 27.8 pages per second. In the company’s tests, that is roughly twice the throughput of LiteParse with Tesseract.
This is not a magical miniature replacement for the largest document models. OCRia-nano-1 is a fast, local first line for everyday documents. Complex tables, handwriting, badly degraded scans, mathematical notation and information locked inside charts can still justify a larger model.
What is OCRia-nano-1?
OCRia-nano-1 is a package of seven specialized document models with 8.1 million parameters in total. LlamaIndex describes the package as a combination of text-line detection, automatic script routing, four text recognizers and LayoutNet for table structure and page layout. Everything runs locally on a CPU through LiteParse.
The seven components have separate jobs. The 3.9-million-parameter OCR stack finds text lines, identifies the script and routes each line to a suitable recognizer. Four recognizers cover Latin text, Chinese, Japanese and Korean, right-to-left scripts, and a broader group of world scripts. LayoutNet uses the remaining 4.3 million parameters to find tables and classify blocks such as headings, lists, captions, headers and footers.
LiteParse first tries to extract the text and geometry already embedded in a PDF. OCRia-nano-1 is invoked when that text layer is missing or unusable, while LayoutNet combines text, position and visual signals to reconstruct the document structure. The result can be returned as Markdown, plain text or JSON.
That division of labor is what makes this release useful. An ordinary PDF does not need to go through a huge multimodal model because a few pages contain scanned fields or a simple table. The pipeline can use what the document already provides and apply the learned models where they are actually needed.
How fast is CPU document parsing with OCRia-nano-1?
The complete pipeline averaged 426 milliseconds per page on one core, with 90 percent of measured pages finishing within 862 milliseconds. On a machine with 16 virtual CPU cores and one worker per core, LlamaIndex measured 27.8 pages per second. The technical report says the latency test used 300 randomly selected ParseBench pages.
For comparison, the default Tesseract configuration managed 14.2 pages per second and averaged 751 milliseconds per page. Indra 1.1.2 was slightly faster in the multi-worker test at 29.6 pages per second, compared with 27.8 for OCRia-nano-1. OCRia-nano-1 nevertheless scored higher on four of the report’s five aggregate quality benchmarks.
The OCR components alone are faster again: 37.2 pages per second and 325 milliseconds per page. But removing LayoutNet drops the ParseBench-2 score from 59.2 to 51.2. That distinction matters. The 59.2 result belongs to the complete LiteParse setup with both text recognition and learned structure recovery, not to a bare OCR model.
How well does it handle tables and layout?
OCRia-nano-1 scored 59.2 overall on ParseBench-2, including 59.5 for tables, 72.4 for layout and 82.2 for formatting. The report compares it with Indra 1.1.2, Marker 2.2.0 and LiteParse with Tesseract. Indra scored 55.1 overall, Marker scored 52.5 and the Tesseract setup scored 48.7.
The main gain is not simply recognizing more letters correctly. LayoutNet improves the system because document parsing is about relationships on the page: which words belong in the same cell, what counts as a heading, where a list starts, and which elements are merely headers or page numbers. A plain text extraction can be technically accurate and still be useless to an agent if the table turns into soup.
On OmniParseBench, the complete pipeline scored 74.8, compared with 70.9 for Indra and 69.8 for Marker. The difference on olmOCR-bench was tiny: 60.9 for Nano and 60.8 for both Indra and Marker. These are vendor-run tests, not independent confirmation across every document type. They show a promising balance of speed and structure, but they do not prove that Nano wins on every PDF you can throw at it.
The component results also show where the value comes from. Native PDF text alone scored 46.3 on ParseBench-2. Adding OCR raised that to 51.2, while OCR plus LayoutNet reached 59.2. The small layout model is not decoration around the OCR engine. It provides a substantial part of the practical gain.
Which documents are a good fit?
OCRia-nano-1 is best suited to high volumes of relatively ordinary documents where local processing, low latency and modest hardware requirements matter more than maximum accuracy on the hardest pages. LlamaIndex points to digitally generated reports, straightforward contracts, invoices with simple tables and routine scans.
For agents and search systems, this can be a sensible first stage. Parse documents locally on a CPU, keep straightforward pages in the fast lane, and send only the difficult cases to a larger model. That avoids paying the GPU or cloud cost for every page just because a small share of the collection has complicated structure.
I would not install it as the only parser in a critical workflow based solely on the vendor’s benchmark. Run a representative sample of your own invoices, reports and scans, then measure text, tables and layout separately. The failures in your documents determine whether the model is good enough – not the average from one benchmark.
Where are the limits?
Nano has no dedicated model for interpreting charts. Charts remain images, and their contents are not converted into structured data. LlamaIndex recommends the larger OCRia-1 for complex tables, handwriting, severely degraded scans, scanned mathematical notation and chart-to-table work.
Language coverage also needs practical validation. The model has separate routes for several writing systems, and its Latin recognizer covers 791 characters. That does not automatically document good performance across every language, font, form design or poor-quality scan. This article is based on published sources rather than my own language-specific test, so I am not assigning it a level of local-language quality that the sources have not measured separately.
The benchmarks also come from LlamaIndex and the model’s own technical report. The methodology is detailed enough to be useful, but the vendor still chose the pipeline, configurations and comparisons. A ParseBench-2 score of 59.2 is a strong signal. It is not a universal quality stamp.
Is OCRia-nano-1 really open source?
The weights are available, but the license is not a conventional unrestricted open source license. The Hugging Face model card says OCRia-nano-1 uses a modified Open RAIL-M license. It permits research, personal use and some commercial uses, but it also includes limits tied to organization size and competing OCR, document-parsing and extraction services.
The LiteParse code, by contrast, is available under Apache 2.0, while ONNX Runtime retains its MIT license. The code, runtime and model weights therefore have different terms. “Open weights” is the precise description for OCRia-nano-1. If the model is going into a product or production pipeline, read the license before locking in the architecture.
This matters because local execution and downloadable weights are easily described as if everything were free for any purpose. You can download the model and run it on your own CPU, but what you may build with it depends on the license and the kind of organization or service involved.
How do you try it in LiteParse?
The model is an optional LiteParse component and must be downloaded separately. The LiteParse documentation says the model package and ONNX Runtime require about 60-75 MB. After the download, OCRia-nano-1 becomes the default OCR backend, while Tesseract can still be selected explicitly for an individual run.
pip install liteparse
lit models pull ocria-nano
lit parse document.pdf --format markdown
The model also works through Python, Node.js and WebAssembly. In WebAssembly it runs on one thread, and the model card gives a range of roughly one to four seconds per scanned page on a laptop. Offline installations can pull the model package from a local directory, and LiteParse checks the files against pinned SHA-256 hashes during installation.
Start with a limited test set that actually resembles the production documents. Check whether tables preserve rows, columns and spanning header cells, whether page headers and footers contaminate the content, and whether the structured output works in the search or agent pipeline. Speed without usable structure is just a faster route to bad input.
OCRia-nano-1 is promising precisely because the ambition is restrained: use very little model capacity on the many documents that do not need a gigantic VLM. An 8.1-million-parameter model package, local CPU execution and a complete structure pipeline make a strong combination. The right role is a fast first stage with a plan for difficult pages – not pretending that 8.1 million parameters have solved all document understanding.
Frequently asked questions
Does OCRia-nano-1 need a GPU?
No. OCRia-nano-1 is designed to run locally on a CPU through LiteParse and ONNX Runtime. LlamaIndex measured an average of 426 milliseconds per page on one CPU core for the complete pipeline, although actual speed will vary by hardware, document type and worker count.
Can OCRia-nano-1 extract tables from PDF files?
Yes. LayoutNet uses text, position and visual signals to reconstruct rows, columns and spanning header cells. The pipeline scored 59.5 on the table portion of ParseBench-2, but complex tables should still be tested against representative documents before production use.
Can the model read handwriting and charts?
OCRia-nano-1 is not LlamaIndex’s first choice for handwriting, severely degraded scans or complex mathematics. It also has no chart-to-table model and preserves charts as images. LlamaIndex points to the larger OCRia-1 for those document types.
Can OCRia-nano-1 be used commercially?
In some cases, yes, but read the model license first. The weights use a modified Open RAIL-M license with limits related to organization size and competing document services. LiteParse’s code has a separate Apache 2.0 license, so the code and model weights require separate review.
