llmrun
llamaindexQwen3_5ForConditionalGeneration

OCRia 1 — Hardware Requirements & GPU Compatibility

VisionFunctions

OCRia-1 is a 4 billion parameter vision-language model for document parsing from LlamaIndex, fine-tuned from Qwen3.5-4B and released in November 2026. It reads a page image and writes Markdown, with tables as HTML, and it handles merged table cells, chart data, formatting such as strikethrough and checkboxes, and LaTeX formulas. LlamaIndex reports results on ParseBench and other document benchmarks. The license is custom: free for research and personal use, and for commercial use by organizations under $2 million in annual revenue and total funding, with a commercial license required above that or for competing parsing services. This repository holds unoptimized BF16 weights of 10.35 GB. GGUF builds in BF16 and Q8_0 are published for llama.cpp and Ollama. The card also documents vLLM 0.30 or later and Transformers 5.3 or later, with greedy decoding and a 24,576-token output limit, since dense pages can need more than 20,000 output tokens.

5.2B params · dense262K contextOther1.3K downloads162 likes7.6K quant downloads
Based on Qwen3.5 4B
S

Runs great on a 24 GB GPU

Runs from8 GB Q4_K_M · 128KBest on24 GB Q4_K_M · ~184 tok/s · 256KMacs from8 GB Q4_K_M · ~20 tok/s

Other

Reference GPU · RTX 4090 24 GB

Estimates, ±20% · how we estimate

Run OCRia 1

One recommended way. Every other method, OS and quant is in the step-by-step guide.Each way opens a step-by-step guide for your OS and quant.

Recommended

Ollama
one command · needs Ollama installed
$ollama run hf.co/prithivMLmods/OCRia-1-GGUF:Q4_K_M

Q4_K_M fits fully on the RTX 4090 · 20.3 GB free · 16K context

Download: OCRia-1.Q4_K_M.gguf3.17 GBprithivMLmods

install, OS, other quants

Ways to runOther ways

each opens step-by-step

Run in cloud

Runs on RTX 3060 12GB (8 GB headroom) · Q4_K_M

Generation speed
~66 tok/s
generation speed
Cost per 1M output tokens
$0.26
per 1M output tokens

How Much VRAM Does OCRia 1 Need?

Select a quantization level; the listed hardware adheres to it.

QuantizationVRAM+32KOn RTX 4090 (reference)
2.7 GB3.2 GB2-bit · K-quant — 2-bit quantization with K-quant improvementsFits: 256K context · ~245 tok/s
2.7 GB3.2 GB3-bit small — 3-bit small quantizationFits: 256K context · ~240 tok/s
3.0 GB3.5 GB3-bit medium — 3-bit medium quantizationFits: 256K context · ~219 tok/s
3.1 GB3.6 GB4-bit · legacy — 4-bit legacy quantizationFits: 256K context · ~214 tok/s
3.6 GB4.1 GB4-bit medium — 4-bit medium quantization — most popular sweet spotFits: 256K context · ~184 tok/s
4.2 GB4.7 GB5-bit medium — 5-bit medium quantization — good quality/size tradeoffFits: 256K context · ~158 tok/s
4.7 GB5.2 GB6-bit, very good — 6-bit quantization, very good qualityFits: 256K context · ~138 tok/s
5.6 GB6.1 GB8-bit, near-lossless — 8-bit quantization, near-losslessFits: 256K context · ~116 tok/s

Selected Q4_K_M

4-bit medium quantization

3.7GBat 16K context

Weights
3.1 GB
KV cache
0.3 GB
Overhead
0.3 GB

Fits RTX 4090 (reference) · 20.3 GB free · ~184 tok/s

≥50 tok/s needs ≥274 GB/s · RTX 5090 ~326, M5 Ultra ~241

Which Hardware Can Run OCRia 1?

Q4_K_M · 3.6 GB

OCRia 1 (Q4_K_M) requires 3.6 GB of VRAM to load the model weights. For comfortable inference with headroom for KV cache and system overhead, 5+ GB is recommended. Using the full 262K context window can add up to 5.2 GB, bringing total usage to 8.8 GB. 114 GPUs can run it, including NVIDIA GeForce RTX 5090, NVIDIA GeForce RTX 3090 Ti, NVIDIA GeForce GTX 1650 SUPER. 185 devices with unified memory can run OCRia 1, including Mac Studio M5 Ultra (256 GB), Mac Studio M5 Ultra (512 GB), MacBook Air 13" M3 (8 GB).

By VRAM tier · typical GPUs and Macs at Q4_K_M
8 GB · RTX 4060Q4_K_M · 3.7 GB · ~50 tok/s · 128K8 GB tier →
12 GB · RTX 3060 12GBQ4_K_M · 3.7 GB · ~66 tok/s · 256K12 GB tier →
16 GB · RTX 5060 Ti 16GBQ4_K_M · 3.7 GB · ~82 tok/s · 256K16 GB tier →
24 GB · RTX 4090referenceQ4_K_M · 3.7 GB · ~184 tok/s · 256K24 GB tier →
Mac 32 GB · Mac Mini M4Q4_K_M · 3.7 GB · ~24 tok/s · 256KMacs →
Mac 64 GB · Mac Studio M4 MaxQ4_K_M · 3.7 GB · ~107 tok/s · 256KMacs →

Alternatives to OCRia 1

Similar models

4
ModelScoreVRAMtok/sWhy it is similar
Gemma 4 E2BGoogle—3.5 GB~191same size
Molmo2 4BAllen AI—4.7 GB~193same size
Gemma 3n E2B ITGoogle—5.9 GB~183same size
Qwen2.5 Omni 3BAlibaba—6 GB~180same size

Specifications

Publisher
llamaindex
Parameters
5.2B
Architecture
Qwen3_5ForConditionalGeneration
Context Length
262,144 tokens
Vocabulary Size
248,320
Release Date
2026-11-13
License
Other

Frequently Asked Questions

How much VRAM does OCRia 1 need?

OCRia 1 requires 3.6 GB of VRAM at Q4_K_M, or 10.8 GB at BF16. Full 262K context adds up to 5.2 GB (8.8 GB total).

VRAM = Weights + KV Cache + Overhead

Weights = 5.2B × 4.8 bits ÷ 8 = 3.1 GB

KV Cache + Overhead ≈ 0.5 GB (at 2K context + ~0.3 GB framework)

Fit ratings and hardware model lists check this model with room for a 16K-token context, which needs a little more memory.

KV Cache + Overhead ≈ 5.7 GB (at full 262K context)

VRAM usage by quantization

3.6 GB
8.8 GB

Learn more about VRAM estimation →

What's the best quantization for OCRia 1?

For OCRia 1, Q4_K_M (3.6 GB) offers the best balance of quality and VRAM usage. Q5_0 (3.7 GB) provides better quality if you have the VRAM. The smallest option is Q2_K at 2.7 GB.

VRAM requirement by quantization

Q2_K
2.7 GB
Q4_0
3.1 GB
Q4_K_M ★
3.6 GB
Q5_0
3.7 GB
Q5_K_M
4.2 GB
BF16
10.8 GB

★ Recommended — best balance of quality and VRAM usage.

Learn more about quantization →

Can I run OCRia 1 on a Mac?

Yes — Mac Mini M2 (8 GB) and 158 other Macs can run OCRia 1. Apple Silicon uses unified memory, so the model shares RAM with the system. At Q4_K_M you need at least 3.6 GB of usable unified memory (RAM minus macOS overhead).

Can I run OCRia 1 locally?

Yes — OCRia 1 can run locally on consumer hardware. Popular tools include Ollama, LM Studio, and llama.cpp.

How fast is OCRia 1?

At Q4_K_M, OCRia 1 can reach ~1345 tok/s on AMD Instinct MI350X. On NVIDIA GeForce RTX 4090: ~184 tok/s. Speed depends mainly on GPU memory bandwidth. Real-world results typically within ±20%.

tok/s = (bandwidth GB/s ÷ model GB) × efficiency

Example: NVIDIA B200 → 8000 ÷ 3.57 × 0.65 = ~1457 tok/s

Estimated speed at Q4_K_M (3.6 GB)

~1457 tok/s
~184 tok/s
~1457 tok/s
~1345 tok/s

Real-world results typically within ±20%. Speed depends on batch size, quantization kernel, and software stack.

Learn more about tok/s estimation →

What's the download size of OCRia 1?

At Q4_K_M, the download is about 3.10 GB. The full-precision BF16 version is 10.35 GB. The smallest option (Q2_K) is 2.20 GB.

Which GPUs can run OCRia 1?

114 consumer GPUs can run OCRia 1 at Q4_K_M. Top options include AMD Radeon RX 5600 XT, AMD Radeon RX 5700 XT, AMD Radeon RX 580 8GB, NVIDIA GeForce GTX 1050 Ti. 107 GPUs have plenty of headroom for comfortable inference.

Which devices can run OCRia 1?

185 devices with unified memory can run OCRia 1 at Q4_K_M (3.6 GB), including AMD Ryzen 7 8845HS (Hawk Point) Laptop, AMD Ryzen AI 7 350 (Krackan Point) Laptop, AMD Ryzen AI 9 HX 370 (Strix Point) Laptop, ASUS Ascent GX10. Apple Silicon Macs use unified memory shared between CPU and GPU, making them well-suited for local LLM inference.