OCRia-1-GGUF Vision-Language Model: 8GB+ VRAM

November 28, 2026

OCRia-1-GGUF Vision-Language Model: 8GB+ VRAM

At a Glance

Item Value
Repository llamaindex/OCRia-1-GGUF
Family guide Qwen3.5 guide (10 articles)
Publisher guide Alibaba (Qwen): models and licenses
Published 2026-11-25
License ocria-1-license
Formats GGUF
Source type Primary source (the publisher itself)

Values determined by this site’s code when the information was collected. Dates are JST.

What we checked ourselves

  • It needs about 21% fewer tokens than the Qwen3 tokenizer for the same Japanese text, so about 1.26× as much Japanese fits in the same context length, and generation is faster per character.

Details and conditions are in “Our Own Measurements” below.

Overview

LlamaIndex has released llamaindex/OCRia-1-GGUF, a GGUF format conversion of its proprietary document analysis model, “OCRia-1". The conversion was performed by LlamaIndex itself, and the distributed files include the Q8_0 version, the BF16 version, and the image encoder (mmproj). It can be run on Linux, Windows, and macOS using llama.cpp and Ollama.

The base model, OCRia-1, is a 4B Vision-Language model that reads page images and outputs tables formatted as HTML within Markdown. According to the model card, it is designed to accurately handle content that document parsers frequently misinterpret, such as tables with cell spans or multi-level headers, charts requiring value extraction from plots, and meaningful formatting like strikethroughs, underlines, superscripts/subscripts, and checkboxes.

Note that a 4-bit version has not been released. According to tests by the publishers, while Q4_K_M achieved comparable average scores overall, it dropped by 6.3 points on financial tables and 4.8 points on insurance application tables compared to the base model, and instances where generation failed to stop before reaching the output limit increased (6 pages versus 4 pages).

Specifications

  • Parameters: 4B
  • Architecture: Qwen3_5ForConditionalGeneration (tracing back, the base model is Qwen/Qwen3.5-4B-Base)
  • Context Length: Set to 32k in the included Modelfile, and usage at 32k is recommended (it is reported that image tokens take up to about 8k and output takes up to about 24k tokens on heavy pages)
  • Input: 1 page per request, rendering at 300 DPI is recommended. The image encoder accepts images up to 16.7 million pixels

Performance

First, regarding the quality of the GGUF version. Results from 301 pages extracted from ParseBench 2 by the publishers compare the base model running on vLLM and the GGUF version running on llama.cpp’s llama-server under identical conditions.

Dimension OCRia-1 (vLLM) BF16 GGUF Q8_0 GGUF
Text 90.53 93.09 93.09
Formatting 89.81 90.13 89.98
Tables 88.50 89.26 88.89
Charts 75.86 73.42 73.83
Forms 83.10 81.93 83.06
Mean 85.56 85.57 85.77

On average, the GGUF version scores almost identically to the base model. Charts score about 2 points lower than the base model, but the publishers explain that since there are 25 pages per subset, individual items fluctuate by a few points per run, falling within the range of sampling error.

Next is the performance of the base model. The comparison table from ParseBench 2 is reproduced below using the numbers from the model card.

→ Scroll horizontally to see all columns

Model Overall Text Formatting Tables Charts Visual grounding Forms
Infinity-Parser2-Pro (35B) 78.50 85.55 78.70 86.27 55.64 87.04 77.79
LightOnOCR-3-4B 78.39 84.30 81.44 78.25 62.90 84.25 79.19
Chandra-OCR-2 (4B) 77.54 77.18 88.80 85.60 62.48 72.44 78.73
dots.mocr (3B) 64.14 86.29 80.63 83.40 0.78 67.88 65.83
Surya OCR 2 (0.7B) 68.97 84.91 86.32 72.40 20.68 71.37 78.11
Mistral OCR 4.1 (annotation) 73.96 84.44 81.91 81.89 29.83 85.93 79.78
KDL-Frontier-Parser-nano-v2 80.13 80.21 84.58 80.54 73.55 88.28 73.60
OCRia-1 (4B) 85.24 87.87 91.59 86.28 77.63 85.96 82.09

In this table, OCRia-1 achieves the highest scores in almost all categories, including Overall. Particularly for Charts, it shows a significant lead at 77.63, while other 4B-class models remain in the 62-point range. Meanwhile, Tables is roughly tied with the 35B Infinity-Parser2-Pro (86.27), and Visual grounding trails KDL-Frontier-Parser-nano-v2 (88.28) and Infinity-Parser2-Pro (87.04). According to the model card, it ranks 7th overall on ParseBench 2 (out of 61 systems) and 1st among open-weight models (out of 23 models).

Regarding other benchmarks, the model card provides the following comparisons (figures are based on measurements by the publishers and have not been independently verified).

Model olmOCR-bench¹ PulseBench-Tab fr-bench-pdf2md
Infinity-Parser2-Pro (35B) 90.2 82 54.9
LightOnOCR-3-4B 90.1 82 71.4
olmOCR-2 (7B) 83.1 80 56.9
Chandra-OCR-2 (4B) 89.4 80 65.5
dots.mocr (3B) 87.4 82 56.8
Surya OCR 2 (0.7B) 85.4 71 50.9
LightOnOCR-2-1B 88.1 81 53.5
Mistral OCR 4.1 80.3 75 54.1
OCRia-1 (4B) 90.5 84 72.1

On olmOCR-bench and fr-bench-pdf2md, the difference with LightOnOCR-3-4B (90.1, 71.4) is razor-thin at 0.4 and 0.7 points, respectively. On PulseBench-Tab, OCRia-1 takes the lead by a 2-point margin.

Strengths and Use Cases

Its strong areas are identical to those of the base OCRia-1 model. The GGUF version card details only the quantization steps and directs users to refer to the base model card for use cases. The base model card lists the following areas as its strengths:

  • Tables: Multi-level headers, cell merging represented via colspan / rowspan, irregular grids, and long financial tables.
  • Charts: Converts any chart into an HTML table with lined-up data points. In the card’s example, a 5-year, 3-series line chart is transcribed into a table of 15 data points.
  • Formatting and Math: Preserves bold, italic, strikethrough, underline, highlight, checkboxes, and input fields. Mathematical formulas, including handwritten ones, are output in LaTeX.
  • Page Structure: Separates headers, footers, page numbers, and watermarks with dedicated tags. Column layouts are normalized to a single column, and diagrams and flowcharts are exported in Mermaid.

Text is read solely from page images. It does not use layout detectors, OCR engines, or PDF text layers. Consequently, it is well-suited for converting document types rich in tables and graphs—such as scanned invoices, financial statements, and insurance documents—into Markdown optimized for RAG. The language tag associated is en. Example cards also include transcriptions of handwritten Czech notes.

Keep the following points in mind when using it:

  • A single request can only process one page. Multi-page document handling is reportedly managed on the LlamaIndex LlamaParse side.
  • Ensure thinking is turned off. The Qwen3.5 chat template has thinking enabled by default, which is reported to break the output format if left on.
  • Use the included prompt.txt as-is for the system prompt. Using other prompts is reported to alter the output format.

The base model repository also includes an experimental feature for adding layout boxes. However, this feature requires Transformers and a GPU, and cannot be used with the GGUF version alone.

How It Differs from Similar Models

Our previous article “Qwen3.5-4B-GGUF" VLM Model: Example Outputs and Required VRAM from 4GB introduced the general-purpose Qwen3.5-4B, which can input images and video alongside text generation. Although OCRia-1 is also based on the Qwen3.5 family, its use case is strictly narrowed down to transcribing page images into Markdown. For conversation or general image understanding, the original Qwen3.5-4B is more suitable. OCRia-1 provides a clear reason to choose it when you need to faithfully structure tables and graphs.

Hardware Requirements

Estimated requirements (calculated by Local Model Watch) — 5.2B parameters (taken from the base model llamaindex/OCRia-1)

Your VRAM Quantization File size Est. memory needed
8GB (RTX 4060 / 3060 Ti, etc.) Q8_0 4.8GB 5.8GB
12GB (RTX 4070 / 3060 12GB, etc.) BF16 9.0GB 10.8GB

Memory estimates add a 20% runtime overhead (KV cache, etc.) to the actual size of the distributed files. Actual usage varies with context length, batch size and inference engine. These figures are computed by this site from file sizes, not published by the model’s authors. Compare with other models in our VRAM quick reference. What the quantization names mean: glossary.

Can You Run It Locally?

Runs in Ollama, LM Studio and llama.cpp as-is.

It is distributed in GGUF, so no conversion is needed.

License — ocria-1-license: A custom license from the publisher. Check the original terms directly, including whether commercial use is permitted.

Compression: the Q8_0 build measures 7.97 bits per weight — about 50% the size of the original 16-bit weights, calculated by this site from the actual file sizes.

Compiled by this site’s code from the published formats, converted builds we have found, and each engine’s own model registry. “Not found" means we have not seen such a build, not that none exists. License summaries are not legal advice — check the publisher’s original terms before relying on them.

Our Own Measurements

Values we checked ourselves on our server (no GPU) by actually reading this model’s files, without running the model — not figures copied from the model card. How we measure, and the results for every model: Our Measurements.

Measurements We Did Not Take

We have not confirmed that this site meets the commercial-use terms of this model’s license (ocria-1-license). Because this site carries advertising, we did not run the model (no CPU run, answers, quantization comparison, conversion or generation). Only values we checked without running the model, such as token counts and the GGUF header, are shown.

Japanese Token Efficiency

Tokenizer Tokens per 1,000 Japanese characters Ratio to the same text in English
This model 546 0.99×
Qwen3 688 1.26×
Llama 3.2 744 1.36×
Gemma 3 564 1.03×
gpt-oss 795 1.45×
LLM-jp-3 497 0.85×

It needs about 21% fewer tokens than the Qwen3 tokenizer for the same Japanese text, so about 1.26× as much Japanese fits in the same context length, and generation is faster per character.

Counted with the tokenizer.json of llamaindex/OCRia-1 on a fixed text we wrote ourselves (876 Japanese characters across news, conversation, technical docs, a formal email, travel writing and a recipe) and its English translation. Fewer tokens mean more Japanese fits in the context window.

Inside the GGUF File

File: OCRia-1-Q8_0.gguf (4.80GB, Q8_0). We read only the header (metadata) of the file, not the weights.

Item Value
Architecture (as named in the GGUF) qwen35
Maximum trained context length 262,144 tokens
Layers 32
Vocabulary size 248,320
Chat template Included (mentions tool calls, has a thinking switch)
imatrix Not recorded in the file
Weight types (share of parameters) Q8_0 100.0% / F32 0.0%
Average bits per weight 8.50 bits
Embedding / output layer type Q8_0 / Q8_0

The quant name in the file name describes the file as a whole; in practice layers mix several types. The average bits per weight is the measured file data divided by the number of weights.

Recent Models in the Same Size Class

Models with 4–15B parameters that Local Model Watch covered recently, listed by code from our article log for comparison. VRAM tiers are this site’s estimates; licenses are as stated on the model cards.

→ Scroll horizontally to see all columns

Model Parameters Smallest VRAM tier License Our article
tencent/WePocketModel1.0-4B-MLX 4.5B 12GB apache-2.0 Tencent Releases WePocketModel1.0-4B-MLX for Apple Silicon (2026-11-25)
tencent/Youtu-Parsing-Omni 5.3B 12GB youtu-parsing Youtu-Parsing-Omni Omnimodal Analysis Model: 12GB+ VRAM (2026-11-17)
nvidia/Muse-Spark-Open-816B-A42B-DFlash2 4.4B 12GB nvidia-open-model-agreement-license Muse-Spark-Open-816B-A42B-DFlash2 Vision-Language Model: 12GB+ VRAM (2026-11-17)
tencent/WeVisOne-VL-4B 4.8B 4GB apache-2.0 Tencent Releases WeVisOne-VL Vision Language Models (2026-11-17)
inclusionAI/ZwZ2-9B-GGUF 9.4B 8GB apache-2.0 ZwZ2-9B-GGUF Vision-Language Model: Our Test Answers, 8GB+ VRAM (2026-11-17)

How to Get It

It is distributed in GGUF format across three files: the Q8_0 version (default), the BF16 version, and the image encoder mmproj-OCRia-1-f16.gguf. An mmproj file is required regardless of which base model file is used. The publishers have not released a 4-bit version. Downloading does not require agreeing to a license, but it uses a custom license named “ocria-1-license".

On Ollama, it is published as llamaindex/ocria-1. Tags include latest (Q8_0) and bf16.

ollama run llamaindex/ocria-1 --think=false./page.png

It can also be retrieved directly from the Hugging Face repository:

ollama run hf.co/llamaindex/OCRia-1-GGUF:Q8_0 --think=false./page.png

The steps to fetch the files and create the model locally are as follows. The included Modelfile configures the system prompt, 32k context, and greedy decoding:

hf download llamaindex/OCRia-1-GGUF OCRia-1-Q8_0.gguf mmproj-OCRia-1-f16.gguf Modelfile --local-dir ocria-1
cd ocria-1
ollama create ocria-1 -f Modelfile

To start the server with llama.cpp, use the following command:

llama-server -m OCRia-1-Q8_0.gguf --mmproj mmproj-OCRia-1-f16.gguf --jinja -c 32768 -fa on

Once started, use the OpenAI-compatible endpoint. Include the contents of prompt.txt in the system message, and pass only the page image in the user message. Also specify temperature=0 and chat_template_kwargs={"enable_thinking": false}.

The conversion reportedly used llama.cpp’s convert_hf_to_gguf.py (commit 33aeb17). Because llama.cpp’s Qwen3-VL converter does not write the upper pixel limit, the publishers explain that they added it manually. Without this setting, llama.cpp restricts images to 4,096 tokens, which is roughly half of a 300 DPI page.

Related Articles

What to Read Next

Sources

Update History

  • 2026-11-28: Added our own measurements: Japanese token efficiency, what is inside the GGUF file.