8.1M parameters on a CPU: LlamaIndex opens OCRia-nano-1 weights for local document parsing
LlamaIndex released OCRia-nano-1, an 8.1M-parameter OCR, table and layout pipeline that runs on CPUs inside the open-source LiteParse parser.

TL;DR
- OCRia-nano-1 bundles seven small models totalling 8.1M parameters for OCR, tables and layout, and runs on CPUs inside LiteParse [1][2].
- LlamaIndex reports 59.2 on ParseBench-2 and 426 ms per page on one core, ahead of Marker and Tesseract-based LiteParse in its tests [1][2].
- The weights are free for research, personal use and companies under $2M revenue and funding; larger firms and products that compete with LlamaParse or LlamaCloud need a commercial licence [1].
LlamaIndex has released open weights for OCRia-nano-1, a document parsing pipeline with 8.1 million parameters in total that runs on ordinary CPUs [1][2]. It adds text recognition, table structure and layout detection to LiteParse, the company’s open-source local document parser [1][2]. LlamaIndex announced it on 23 November 2026 and published the weights on Hugging Face [2].
Why it matters
LlamaIndex frames the trade-off this way: free and open-source text parsers are fast but fall apart on complex tables and layouts, while vision-language models handle complex documents but their compute and latency are not justified for every workload [2]. LlamaIndex positions OCRia-nano-1 as a first pass for everyday documents that runs next to the application, with larger models kept for the hardest pages [2]. It runs locally on CPUs without heavy dependencies, so it can slot into existing pipelines [2].
What is inside
The pipeline has a text-line detector, a script router, four recognizers and LayoutNet, a joint table and layout model [1]. The recognizers cover Latin, CJK (Chinese, Japanese, Korean), right-to-left scripts such as Arabic and Hebrew, and a world-script model for about 17 more scripts [1][3]. LayoutNet alone has 4.27M parameters and finds tables, rows, columns and spanning cells, and classifies blocks such as headings, lists and captions [1]. The models were distilled from OCRia-1, LlamaIndex’s 4B-parameter document vision-language model, with 1/500th of its parameters [1].
The files are not a standalone model: LiteParse renders each page, runs the models, merges OCR text with the PDF text layer and writes Markdown or JSON with bounding boxes [1]. It runs from the CLI, Python and Node.js on Linux, macOS and Windows, and in browsers and edge runtimes through WebAssembly [1]. The command lit models pull ocria-nano downloads the models and ONNX Runtime, 60-75 MB, after which OCRia-nano-1 is LiteParse’s default OCR backend [1]. A Latin-only browser setup without layout needs 1.5 MB of models [1][3].
Benchmarks, from LlamaIndex
In LlamaIndex’s own tests on a 16-vCPU machine, LiteParse with OCRia-nano-1 scored 59.2 on ParseBench-2, against 55.1 for Indra, 52.5 for Marker and 48.7 for LiteParse with Tesseract [1]. It processed 27.8 pages per second with 16 workers and averaged 426 ms per page on one core, about twice the throughput of the Tesseract setup [1][2]. Indra was slightly faster at 29.6 pages per second [1]. On charts it scored only 3.1, far below the 77.4 of the larger OCRia-1 running on GPUs in LlamaParse [1].
Licence limits
The weights use the OCRia-nano-1 Model License, based on the AI Pubs Open RAIL-M licence [1]. They are free for research, personal use and commercial use by organisations with under $2M in annual revenue and under $2M in total funding [1]. Larger organisations, and any use in a document parsing, OCR or extraction product or service that competes with LlamaParse or LlamaCloud, need a commercial licence [1]. LiteParse itself stays under Apache 2.0 [1].
Sources
Written and checked by AI from the sources below
Fact-checked by gpt-6.1-sol on · Editorial policy



