---
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-1

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

# OCRia-1

by llamaindex

LlamaIndex's 4B vision-language model that turns a page image into Markdown, with tables, charts and formatting intact

225likes

4B (Qwen3.5-4B base; 5.17B in BF16 with the vision encoder)params

[HuggingFace](https://huggingface.co/llamaindex/OCRia-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-1`

## Deploy OCRia-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-1 is a 4B vision-language model for document parsing from LlamaIndex, published on Hugging Face on November 13, 2026. It reads one page image and writes the page as Markdown, with tables in HTML, and it targets what parsers most often get wrong: merged cells and spanning headers, tables with thousands of cells, charts whose values have to be read off the plot, and formatting that carries meaning, such as strikethrough, underline, sub- and superscripts and checkboxes. Every chart becomes an HTML table of its data points.

It is fine-tuned from Qwen3.5-4B on 100,979 pages, about 83,000 real pages from permissively licensed sources such as arXiv, PubMed Central, EUR-Lex and government filings, plus about 18,000 synthetic tables, charts and forms, then trained further with reinforcement learning whose rewards check table structure, chart values and formatting. On ParseBench 2 it scores 85.24, the highest open-weight model and seventh of 61 systems, and on ParseBench 1 it scores 84.65, second of 158. The same model, quantized and served with a speculative decoder, runs inside LlamaParse.

The weights are under the OCRia-1 Model and Code 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.

## Architecture

Qwen3.5-4B vision-language model (5.17B parameters in BF16, including the vision encoder), fine-tuned for two epochs on pages of about 1,024 px, then trained with GRPO using rewards for table structure and cell values, chart data points, text and inline formatting, with penalties for split or merged tables, repetition and invented formatting. The released checkpoint is the average of two RL checkpoints. One call per page with a fixed system prompt and thinking off; text comes from the page image alone, with no separate layout detector, OCR engine or PDF text layer. Optional code in the repository adds layout boxes afterwards.

## Mixpeek SDK Integration

IngestRetrieve

\# OCRia-1 is not a managed Mixpeek extractor. Serve it with vLLM, parse each page,
# then upsert the Markdown into a Mixpeek collection.
#   vllm serve llamaindex/OCRia-1 --served-model-name ocria-1 --max-model-len 32768
import base64, requests
from huggingface\_hub import hf\_hub\_download
from openai import OpenAI

prompt = open(hf\_hub\_download("llamaindex/OCRia-1", "prompt.txt")).read()
client = OpenAI(base\_url="http://localhost:8000/v1", api\_key="EMPTY")
page = base64.b64encode(open("10k-page-41.png", "rb").read()).decode()
markdown = client.chat.completions.create(
    model="ocria-1", temperature=0.0, max\_tokens=24576,
    messages=\[{"role": "system", "content": prompt},
              {"role": "user", "content": \[{"type": "image\_url",
                  "image\_url": {"url": f"data:image/png;base64,{page}"}}\]}\],
    extra\_body={"chat\_template\_kwargs": {"enable\_thinking": False}},
).choices\[0\].message.content

requests.post(
    "https://api.mixpeek.com/v1/namespaces/ns\_your\_namespace/documents/upsert",
    headers={"Authorization": "Bearer API\_KEY"},
    json={"collection\_id": "col\_filings",
          "documents": \[{"document\_id": "10k-page-41",
                         "payload": {"source\_file": "10k.pdf", "page": 41,
                                     "text": markdown, "parser": "ocria-1"}}\]},
)

## Capabilities

*   Page image to Markdown, with tables in HTML using colspan and rowspan
*   Charts converted to tables of their data points, each value under its series and label
*   Bold, italic, strikethrough, underline, highlights, sub- and superscripts and checkboxes kept
*   Printed and handwritten formulas written as LaTeX, diagrams as Mermaid
*   Page headers, footers, page numbers and watermarks in their own tags

## Use Cases on Mixpeek

Extracting financial tables with multi-level headers from filings and statements

Reading the numbers out of charts in reports so they can be searched and compared

Parsing contracts and notices where struck-through or underlined text changes the meaning

Running the hardest pages of an archive through a GPU model after a fast CPU pass

## Benchmarks

Dataset

Metric

Score

Source

ParseBench 2

Overall (6 dimensions, 4,317 pages)

85.24

OCRia-1 model card; 7th of 61 systems, 1st of 23 open-weight; KDL-Frontier-Parser-nano-v2 80.13, Infinity-Parser2-Pro 78.50

ParseBench 2

Charts

77.63

OCRia-1 model card; KDL-Frontier-Parser-nano-v2 73.55, LightOnOCR-3-4B 62.90

ParseBench 1

Overall (5 dimensions, 2,078 pages)

84.65

OCRia-1 model card; 2nd of 158 systems; KDL-Frontier-Parser-nano-v2 79.03

olmOCR-bench

Tables and formulas (mean of 3 categories)

90.5

OCRia-1 technical report; Infinity-Parser2-Pro 90.2, LightOnOCR-3-4B 90.1

fr-bench-pdf2md

Score

72.1

OCRia-1 technical report; LightOnOCR-3-4B 71.4, Chandra-OCR-2 65.5

## Performance

Input SizeOne page image per call; up to 24,576 output tokens per page

GPU LatencyAbout 320 to 330 tokens per second for a single page on stock vLLM (BF16 weights)

GPU Throughput10.2 pages per second at 64 concurrent requests on one B200 (LlamaParse's quantized stack)

GPU MemoryModel dependent

LlamaIndex's numbers. The throughput figure is for its optimized serving stack (NVFP4 and FP8 quantization, a speculative decoder and custom kernels), about nine times faster than these BF16 weights. ParseBench is maintained by LlamaIndex; olmOCR-bench, PulseBench-Tab and fr-bench-pdf2md are independent. We have not measured it ourselves.

## Common Pipeline Companions

[

llamaindex/OCRia-nano-1

Its 8.1M-parameter CPU distillation, for a fast first pass that sends only hard pages to OCRia-1

](/model/llamaindex/OCRia-nano-1)[

intfloat/multilingual-e5-large-instruct

A text embedding model for searching the parsed Markdown by meaning

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

## Frequently Asked Questions

### What is OCRia-1?

A 4B vision-language model from LlamaIndex, published November 13, 2026, that reads a document page image and writes it as Markdown with tables in HTML. It is fine-tuned from Qwen3.5-4B for dense tables, charts, formatting and formulas, and it is the model that serves LlamaParse.

### How accurate is OCRia-1 at parsing PDFs?

LlamaIndex reports 85.24 on ParseBench 2, the highest open-weight score and seventh of 61 systems including commercial APIs, and 84.65 on ParseBench 1, second of 158. On the independent olmOCR-bench table and formula categories it averages 90.5, against 90.2 for Infinity-Parser2-Pro (35B). ParseBench itself is maintained by LlamaIndex.

### Can OCRia-1 extract data from charts?

Yes. It writes every chart as an HTML table of its data points, with each value under its series and label. It scores 77.63 on ParseBench 2 charts, against 73.55 for the next open-weight model, and 82.47 on ParseBench 1 charts.

### Can I use OCRia-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. You can also use it through LlamaParse. You own your outputs.

### What is the difference between OCRia-1 and OCRia-nano-1?

OCRia-1 is a 4B GPU vision-language model that reads the whole page image. OCRia-nano-1 is an 8.1M-parameter pipeline distilled from it that runs on a CPU inside LiteParse at 27.8 pages per second on 16 vCPUs. OCRia-1 scores 85.24 on ParseBench 2 and OCRia-nano-1 59.2, so a common setup parses everything with nano and re-parses the hard pages with OCRia-1.

## 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\-

Parameters4B (Qwen3.5-4B base; 5.17B in BF16 with the vision encoder)

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

Downloads/moN/A

Likes225

[

### Research Paper

OCRia-1 Technical Report

arxiv.org](https://arxiv.org/abs/2611.00092)

### Build a pipeline with OCRia-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)