Back to the blog

OCRia-1: Open Weights That Can Finally Read a Chart

Published Nov 28, 2026Updated Nov 28, 2026Dishant Sharma6 min read

OCRia-1: Open Weights That Can Finally Read a Chart

A parser scored 0.1 on charts. Out of 100.

That number belongs to dots.mocr, a 3B document model, on ParseBench's chart dimension. Surya OCR 2 got 1.2. olmOCR-2 got 13.7.

Then OCRia-1, a 4B vision-language model from LlamaIndex, landed 85.1 on that same evaluation. A 19-point lead over the next-closest model.

That gap says something specific. Not that OCRia is a bit better at reading pages. That most parsers cannot read a chart at all. They see bars and lines and hand back "revenue grew across all segments."

Which is useless if the thing you needed was the number.

The weights went up on Hugging Face. They sit at 165 likes and roughly 1,500 downloads, with 14 points on Hacker News and two comments. One person asked about training energy. One said they would try it because Ollama works.

Quiet reception for a model that leads every table benchmark it entered.

What it actually is

OCRia-1 is a 4B vision-language model fine-tuned from Qwen3.5-4B. It takes one page image and returns the page as Markdown.

No layout detector. No separate OCR engine. No reading of the PDF's own text layer. One call per page, and the text comes from pixels alone.

That last part is deliberate and worth pausing on. Most born-digital PDFs already contain real text. OCRia ignores it.

The model reads the image, not the text layer, because the text layer is often the thing that is broken.

Skewed scans, columns out of order, ligatures, hidden text from a bad export. If you trust the layer you inherit its bugs. Reading the page like a human sees it sidesteps that.

It runs through vLLM, transformers, or the GGUF builds in llama.cpp and Ollama. Rendered at 300 DPI, downscaled to about 4.1 megapixels to match the published numbers.

The catches come fast, though. Every page needs the repo's prompt.txt as the system message and no user text. And you must turn thinking off, because the Qwen3.5 chat template enables it by default and the model then answers in the wrong format.

The tables are the pitch

Dense financial tables are where parsers fall apart, and LlamaIndex clearly built this around that failure.

Nested headers become colspan. Merged cells become rowspan. Irregular grids keep their relationships.

The headline is 92.9 on olmOCR-bench tables and 84.1 on PulseBench-Tab across 1,820 multilingual tables. Both are third-party evaluations, which matters more than a self-reported number.

Benchmark OCRia-1 Next best
ParseBench overall 87.4 75.3
olmOCR-bench tables 92.9 92.1
PulseBench-Tab 84.1 82.4
Charts 85.1 66.1

Look at the table row versus the chart row. On tables it wins by 0.8 over Chandra-OCR-2. On charts it wins by 19.

And that is the shape of the claim. Table parsing is a crowded field that has been getting good. Chart parsing is nearly empty.

Charts get written out as HTML tables of their data points, each value under the right series and label. Judged strictly: a value only counts when it lands in the correct row and column.

The weights you download are not the fast ones

This is the part I wish more people said out loud.

LlamaIndex published a separate post about their inference stack. They went from about 285 tokens per second to roughly 2,800 on a single B200. Nearly 10x.

They got there with mixed-precision quantization (BF16, FP8, NVFP4, and they deliberately left the vision encoder alone to protect accuracy), plus a speculative decoder called DFlash that drafts whole blocks of tokens in one pass.

Now read the Hugging Face card. It says the repository holds the unoptimized BF16 weights, and that the OCRia-1 serving LlamaParse is the same model, quantized and served with a speculative decoder, roughly ten times faster.

The open weights are the slow version of the model.

That is not a trick. It is the normal gap between a research artifact and a product. But your first local run will feel nothing like the demo, and the 10x lives in code you do not get.

Why an agent wants this

Think about what an agent does with a PDF.

It cannot read one. Not really. It either calls a service, or it gets a text dump where the table is now a wall of numbers with no column boundaries.

Both outcomes are bad. The service costs money per page and adds latency to every step. The text dump produces an agent that confidently compares the wrong two numbers.

A page as clean Markdown with real HTML tables fixes the second problem at the source. Structure arrives intact, so the agent reasons over rows and columns instead of guessing which number meant what.

And the formatting detail matters more than it sounds. Strikethrough on a withdrawn clause. A [x] in a form checkbox. A subscript in a chemical formula.

Those are not decoration, they are meaning. OCRia keeps them and writes formulas as LaTeX.

The tiny one is the sleeper

The 4B model needs a GPU. The sibling does not.

OCRia-nano-1 is 8.1M parameters. Not 8 billion. Million. It is distilled from OCRia-1 at 1/500th the size and runs on CPU through LiteParse, in the CLI, Python, Node, and the browser via WebAssembly.

It scores 59.2 on ParseBench-2, ahead of Indra at 55.1 and Marker at 52.5, at 27.8 pages per second on 16 vCPUs. About 426 ms per page on a single core.

A 60 to 75 MB download gets you table detection and layout on a laptop. If you want a browser-side parser or an offline pipeline, that is the one.


Small tangent. PDF is thirty-three years old and still the worst file format in daily use.

It was designed to make a page look the same on every printer. That is a print model, not a data model. The fact that enterprises store financial filings as print artifacts and then pay models to reverse-engineer the numbers back out is genuinely funny if you sit with it.

We built a format that freezes information into ink, then spent a decade teaching machines to thaw it. OCRia is a very good thawing machine. It is not an argument that the format was ever a good idea.

The real talk

Read the license before you build on this.

The Hugging Face tag says license: other, not Apache 2.0 and not MIT. Open weights are not the same as open source. You can download the tensors, but the terms of use are not the permissive default you might assume.

Then check the numbers that matter to you rather than the ones in the post.

ParseBench is LlamaIndex's own benchmark. To their credit it is open source, and the leaderboard includes 61 systems, so it is not a rigged club. But a vendor-authored benchmark with a vendor on top is still worth a second look. The third-party wins on olmOCR-bench tables (92.9 versus 92.1) are the tighter margins.

And if you have a GPU, expect your tokens per second to look nothing like the blog post. You have the reference weights, not the serving stack.

Finally, 1,554 downloads. For a state-of-the-art open model that is low, and it means less community pressure on the bugs. You will be finding the rough edges yourself.

One last thing

The 0.1 number is what I keep returning to.

Somewhere a team shipped a document pipeline that reports "revenue grew across all segments," felt good about the demo, and never noticed that the chart numbers were never read. The output looked like a summary. It was an admission.

Models that score near zero on charts do not fail loudly. They fail in the shape of a plausible sentence.

That is the real case for this thing. Not the leaderboard. The difference between a system that tells you what a page seems to say and one that tells you what is on it.

Related articles