selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

Best open-weight OCR & Document AI models

Text recognition and document understanding: scans, PDFs, tables, receipts and handwriting.

Text recognition and document understanding are the tasks these models handle, covering scans, PDFs, tables, receipts and handwriting. The models below run on your own hardware. Popular picks include GLM-OCR, a 1.3B model from zai-org, HunyuanOCR from tencent at 1.1B, and DeepSeek-OCR-2 from deepseek-ai at 3.4B. Each entry lists the publishing org and parameter count.

--sort
128 models
baidu logo≈4.5 GB

Please refer to the official vLLM recipe for deployment details:

3.3BA1.1B32K ctx MIT
5.1MJun 2026gguf
zai-org logo

GLM-OCR

zai-org

≈3.5 GB

GLM-OCR is a multimodal OCR model for complex document understanding, built on the GLM-V encoder–decoder architecture. It introduces Multi-Token Prediction (MTP) loss and stable full-task reinforcement learning to improve training efficiency, recognition accuracy, and generalization.

1.3B128K ctx MIT
1.8MJan 2026ollama
deepseek-ai logo

DeepSeek-OCR

deepseek-ai

≈4.5 GB

Refer to 🌟GitHub for guidance on model inference acceleration and PDF processing, etc.

3.3BA1.1B8K ctx MIT
2MOct 2025ollama
baidu logo≈4.5 GB

Sparse Reference Sliding Window Attention (SR-SWA): Compresses text-visual attention interactions from ultra-long sequences down to a fixed-size set of working references (e.g., 512 tokens).

3.3BA1.1B128K ctx MIT
355.4KOct 2026gguf
datalab-to logo

chandra-ocr-2

datalab-to

≈6.8 GB

Chandra 2 is a state of the art OCR model from Datalab that outputs markdown, HTML, and JSON. It is highly accurate at extracting text from images and PDFs, while preserving layout information.

5.3B256K ctx OpenRAIL
1.4MMar 2026gguf
tencent logo

HunyuanOCR

tencent

≈3.0 GB

📦 Model layout. This repository hosts HunyuanOCR-1.5 checkpoint at the root (target base weights). The DFlash speculative-decoding draft lives under dflash/, and the previous HunyuanOCR-1.0 is archived under v1.0/ (load it with subfolder="v1.0", or download the v1.0/ directory directly).

1.1B128K ctx Tencent Hunyuan Community License
617.5KNov 2025gguf
deepseek-ai logo

DeepSeek-OCR-2

deepseek-ai

≈4.5 GB

Refer to 🌟GitHub for guidance on model inference acceleration and PDF processing, etc.

3.4BA1.2B8K ctx Apache 2.0
364.4KJan 2026gguf
openbmb logo≈3.4 GB

MiniCPM-OCR 1.0 (1.3B) is the first OCR-specific model in the MiniCPM-V/o family. It focuses on text-centric document understanding — text, tables, formulas, charts, seals, and structured information extraction — and balances quality against speed on real-world captures.

1.3B256K ctx Apache 2.0
55.4KOct 2026gguf
PaddlePaddle logo

PaddleOCR-VL-1.6

PaddlePaddle

≈2.6 GB

PaddleOCR-VL-1.6: Expanding the Frontier of Document Parsing with Under-Optimized Region Refinement and Progressive Post-Training

959M128K ctx Apache 2.0
95.4KMay 2026gguf
lightonai logo≈2.8 GB

Best OCR model . LightOnOCR-2-1B is LightOn's flagship OCR model, refined with RLVR training for maximum accuracy. We recommend this variant for most OCR tasks.

1B16K ctx Apache 2.0
872.6KJan 2026gguf
ibm-granite logo≈1.1 GB

Granite Docling is a multimodal Image-Text-to-Text model engineered for efficient document conversion. It preserves the core features of Docling while maintaining seamless integration with DoclingDocuments to ensure full compatibility.

258M8K ctx Apache 2.0
117.2KMay 2025gguf
openbmb logo≈5.5 GB

MiniCPM-OCR Jev (2B) is an OCR quality-assessment model for text, formula, and table regions. Given a region image and a candidate OCR result, it returns a score from 0 to 1 — higher means the candidate is more likely correct.

2.2B256K ctx Apache 2.0
21.5KOct 2026gguf
lightonai logo≈5.9 GB

Best OCR model. LightOnOCR-3-4B is the largest and most accurate model of the LightOnOCR-3 family, LightOn's new generation of lightweight end-to-end OCR models with layout and visual understanding. We recommend it for most OCR tasks.

4.5B256K ctx Apache 2.0
21.8KOct 2026gguf
allenai logo≈10 GB

Full BF16 version of olmOCR-2-7B-1025-FP8. We recommend using the FP8 version for all practical purposes except further fine tuning.

8.3B125K ctx Apache 2.0
79KOct 2025gguf
nanonets logo≈5.0 GB

Nanonets-OCR-s by Nanonets is a powerful, state-of-the-art image-to-markdown OCR model that goes far beyond traditional text extraction.

3.8B125K ctx Unknown licence
8.6KJun 2025gguf
PaddlePaddle logo

PaddleOCR-VL

PaddlePaddle

≈2.6 GB

PaddleOCR-VL: Boosting Multilingual Document Parsing via a 0.9B Ultra-Compact Vision-Language Model

959M128K ctx Apache 2.0
10.9KOct 2025gguf
baidu logo≈6.1 GB

Qianfan-OCR is a 4B-parameter end-to-end document intelligence model developed by the Baidu Qianfan Team. It unifies document parsing, layout analysis, and document understanding within a single vision-language architecture.

4.7B32K ctx Apache 2.0
30.7KMar 2026gguf
nanonets logo≈5.0 GB

Nanonets-OCR2 by Nanonets is a family of powerful, state-of-the-art image-to-markdown OCR models that go far beyond traditional text extraction.

3.8B125K ctx Unknown licence
525.3KOct 2025gguf
dots-studio logo

dots.ocr

dots-studio

≈4.1 GB

dots.ocr is a powerful, multilingual document parser that unifies layout detection and content recognition within a single vision-language model while maintaining good reading order. Despite its compact 1.7B-parameter LLM foundation, it achieves state-of-the-art(SOTA) performance.

3B128K ctx MIT
341.9KJul 2025gguf
datalab-to logo

surya-ocr-2.5

datalab-to

≈2.0 GB

We also ship smaller models for line-level text detection and ocr error detection. It works on a range of documents (see usage and benchmarks).

689M256K ctx OpenRAIL
40.5KOct 2026gguf
XingChen-AGI logo

TeleOCR

XingChen-AGI

≈3.7 GB

TeleOCR is a lightweight (~1.2B parameters), open-source Vision-Language Model designed specifically for document parsing.

1.4B125K ctx Apache 2.0
21.6KAug 2026gguf
PaddlePaddle logo

PaddleOCR-VL-1.5

PaddlePaddle

≈2.6 GB

PaddleOCR-VL-1.5: Towards a Multi-Task 0.9B VLM for Robust In-the-Wild Document Parsing

959M128K ctx Apache 2.0
26.8KJan 2026gguf
allenai logo≈10 GB

This is a preview release of the olmOCR model that's fine tuned from Qwen2-VL-7B-Instruct using the olmOCR-mix-0225 dataset.

8.3B32K ctx Apache 2.0
52.2KJan 2025gguf
lightonai logo≈2.4 GB

Smallest model. LightOnOCR-3-0.8B is the lightest model of LightOn's LightOnOCR-3 family, with the same layout and visual understanding features.

853M256K ctx Apache 2.0
13.2KOct 2026gguf

Score vs VRAM

Full chart →