Overview
Document parsing teams share a familiar experience: the good options mostly run on GPUs. A document model with tens of billions of parameters reads a scanned page into structured content convincingly, but it wants a card sitting there, and cost gets hard to hold once volume climbs. To run on ordinary servers, edge boxes or even in a browser, teams fall back to classic OCR, which gives up ground on layout, tables and formatting.
OCRia-nano-1, released by LlamaIndex in November 2026, takes the distillation path. It uses the in-house 4B document vision-language model OCRia-1 as teacher, compresses the capability into an 8.1M-parameter pipeline at one five-hundredth of the teacher's size, and runs entirely on CPU. Weights ship as ONNX on Hugging Face, inference runs on ONNX Runtime, and the stack also builds to WebAssembly.
One point needs stating plainly: this is not a standalone model you install and run. The model card says these are the model files LiteParse calls, without an inference script of their own. Putting it to work means pairing it with the LiteParse parser. LiteParse itself is Apache 2.0 while the weights carry a separate license.
The 8.1M breaks down by component. Line detection is 0.08M. Deciding which script each line uses, and flagging upside-down lines, takes 0.04M. Recognizers split four ways by script: Latin at 0.80M supporting 791 characters, world scripts at 0.98M covering about 17 writing systems, right-to-left at 0.71M for Arabic and Hebrew, and CJK at 1.27M. LayoutNet adds 4.27M with a six-layer transformer over text units plus a CNN image branch, handling table, row, column, cell and layout-block relations across 13 layout classes. Without LayoutNet, the OCR stack alone is 3.9M.
Speed is the headline. On a 16 vCPU machine with one worker per core, averaged across five hosts, LiteParse with OCRia-nano-1 reaches 27.8 pages per second, or 426 milliseconds per page on a single core with a P90 of 862 milliseconds. Under the same conditions LiteParse with Tesseract gets 14.2 pages per second at 751 milliseconds per page, Marker 2.2.0 in fast mode reaches 24.7 and Indra 1.1.2 reaches 29.6. Running OCR without LayoutNet lifts throughput to 37.2 pages per second. Compiled to WebAssembly on a single thread, a scanned page takes roughly 1 to 4 seconds on a laptop.
Quality leads the CPU field. ParseBench-2 comes in at 59.2 against 48.7 for Tesseract, 52.5 for Marker and 55.1 for Indra. OmniParseBench is 74.8, ParseBench-1 is 52.7, olmOCR-bench is 60.9, and BHL character error rate is 0.048. On the ParseBench-2 breakdown, text scores 68.5, formatting 82.2, tables 59.5, layout 72.4 and forms 69.8, while charts land at 3.1. Set against the teacher OCRia-1 at 87.0 on GPU, the gap concentrates in tables and charts, the places that call for interpreting a figure.
Watch the license. OCRia-nano-1 Model License builds on AI Pubs Open RAIL-M. Academic and nonprofit research, teaching, evaluation and personal use are free. Commercial use is cleared below 2 million dollars in annual revenue and 2 million dollars in total funding. Above that line, or at any size when building a parsing product that competes with LlamaParse or LlamaCloud, a separate commercial license is required. LiteParse is Apache 2.0, ONNX Runtime is MIT, and users own their outputs.
Its place is clear: high volume, modest need for chart understanding, and no appetite for paying GPU cost on every parse. Invoices, contracts, scanned official documents and books, all text and table heavy, can take it as a first parsing pass at very low cost. A research report packed with charts still belongs to the GPU document model.
Key Features
- 8.1M parameters on CPU: Distilled from the 4B OCRia-1 at one five-hundredth the size, running ONNX weights on CPU and also in WebAssembly
- Four script recognizers: A per-line router sends text to Latin at 0.80M, world scripts at 0.98M, right-to-left at 0.71M and CJK at 1.27M, detecting language automatically
- LayoutNet layout model: A 4.27M six-layer transformer with a CNN image branch recognizes 13 layout classes across tables, rows, columns, cells and layout blocks
- 27.8 pages per second: 426 milliseconds per page on one core in a 16 vCPU setup with P90 at 862 milliseconds, rising to 37.2 pages per second without the layout model
- Scanned and born-digital pages: Handles PDFs, images and Office documents through LiteParse, covering both scanned pages and native digital ones
- 60 to 75 MB download: Models plus ONNX Runtime, with a WebAssembly build that trims the models to 1.5 MB
Use Cases
- Batch parsing invoices, contracts and official documents on ordinary cloud servers without holding a GPU
- Turning scanned books and archives into structured text, including historical collections like BHL
- Running local document parsing in a browser or on an edge device so data stays on the endpoint
- Handling mixed-language documents that need automatic script routing
- Front-loading a GPU parsing pipeline with a cheap first pass that decides what gets escalated
Pros
- 8.1M parameters reach 27.8 pages per second on CPU, close to double the Tesseract setup
- ParseBench-2 of 59.2 puts it at the front of CPU parsing options
- Four recognizers with automatic routing remove the need to declare a language up front
- ONNX weights plus WebAssembly support land it on laptops and in browsers
- LiteParse itself is Apache 2.0 and users own their outputs
Pricing
Weights download free from Hugging Face. The license is the OCRia-nano-1 Model License, built on AI Pubs Open RAIL-M: academic and nonprofit research, teaching, evaluation and personal use are free, and organizations under 2 million dollars in annual revenue and total funding may use it commercially. Above that line, or at any size when building a parsing product competing with LlamaParse or LlamaCloud, a commercial license is required. LiteParse is Apache 2.0 and ONNX Runtime is MIT.
Summary
LlamaIndex distilled the 4B document vision model OCRia-1 into an 8.1M-parameter CPU pipeline that reaches 27.8 pages per second on 16 vCPUs through LiteParse and scores 59.2 on ParseBench-2, close to double the Tesseract setup with a higher score. It is not a standalone model but ONNX weights for LiteParse, with commercial terms drawing the line at 2 million dollars in annual revenue.
Version History
- OCRia-nano-1 brings 8.1M-parameter CPU parsing (2026-11-28): LlamaIndex released OCRia-nano-1, distilling the 4B OCRia-1 into an 8.1M-parameter CPU pipeline with four script recognizers and a 13-class LayoutNet, reaching 27.8 pages per second on 16 vCPUs through LiteParse and scoring 59.2 on ParseBench-2