---
agent:
  instructions: "Use this search API to find relevant content across this site with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown."
  endpoint: "https://mixpeek.com/.well-known/search?q={query}"
  method: GET
  documentation: "https://mixpeek.com/llms.txt"
---

[Models](/models)/llamaindex/OCRia-nano-1

OCRia-nano-1 Model License (Open RAIL-M based; commercial license above $2M revenue or funding)

# OCRia-nano-1

by llamaindex

LlamaIndex's 8.1M-parameter document parser that reads scanned PDFs, tables and layout on a CPU

418likes

8.1M (3.9M OCR stack plus 4.27M LayoutNet)params

[HuggingFace](https://huggingface.co/llamaindex/OCRia-nano-1)[Run it on your own data, free](https://studio.mixpeek.com/namespaces/create?mode=managed&utm_source=homepage&utm_medium=model_page&utm_campaign=mvs_onramp)

Identifiers

Model ID

`llamaindex/OCRia-nano-1`

## Deploy OCRia-nano-1

Single-tenant

Mixpeek has no managed extractor for this model. On a single-tenant deployment you upload the weights and a custom plugin serves them next to the rest of your pipeline.

[Read the customer-hosted guide](https://mixpeek.com/docs/customer-hosted/overview) [Talk to us about single-tenant](/demo)

## Overview

OCRia-nano-1 is a document parsing pipeline from LlamaIndex, released on Hugging Face on November 3, 2026. It is 8.1 million parameters in total, distilled from OCRia-1, LlamaIndex's 4B document vision-language model, and it runs on a CPU inside LiteParse, the open-source local parser. It turns PDFs, images and Office files into Markdown or JSON with tables, headings, lists and bounding boxes.

The pipeline is a text-line detector, a router that sends each line to one of four recognizers (Latin, CJK, right-to-left, and a model for about 17 more scripts), and LayoutNet, a small transformer that finds table rows, columns and spanning header cells and classifies 13 kinds of layout block. LiteParse merges the OCR text with the PDF's own text layer, so digital pages keep their original characters. On ParseBench-2 it scores 59.2, ahead of the CPU parsers Indra (55.1) and Marker (52.5), at 27.8 pages per second on 16 vCPUs.

The weights are under the OCRia-nano-1 Model License, based on Open RAIL-M. They are free for research, personal use and commercial use by organizations under $2M in annual revenue and $2M in total funding. Larger companies need a commercial license, as does any document parsing or OCR product that competes with LlamaParse or LlamaCloud. LiteParse itself is Apache 2.0.

## Architecture

Seven ONNX models run by LiteParse: a depthwise-separable line detector (0.08M), a script router that also catches upside-down lines (0.04M), four CTC recognizers for Latin (0.80M, int8, 791 characters), world scripts (0.98M), Arabic and Hebrew (0.71M) and CJK (1.27M), and LayoutNet (4.27M), a 6-layer transformer over text units with a CNN image branch that predicts table, row, column, cell and layout-block relations. The OCR stack is 3.9M parameters. Pages render at 250 DPI by default. ONNX Runtime runs it natively and tract runs it in WebAssembly.

## Mixpeek SDK Integration

IngestRetrieve

\# OCRia-nano-1 runs inside LiteParse (pip install liteparse), not as a managed extractor.
# Parse each PDF on your own machine, then upsert the Markdown into a Mixpeek collection.
import requests
from liteparse import LiteParse, models

models.pull("ocria-nano")  # once: the models and ONNX Runtime, 60 to 75 MB
parser = LiteParse(ocr\_backend="ocria-nano", output\_format="markdown")
result = parser.parse("contract-0193.pdf")

requests.post(
    "https://api.mixpeek.com/v1/namespaces/ns\_your\_namespace/documents/upsert",
    headers={"Authorization": "Bearer API\_KEY"},
    json={"collection\_id": "col\_contracts",
          "documents": \[{"document\_id": "contract-0193",
                         "payload": {"source\_file": "contract-0193.pdf",
                                     "text": result.text,
                                     "parser": "liteparse+ocria-nano-1"}}\]},
)

## Capabilities

*   Scanned and born-digital PDFs, images and Office files to Markdown, text or JSON
*   Tables as Markdown, or HTML with colspan and rowspan for spanning cells
*   Headings, lists, captions and page headers and footers from 13 layout classes
*   Words and lines with bounding boxes and OCR confidence in the JSON output
*   Runs on CPU from the CLI, Python, Node.js and the browser through WebAssembly

## Use Cases on Mixpeek

Parsing scanned contracts, invoices and reports on your own machines, with no per-page API fee

Extracting tables from born-digital and scanned PDFs before chunking them for search or RAG

Running OCR in the browser or at the edge, where a GPU model cannot go

A fast first pass over a large archive, sending only the hardest pages to a larger model

## Benchmarks

Dataset

Metric

Score

Source

ParseBench-2

Overall score

59.2

OCRia-nano-1 technical report; Indra 1.1.2 55.1, Marker 2.2.0 52.5, LiteParse with Tesseract 48.7

ParseBench-2

Tables

59.5

OCRia-nano-1 technical report; Indra 47.6, Marker 43.6

OmniParseBench

Score

74.8

OCRia-nano-1 technical report; Indra 70.9, Marker 69.8

olmOCR-bench

Score

60.9

OCRia-nano-1 technical report; Indra and Marker 60.8

BHL IMPACT

Character error rate (lower is better)

0.048

OCRia-nano-1 technical report; Indra 0.062, Marker 0.067

## Performance

Input SizePDF, image or Office pages, rendered at 250 DPI for OCR by default

GPU Latency426 ms per page on one core (P90 862 ms)

GPU Throughput27.8 pages per second on 16 vCPUs

GPU MemoryModel dependent

LlamaIndex's numbers, measured on a 16-vCPU container with one worker per core over 300 random ParseBench pages. In WebAssembly it runs on one thread at about 1 to 4 seconds per scanned page on a laptop. We have not measured it ourselves.

## Common Pipeline Companions

[

deepseek-ai/DeepSeek-OCR-2

A GPU vision-language OCR model for the pages a CPU pass reads poorly, such as handwriting and dense charts

](/model/deepseek-ai/DeepSeek-OCR-2)[

intfloat/multilingual-e5-large-instruct

A multilingual text embedding model for searching the parsed Markdown by meaning

](/model/intfloat/multilingual-e5-large-instruct)

## Frequently Asked Questions

### What is OCRia-nano-1?

A document parsing pipeline from LlamaIndex, released November 3, 2026: 8.1M parameters of OCR and layout models distilled from OCRia-1, its 4B document VLM, at 1/500th the size. It runs on a CPU inside the open-source LiteParse parser and writes Markdown or JSON with tables, headings and bounding boxes.

### How accurate is OCRia-nano-1?

LlamaIndex reports 59.2 on ParseBench-2, against 55.1 for Indra 1.1.2, 52.5 for Marker 2.2.0 and 48.7 for LiteParse with Tesseract, and 59.5 on its tables dimension against 47.6 for Indra. Its GPU teacher, OCRia-1 in LlamaParse, scores 87.0, so hard pages still benefit from a larger model.

### Can I use OCRia-nano-1 commercially?

Free commercial use covers organizations under $2M in annual revenue and under $2M in total funding. Above either threshold you need a commercial license from LlamaIndex, and so does any document parsing, OCR or extraction product that competes with LlamaParse or LlamaCloud. LiteParse, the code that runs it, is Apache 2.0, and you own your outputs.

### How fast is OCRia-nano-1 on a CPU?

27.8 pages per second on 16 vCPUs and 426 ms per page on one core, about twice as fast as LiteParse with Tesseract, by LlamaIndex's measurements. Without LayoutNet the OCR alone reaches 37.2 pages per second. In the browser it takes about 1 to 4 seconds per scanned page.

### How do I use OCRia-nano-1 with Mixpeek?

Parse each file with LiteParse on your own machines, then upsert the Markdown into a Mixpeek collection through POST /v1/namespaces/{namespace\_id}/documents/upsert, keeping the source file name in the payload. A retriever then searches the text by meaning next to the images, video and audio in the same namespace. See \[best PDF extraction tools\](/curated-lists/best-pdf-extraction-tools) for how it compares with hosted parsers.

## Explore on Mixpeek

[

Browse all models

Search the full model catalog

](/models)[

Feature Extractors

See how Mixpeek runs models as extractors

](/extractors)[

Mixpeek Vector Store

Store & search embeddings at scale

](/mvs)[

Pricing

Usage-based pricing for pipelines

](/pricing)[

All Curated Lists

Compare models, APIs & infrastructure

](/curated-lists)

### Specification

Organizationllamaindex

Retriever\-

Parameters8.1M (3.9M OCR stack plus 4.27M LayoutNet)

LicenseOCRia-nano-1 Model License (Open RAIL-M based; commercial license above $2M revenue or funding)

Downloads/moN/A

Likes418

[

### Research Paper

OCRia-nano-1: distilling a 4B document VLM into an 8.1M-parameter CPU pipeline

arxiv.org](https://www.llamaindex.ai/ocria/ocria-nano-1-report.pdf)

### Build a pipeline with OCRia-nano-1

Add this model to a processing pipeline alongside other extractors. Combine with retrieval stages for end-to-end search.

[Run it on your own data, free](https://studio.mixpeek.com/namespaces/create?mode=managed&utm_source=homepage&utm_medium=model_page&utm_campaign=mvs_onramp)