← All posts

OCRia-1: is it free, and how to run it in Ollama

2026-11-28 · 4 min read

OCRia-1 is free for personal use, research, and commercial use by companies that made under $2 million last year and have raised under $2 million in funding. LlamaIndex released the weights on November 24, and you can run the 4B model on your own computer with one command: ollama run llamaindex/ocria-1 --think=false ./page.png.

The posts behind it

The model itself has been around since October 22, when LlamaIndex put it inside LlamaParse, its hosted parsing service. This week it became something you can download. @llama_index announced the weights on Hugging Face and Ollama on Tuesday, describing a "4B model for complex tables, charts and difficult scans." The same post recapped a month of releases, including OCRia-nano-1, a set of tiny models that parse documents on a CPU.

@hexapode, Pierre-Loic Doulcet of the LlamaIndex team, explained the split. Nano is built for speed on ordinary processors, and OCRia-1 is built for accuracy on hard documents. He added that it lands "just behind Gemini 4 argon on Parsebench-2." The model card puts it 7th of 61 systems on that benchmark and first of the 23 open-weight entries. LlamaIndex maintains ParseBench, though, and ran these scores itself.

What it does

You give OCRia-1 an image of one page and it writes the page back as Markdown. Tables come out as HTML that keeps merged cells, charts are turned into data tables, diagrams become Mermaid code, and formulas become LaTeX. Page headers, footers and page numbers get their own tags, so you can drop them before the text goes into a spreadsheet or a search index.

It's a fine-tune of Qwen3.5-4B. LlamaIndex's launch post says it's strongest on tables with nested headers, on charts, and on formatting like checkboxes and strikethrough, and names financial statements, insurance filings and tax forms as the documents it was built for.

Version Size Runs on Best for
OCRia-1 q8_0 (default) 5.8 GB Linux, Windows, macOS Complex tables, charts, handwriting, bad scans
OCRia-1 bf16 / bf16-mlx 10.4 GB Same; the MLX build is Apple Silicon only Same, at full precision
OCRia-nano-1 8.1M parameters A plain CPU, about 426 ms per page on one core Digital reports, simple invoices, routine scans

How to run it

These steps come from the Ollama page:

  1. Install Ollama 0.40.18 or later.
  2. Turn PDFs into images first, because Ollama only accepts images. The page recommends 300 DPI, one page per request. PyMuPDF does this with page.get_pixmap(dpi=300).
  3. Run ollama run llamaindex/ocria-1 --think=false ./page.png. Leave thinking off. With it on, the model answers in the wrong format.
  4. Don't write your own prompt. The model has a built-in transcription prompt, and the card warns that other prompts change the output.
  5. If the answer stops partway (the API reports done_reason as length), raise num_ctx and num_predict. A 300 DPI page takes about 8,000 image tokens on its own.

For batches on a GPU server, the card gives a vLLM command: vllm serve llamaindex/OCRia-1 --served-model-name ocria-1 --max-model-len 32768 --limit-mm-per-prompt '{"image": 1}'. For plain office PDFs on a laptop with no GPU, nano is simpler: pip install liteparse, then lit models pull ocria-nano and lit parse doc.pdf --format markdown.

Pull from the official llamaindex account, not a re-upload. Our post on GGUF malware on Hugging Face shows what can be hidden in a copied model file.

My read

The catch is the license. Two other small document models we covered, Unlimited OCR 2 under MIT and Xiaomi-OCR-0 under Apache 2.0, have no revenue limits, and OCRia-1 does. Once your company passes $2 million in revenue or $2 million in funding, you need a commercial license from LlamaIndex. No company of any size can use it in a parsing or OCR product that competes with LlamaParse. A ten-person bookkeeping firm is probably fine. A growing one should read the terms now, before a workflow is built around the model.

Even with those strings, I like having a local model that handles merged cells and scanned forms. Bank statements and tax forms stay in your office, and nobody bills you per page. I would test it against twenty of your own worst documents before trusting a benchmark the vendor wrote.

What this means for businesses

A lot of small-business admin is still somebody retyping numbers from a PDF into a spreadsheet. Models like this one make it cheaper to automate that step, but deciding which documents to automate and checking the output still takes work. If you want help working out where document intake is costing your team hours, New Face Design offers a free process audit.

08 / Start here

Which of this can you use today?

Tell us what you use today and we'll reply within one business day with what it would take. Free, 20 minutes, no pitch deck.

Email

pgorski@newfacedesign.com

Phone

+1 (773) 627-2176

Based in

Chicago area

Working with clients everywhere

Skip the form: grab a 20 minute slot.

Open the calendar →