Head to head · OCR · October 2026 research run

HunyuanOCR 1.5 vs Baidu Unlimited-OCR-2

HunyuanOCR 1.5 scores 56.6 (C) on agent readiness against Baidu Unlimited-OCR-2's 54.2 (C), and leads in 2 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

HunyuanOCR 1.5 C

Best for Teams outside the EU, the UK and South Korea that want one small model for OCR, extraction and image translation

Ahead on

  • Reach, 60 against 55
  • Agent interface, 80 against 75

Watch for

The licence doesn't apply in the EU, the UK or South Korea

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

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

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.

Reach HunyuanOCR 1.5 +5

HunyuanOCR 1.5 60

Memory 30, the only build from Tencent is the BF16 safetensors file at the root, 2.24 GB, and 2.24 GB × 1.2 = 2.7 GB, within 16 GB. ggml-org's GGUF (Q8_0 0.58 GB with a 0.73 GB projector) dates from 21 May 2026 and wasn't matched to version 1.5. Runtimes 15, Released Transformers 5.22.2 has the hunyuan_vl model, vLLM 0.33.0 registers HunYuanVLForConditionalGeneration, and llama.cpp b12242 has the architecture, which the card says the community build runs after conversion. Builds 0, Tencent publishes the BF16 weights only and tells users to convert to GGUF themselves. Terms 5, A custom licence that allows free commercial use under a use policy and below 100 million monthly active users, but not for anyone: it doesn't apply in the European Union, the United Kingdom or South Korea. Download 10, the Hub API reports gated false on 10 November 2026, so the files download with no account and nothing to accept. Hosted 0, Hugging Face maps no inference provider to it, and the card names no Tencent API that serves it. 30 + 15 + 0 + 5 + 10 + 0 = 60.

Baidu Unlimited-OCR-2 55

Memory earns the full 30, since the only build is 6.69 GB of BF16 weights that need about 8 GB with the fifth added. Runtimes score 0. Released vLLM 0.33.0, SGLang 0.5.23 and Transformers 5.22.1 know the first Unlimited-OCR but not the sparse attention this one adds, Baidu's own routes are remote code in Transformers and a customised SGLang wheel, llama.cpp b12111 has nothing for it, so Ollama has nothing either, and LM Studio couldn't be checked. Builds score 0, as Baidu publishes no quantised build (16 exist, all by others). Terms get 15 for MIT with nothing added. Download gets 10 for an ungated repository, and hosted too 0, with no inference provider mapped and the card's Baidu Cloud line unconfirmed.

Agent interface HunyuanOCR 1.5 +5

HunyuanOCR 1.5 80

Chat template 20, chat_template.jinja in the repository (930 characters). Tool-calling format 25, Read for a document parser as what it takes and returns. Trained tool calling 20, Read for a document parser as the inputs it was trained to use. Structured output 5, Read for a document parser as typed outputs. Reasoning control 0, A document parser with no reasoning. Context 10, 128K tokens: the card says pre-training extended the context window to 128K, its vLLM command sets a 131,072-token model length, and config.json gives the language model 131,072 positions. 20 + 25 + 20 + 5 + 0 + 10 = 80.

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 runHunyuanOCR 1.5Baidu Unlimited-OCR-2Edge
Capability35%pendingpendingpendingnot scored in this run
Reach25%256055HunyuanOCR 1.5 +5
Risk20%204545even
Agent interface10%108075HunyuanOCR 1.5 +5
Documentation and upkeep10%104850Baidu Unlimited-OCR-2 +2
Negative events≤1500
TotalC 56.6/100C 54.2/100

Facts side by side

FactHunyuanOCR 1.5Baidu Unlimited-OCR-2
KindOpen-weight modelOpen-weight model
VendorTencent (Hy team)Baidu
Hosted endpointno (local only)no (local only)
Transports
AuthNoneNone
PricingFreeFree
x402nono
LicenceTencent Hunyuan Community License (not licensed in the EU, the UK or South Korea)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 release2026-08-282026-10-26
Terms last updatednot read yetno document linked
Privacy policy last updatedno document linkedno document linked

How the scores have moved

Verdicts

HunyuanOCR 1.5

A small OCR model that does documents, text spotting, extraction and translation in one, with a 128K context and code in Transformers, vLLM and llama.cpp. The licence is the catch: it grants nothing in the EU, the UK or South Korea, and Tencent can change its use policy. No quantised build, safety results or data sources.

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

HunyuanOCR 1.5

  1. Check where you and your users are first. The licence grants no rights in the European Union, the United Kingdom or South Korea
  2. Download with --exclude "v1.0/*" so the old version isn't fetched
  3. Serve it with vLLM 0.25.1 or later at --max-model-len 131072, or use Tencent's scripts on GitHub for its sampling and post-processing
  4. Use temperature 0, top_p 1 and repetition_penalty 1.08
  5. The default document prompt is in Chinese and is on the card. Other tasks take their own instruction as the prompt
  6. For llama.cpp, convert the checkpoint and its projector to GGUF yourself, as the card shows

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, HunyuanOCR 1.5 or Baidu Unlimited-OCR-2?

HunyuanOCR 1.5 scores 56.6 (C) on agent readiness against Baidu Unlimited-OCR-2's 54.2 (C), and leads in 2 of 4 scored categories.

Other comparisons with HunyuanOCR 1.5 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.