dots.ocr
RedNote’s gritty open-weights document model — built for messy real-world PDFs, tables and formulas, not lab-clean scans.
| Params | Task type | License | Released | Access | Pricing |
|---|---|---|---|---|---|
| Undisclosed | OCR, document understanding, table/formula extraction | Open weights (Apache-style) | Jul 2025 | Self-host (vLLM / transformers) | Free (your GPU) |
What it is
dots.ocr is the document-AI model from RedNote (Xiaohongshu), released July 2025. It is an open-weights, end-to-end vision-language model purpose-built for document understanding: OCR, layout analysis, table extraction and formula recognition. It came out of the same lab culture that ships consumer apps, and it shows — this thing was built to survive screenshots of menus, skewed scans and dense Chinese-language PDFs, not just arXiv papers.
Architecture and how it reads documents
Parameter count is undisclosed; the release positions it as a native vision-language document model rather than a bolt-on OCR pipeline. Architecturally it follows the now-standard pattern: a vision encoder tokenizes page images, and an LLM-style decoder generates structured output (markdown/JSON-ish representations of layout, text, tables and formulas). Compared with classic three-stage pipelines (detect → recognize → reconstruct), this end-to-end approach is more robust to ugly inputs but harder to debug when it fails. Details are hedged as of Nov 2026 — RedNote publishes enough to run it, not enough to fully audit it.
Accuracy and table/handwriting handling
dots.ocr reports top-tier open-weights results on OmniDocBench, the benchmark that matters most right now for document parsing, as of Nov 2026. Tables and formulas are its home turf; handwriting is mediocre, like nearly everything in this class except Google’s paid offering. Chinese and English are strongest; mixed-script documents (common in Chinese business paperwork) are handled better than most Western open models manage.
Strengths
- Messy real PDFs. Skewed, low-contrast, watermark-laden scans that make Tesseract cry.
- Table and formula extraction. OmniDocBench-class leaderboard results among open weights.
- Open weights, Apache-style license. Self-host, fine-tune, ship commercially without a lawyer in the loop.
- Mixed-script documents. Chinese + English + numeric layouts handled natively.
Weaknesses
- Chinese-first docs and tooling. README, comments and community skew Chinese; expect friction if you don’t read it.
- Rough edges. Dependency pinning, GPU memory appetite and output-schema churn are all real.
- RedNote ecosystem gravity. Model hosting and examples live inside their stack; portability takes work.
- No support contract. When it misreads your invoice, you’re the support team.
Best for / avoid for
Best for: high-volume archival scans, mixed Chinese/English document corpora, invoice and receipt pipelines, RAG ingestion of dense technical PDFs, and teams that want Mistral-OCR-class capability without the meter running.
Avoid for: handwriting-heavy archives, regulated environments needing vendor SLAs, and teams that can’t absorb integration roughness.
Variants
The public release is a single model family; community quantizations (GPTQ/AWQ-class) and vLLM-compatible builds circulate on Hugging Face. There is no separate “pro” tier — you get what RedNote published, and nothing more.
Pricing and access
Free weights. Real cost is GPU time: a single modern 24–48 GB card handles steady volumes; datacenter cards help for bulk batches. No per-page fees, no quota, no account. If you want someone else to run it, third-party inference hosts exist but reintroduce per-token pricing.
How to run it
Minimal transformers example:
from transformers import AutoModelForCausalLM, AutoProcessor
import torch
model_id = "rednote-hilab/dots.ocr-1.5" # check HF for current id
processor = AutoProcessor.from_pretrained(model_id, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(
model_id, torch_dtype=torch.bfloat16,
trust_remote_code=True, device_map="cuda")
messages = [{"role": "user", "content": [
{"type": "image", "image": "scan.png"},
{"type": "text", "text": "Extract all text and tables as markdown."}]}]
inputs = processor.apply_chat_template(
messages, add_generation_prompt=True, tokenize=True, return_dict=True).to("cuda")
out = model.generate(**inputs, max_new_tokens=4096)
print(processor.decode(out[0][inputs["input_ids"].shape[1]:], skip_special_tokens=True))
Output comes back as structured markdown that maps cleanly onto reading order, tables and formulas. Two practical tips: set an explicit image DPI (150–300) before inference — resolution swings accuracy more than any flag — and post-process tables through a strict parser so malformed rows fail loudly instead of silently corrupting your database. For production, use vLLM with the dots.ocr model implementation where available, front it with a job queue, and validate output structure with a schema checker before it touches your database. Prompt for layout-preserving markdown explicitly — the model follows structure instructions well, but vague prompts get you mush.
Benchmarks snapshot
Models-data (as of Nov 2026): “Top-tier on OmniDocBench (open weights).” Approximate public figures: ~90%-class overall on OmniDocBench, strong table-TEDS and formula metrics, competitive with or ahead of other open document models on English and Chinese. All numbers hedged — OmniDocBench scores swing with image resolution and crops, so benchmark on your own documents.
How it stacks up
vs DeepSeek-OCR: DeepSeek-OCR wins on token compression economics and slightly cleaner tooling; dots.ocr wins on raw messy-page robustness and table/formula fidelity. For ugly real-world scans, dots.ocr is the one to test first.
vs Granite-Docling-258M: Granite-Docling is far smaller and cheaper to run but can’t match dots.ocr’s depth on dense layouts. Different weight classes entirely.
vs cloud APIs (Azure/Google/AWS): the clouds win on SLAs, prebuilt invoice/ID schemas and handwriting; dots.ocr wins on cost, control and mixed-script fidelity.
PeaBox fit
Use dots.ocr as the heavy-duty ingestion front-end for document-heavy workflows: bulk-scan your archive to markdown, feed it into the PeaBox AI Workbench for analysis, and index into retrieval corpora for PromptVault-style research. It shines exactly where a per-page API bill would make you wince.
The practitioner’s take
dots.ocr is the open-weights pick when your PDFs fight back. It’s not as polished as Mistral OCR and not as tiny as Granite-Docling, but on adversarial, real-world documents it punches above its price — which is zero. Budget a day for setup, run a fifty-document bake-off against your incumbent, and only then commit. If your documents are bilingual Chinese/English, this is close to a no-brainer.