All posts

    Essay

    LlamaIndex's OCRia-nano-1: an 8.1M-parameter document parser for CPUs

    OCRia-nano-1 parses a page in 426 ms on one CPU core. Its benchmark numbers, its revenue-capped license, and where it fits as a document agent's first pass.

    2 min read
    LlamaIndex released open weights this week for OCRia-nano-1, a document parser with 8.1 million parameters in total that reads a page in 426 ms on a single CPU core. It's cheap enough to run on every page an agent ingests, and its license makes it a funnel toward LlamaIndex's paid parsers. It's seven small models working as one pipeline: a line detector, a script router, four text recognizers covering Latin, CJK, right-to-left and about 17 other scripts, and a 4.27M-parameter LayoutNet that rebuilds tables and page layout. LlamaIndex distilled it from OCRia-1, the 4B-parameter model behind LlamaParse. On ParseBench-2 it scores 59.2 against 52.5 for Marker and 48.7 for LiteParse with Tesseract, and it parses 27.8 pages a second on 16 vCPUs, about twice Tesseract's throughput. For digital PDFs it reads the existing text layer first and only runs OCR where that layer is missing. The weights are free for personal use and for companies under $2M in annual revenue and under $2M in total funding, and any product that competes with LlamaParse needs a commercial license at any size. A startup that raises a seed round above $2M loses the free tier, so for many funded teams Nano is a trial. I think it's a smart funnel for LlamaIndex, which gets Nano into ingestion pipelines for free and then sells OCRia-1 and LlamaParse for the pages Nano can't handle. For an agent that reads uploaded files, I'd run Nano on every page as the first pass. Its JSON output carries an OCR confidence for each line, so pages with low-confidence lines would go to a vision model, along with every chart, since Nano keeps charts as images. For invoices and statements I'd also recompute each table's totals and send any table whose rows don't add up to the bigger model. Parsed tables need that kind of check before an agent acts on them. That way the GPU bill only goes on the pages that need it. Sources: LlamaIndex's launch post (https://www.llamaindex.ai/blog/introducing-ocria-nano-1) and the model card (https://huggingface.co/llamaindex/OCRia-nano-1).
    Document AIOCRAI agentsOpen weights