GOT-OCR 2.0
580M-parameter end-to-end OCR-2.0 model: a vision encoder paired with a Qwen-based decoder, trained specifically for general OCR including math formulas (LaTeX out), tables (Markdown/HTML out), sheet music, geometric shapes, and dense multi-column documents.
Our verdict
The open-source answer for formula and table OCR — beats Nougat decisively and runs on a potato. The stepfun-ai/GOT-OCR2_0 repo needs custom inference code; native transformers support uses the separate stepfun-ai/GOT-OCR-2.0-hf repo.
Overview
580M-parameter end-to-end OCR-2.0 model: a vision encoder paired with a Qwen-based decoder, trained specifically for general OCR including math formulas (LaTeX out), tables (Markdown/HTML out), sheet music, geometric shapes, and dense multi-column documents.
Strengths
- End-to-end formula OCR — outputs LaTeX directly, beats Nougat and most pipelines
- Table OCR straight to Markdown/HTML, preserving structure
- Apache-2.0, fully commercial-friendly
- About 580M params per the paper; the safetensors file is 1.43 GB, viable on edge/CPU
- Mainly English and Chinese; supports interactive region/color-based OCR
Weaknesses
- stepfun-ai/GOT-OCR2_0 needs custom inference code (trust-remote-code); native transformers support uses stepfun-ai/GOT-OCR-2.0-hf
- Single-purpose: only OCR, no captioning, VQA, or chat
- Quality on noisy phone-camera photos lags commercial OCR (Azure Document Intelligence, Textract)
- Limited fine-tuning recipes published — adapting to a new domain is non-obvious
Quantization variants
Each quantization trades model quality for file size and VRAM. Q4_K_M is the most popular starting point.
| Quantization | File size | VRAM required |
|---|---|---|
| Q4_K_M | 0.3 GB | 1 GB |
Get the model
HuggingFace
Original weights
Source repository — direct quantization required.
Hardware that runs this
Cards with enough VRAM for at least one quantization of GOT-OCR 2.0.
Models worth comparing
Same parameter band, plus what's one tier above and below — so you can decide what actually fits your hardware.
Frequently asked
What's the minimum VRAM to run GOT-OCR 2.0?
Can I use GOT-OCR 2.0 commercially?
Source: huggingface.co/stepfun-ai/GOT-OCR2_0
Reviewed by RunLocalAI Editorial. See our editorial policy for how we research and verify model claims.
Related — keep moving
Verify GOT-OCR 2.0 runs on your specific hardware before committing money.