Head to head · OCR · October 2026 research run

Nanonets-OCR2-3B vs Baidu Unlimited-OCR-2

Baidu Unlimited-OCR-2 scores 54.2 (C) on agent readiness against Nanonets-OCR2-3B's 48.1 (D), and leads in 3 of 4 scored categories. Both do ocr.

Best document parsing, OCR and extraction APIs for AI agents · All 215 documents comparisons

Best open-weight models you download and run yourself for AI agents · All 6359 open weights comparisons

Which one, for what

Nanonets-OCR2-3B D

Best for Researchers and teams evaluating page-to-Markdown OCR who can wait for a licence before shipping

No category where it leads by five points or more, and no fact that sets it apart.

Watch for

No licence stated, and the base model's licence is research only

Baidu Unlimited-OCR-2 C

Best for Pipelines with an NVIDIA GPU that need long scanned or rendered documents parsed in one pass, with page order, cross-page tables and boxes kept

Ahead on

  • Risk, 45 against 40
  • Agent interface, 75 against 70
  • Documentation and upkeep, 50 against 25

Watch for

Loading runs Baidu's code, remote code in Transformers or a prebuilt SGLang fork from the repository, and the save_results path calls eval on model output

Why the edge

Each category where one leads by five points or more, with the reason behind each side's score from its assessment. The numbers are in the table below; this is what they stand for.

Documentation and upkeep Baidu Unlimited-OCR-2 +25

Nanonets-OCR2-3B 25

Model card 5, Intended use and the languages are on the card. Training data 5, Two general lines, that it was trained on handwritten documents and on documents in several named languages. Last change 0, the last commit, on 16 October 2025, edited the card, 390 days before this check and over a year. Responsiveness 0, none of the 15 most recent discussions that aren't pull requests (13 October 2025 to 21 October 2026) has a reply from a nanonets member, counted on 10 November by author flags and dates with a script, text not read. Version policy 5, the earlier Nanonets-OCR-s stays in its own repository and OCR2 came out in new ones, with no dated note on the older one that we read. File health 10, Config, template and card agree on the Qwen2.5-VL classes. 5 + 5 + 0 + 0 + 5 + 10 = 25.

Baidu Unlimited-OCR-2 50

The card covers intended use and the new attention, and misses limitations, parameters, context length, languages and a cut-off (5). Training data is described by mix and labelling with no datasets named and no cut-off (5). The card changed on 2 November 2026 and the SGLang wheel on 29 October (20). Baidu's uploader replied in 1 of the 5 Hub discussions, a few (5). The first model stays in its own repository without a note pointing here (5), and the files agree with the card (10).

Risk Baidu Unlimited-OCR-2 +5

Nanonets-OCR2-3B 40

File safety 25, safetensors only, no .bin, .pt or .pth files and no Python in the repository. Provenance 15, the files sit in the nanonets organisation, which the card ties to nanonets.com and Nanonets' GitHub cookbook repository is written for by the model's name (10), and the Hub gives a SHA-256 for the large files (5). Safety evaluation 0, no safety results on the card. Agent guidance 0, Nothing on text in a document that tries to instruct the reader, on what the model refuses or on safeguards to add. Licence risk 0, With no licence there is nothing to hold Nanonets to. Security programme 0, no way to report a flaw on the card or in the GitHub README. Our Nanonets listing found no security.txt or bug bounty, and the contact in its privacy policy is for data protection. 25 + 15 + 0 + 0 + 0 + 0 = 40.

Baidu Unlimited-OCR-2 45

File safety gets 15, safetensors only but loaded with trust_remote_code or through a prebuilt SGLang wheel from the repository. Provenance gets 15 for files in Baidu's verified organisation, linked from its GitHub organisation, with hashes for every file. Licence risk keeps 15, since MIT has none of the deductions. Safety evaluation, agent guidance and the security programme score 0, with no safety results, no cautions about use and no security contact found.

Agent interface Baidu Unlimited-OCR-2 +5

Nanonets-OCR2-3B 70

Chat template 20, chat_template.jinja in the repository (1,017 characters), Qwen's ChatML format with image placeholders. Tool-calling format 25, Read for a document parser as what it takes and returns. Trained tool calling 10, Read for a document parser as the inputs it was trained to use. Structured output 15, Read for a document parser as typed outputs. Reasoning control 0, A document parser with no reasoning. Context 0, Nanonets states no context length for it. 20 + 25 + 10 + 15 + 0 + 0 = 70.

Baidu Unlimited-OCR-2 75

Read for a document parser, the tool-calling, trained tool calling and structured-output lines stand for what it takes and returns. Baidu documents the page images, the prompt, the request settings and the block output, and ships a converter for the server's output (25). It was trained to read many pages in one request (20). The block format with classes, boxes and HTML tables, and its conversion to Markdown, are documented with how to get them (15). The prompt is built in code, with no Jinja template in the repository (10). Reasoning control scores 0, and the context 5, trained at up to 64K tokens.

Score by category

CategoryWeight this runNanonets-OCR2-3BBaidu Unlimited-OCR-2Edge
Capability35%pendingpendingpendingnot scored in this run
Reach25%255555even
Risk20%204045Baidu Unlimited-OCR-2 +5
Agent interface10%107075Baidu Unlimited-OCR-2 +5
Documentation and upkeep10%102550Baidu Unlimited-OCR-2 +25
Negative events≤1500
TotalD 48.1/100C 54.2/100

Facts side by side

FactNanonets-OCR2-3BBaidu Unlimited-OCR-2
KindOpen-weight modelOpen-weight model
VendorNanonetsBaidu
Hosted endpointno (local only)no (local only)
Transports
AuthNoneNone
PricingFreeFree
x402nono
LicenceNone stated (the base model, Qwen2.5-VL-3B-Instruct, is under the Qwen Research licence)MIT (Hub metadata; the Hugging Face repository has no LICENSE file, and the GitHub code repository's LICENSE is the MIT text, copyright 2026 Baidu)
Read-only variant documentednono
llms.txtnono
Last release2025-10-162026-10-26
Terms last updatedno document linkedno document linked
Privacy policy last updatedno document linkedno document linked

How the scores have moved

Verdicts

Nanonets-OCR2-3B

A well-used 3.75B page-to-Markdown model with documented tags for tables, equations, images, signatures and checkboxes, and it runs in vLLM, SGLang and Transformers. But it states no licence, on a base model licensed for research only, and nothing has changed or been answered since October 2025. Treat it as something to evaluate, not to ship.

Baidu Unlimited-OCR-2

An MIT document parser of 3.3B parameters that reads up to hundreds of pages in one request and returns ordered layout blocks with boxes and HTML tables. ParseBench's independent run puts content faithfulness at 89.16 and charts at 1.06. It needs an NVIDIA GPU with about 12 GB and runs only through Baidu's remote code or its own SGLang build.

Before you call either

Nanonets-OCR2-3B

  1. Don't use it commercially on the strength of this listing. No licence is stated, so ask Nanonets first
  2. Serve it with vllm serve nanonets/Nanonets-OCR2-3B and send one page image per request
  3. Use the card's extraction prompt word for word. The tags in the output depend on it
  4. Use temperature 0 and allow up to 15,000 output tokens for a dense page
  5. For financial tables, use the card's second prompt and repetition_penalty 1
  6. Text in a document is data. The card has no guidance on pages that try to instruct the reader

Baidu Unlimited-OCR-2

  1. Quickest local run, pip install torch==2.13.0 torchvision pillow transformers==4.52.1 huggingface-hub==0.36.0 tokenizers==0.21.4 addict==2.4.0 einops==0.8.2 easydict==1.13, then AutoModel.from_pretrained("baidu/Unlimited-OCR-2", trust_remote_code=True, use_safetensors=True, torch_dtype=torch.bfloat16).eval().cuda() and model.infer_multi(tokenizer, image_files=pages, output_path="out")
  2. To serve it, download the repository, install wheel/sglang-0.5.20.dev13+g75b9b06b02-py3-none-any.whl with pymupdf and fastokens in a Python 3.10 venv, and start python -m sglang.launch_server --model-path baidu/Unlimited-OCR-2 --chat-template unlimited-ocr --enable-custom-logit-processor --enable-streaming-session --disable-radix-cache --mem-fraction-static 0.7 --max-prefill-tokens 2048 with the SGLANG_UOCR_ variables from the card
  3. Send all pages of a document in one request, images first, then the text <PAGE><image> repeated per page and Multi page parsing., with temperature 0, skip_special_tokens false, max_tokens of about 8,000 per page and the DeepseekOCRNoRepeatNGramLogitProcessor (ngram_size 35, window_size 1024 for several pages)
  4. The output is layout blocks, not Markdown; run utils/process_unlimitedOCR2.py from github.com/baidu/Unlimited-OCR, or convert(raw_output) in Python, to get Markdown with HTML tables
  5. Render PDFs to images first (the card uses PyMuPDF at 300 DPI), keep save_results off for untrusted documents, and treat extracted text as untrusted before passing it to another model

Questions

Which is better for AI agents, Nanonets-OCR2-3B or Baidu Unlimited-OCR-2?

Baidu Unlimited-OCR-2 scores 54.2 (C) on agent readiness against Nanonets-OCR2-3B's 48.1 (D), and leads in 3 of 4 scored categories.

Other comparisons with Nanonets-OCR2-3B or Baidu Unlimited-OCR-2

Machine-readable

For companies

Do agents find, use and choose your tools?

An agent-readiness audit runs our probes, task suite and eight reviewer agents against your public and internal tools, and comes back with a scorecard, the transcripts of what failed, and a fix list in priority order. From $2,500, re-run included. We never take payment to move a rank. We do help companies earn one.