Baidu’s Unlimited-OCR Reads A 40-Page PDF In One Pass — Here’s What The Viral Posts Get Wrong, And What Actually Matters
AIThis post was created with the assistance of artificial intelligence (AI).

TL;DR

Before you orderOffer from Amazon

Get privacy and security gear delivered free with Prime

  • Fast, free delivery on millions of items
  • Prime Video, Amazon Music and more included
  • Member-only deals all year
Start your free Prime trial Free trial for eligible customers · Cancel anytime
As an affiliate, we earn on qualifying purchases.

Baidu has open-sourced Unlimited-OCR, a 3-billion-parameter model capable of parsing entire multi-page documents in a single forward pass. This breakthrough addresses memory and latency issues in OCR, especially for long documents, and challenges existing models’ limitations.

Baidu has open-sourced Unlimited-OCR, a 3-billion-parameter OCR model that can read entire multi-page PDFs in a single forward pass. This development addresses longstanding challenges in long-document OCR, such as memory growth and processing speed, and is now available under an MIT license, marking a notable technical milestone.

The model, released on June 22, 2026, and detailed in the accompanying technical report, builds on Baidu’s DeepSeek-OCR architecture, incorporating a new mechanism called Reference Sliding Window Attention (R-SWA). R-SWA replaces traditional attention methods that grow linearly with output length, enabling constant memory use and latency regardless of document length.

In benchmarks, Unlimited-OCR achieves a 12.7% speed increase over previous models like DeepSeek-OCR, with throughput reaching approximately 7,847 tokens per second at 6,144-token outputs. It scores 93.92 on OmniDocBench v1.6, the highest among models evaluated, and maintains low error rates even on 40+ page documents, with an edit distance of 0.1069.

Despite claims circulating online, the model has not achieved 1.9 million downloads; the current Hugging Face page reports about 8,400 downloads in the last month. The model’s primary advantage is its ability to process entire documents in a single pass, trading slight reductions in peak accuracy for substantial improvements in long-document handling.

At a glance
breakingWhen: announced June 2026, technical report p…
The developmentBaidu’s Unlimited-OCR, released in June 2026, can process entire multi-page PDFs in one pass, using a novel attention mechanism that maintains fixed memory and latency, representing a significant technical advance.

Impact of Constant-Memory Attention on OCR Capabilities

This development represents a significant step forward in OCR technology, especially for applications requiring the processing of lengthy documents such as legal texts, research papers, and books. By enabling single-pass, multi-page OCR, Baidu’s model reduces the need for page splitting and stitching, improving accuracy in reading order and table recognition across pages.

Furthermore, this approach challenges the dominance of cloud-based OCR services by offering a self-hosted, high-performance alternative that can run on standard hardware, potentially reshaping the competitive landscape of OCR solutions.

Amazon

high performance OCR scanner

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

Long-Standing Challenges in Long-Document OCR

Traditional OCR models process documents page-by-page, often resulting in errors in cross-page references, tables, and reading order. These models face memory and latency bottlenecks when parsing lengthy documents, limiting their effectiveness in real-world applications. Baidu’s prior models, such as DeepSeek-OCR, addressed some issues but still faced linear memory growth with output length.

The introduction of R-SWA in Unlimited-OCR offers a new architecture that maintains a fixed memory footprint, allowing entire multi-page documents to be processed in one pass. This innovation builds on Baidu’s previous work and aligns with ongoing efforts in AI to improve long-form content understanding.

“Unlimited-OCR demonstrates that fixed-memory attention mechanisms can revolutionize long-document OCR, enabling single-pass processing of entire PDFs.”

— Baidu Research Team

Amazon

multi-page PDF OCR software

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

Unanswered Questions About Practical Deployment

While the technical results are promising, it is still unclear how the model performs across diverse real-world datasets outside Baidu’s internal benchmarks. The accuracy trade-offs compared to top-scoring page-by-page models like PaddleOCR-VL and Zhipu’s GLM-OCR are modest, and the impact on downstream tasks remains to be fully evaluated.

Additionally, how well the model handles complex layouts, tables, or documents with unusual formatting in practical settings is still under investigation. The extent of its robustness and scalability in production environments is yet to be confirmed.

Amazon

long document OCR tool

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

Next Steps for Adoption and Benchmarking

Expected future developments include independent testing on diverse datasets, real-world deployment trials, and integration into OCR pipelines. Baidu may also release updates or refined versions based on community feedback and further research.

Monitoring how competitors respond, especially in terms of models that combine high accuracy with long-document capabilities, will be key. The broader AI community will likely examine the architecture’s adaptability to other sequence-processing tasks.

Amazon

AI OCR document reader

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

Key Questions

Can Unlimited-OCR process any type of document?

While it demonstrates strong performance on benchmark datasets, its effectiveness on diverse real-world documents, especially complex layouts, is still under evaluation.

Is this model available for commercial use?

Yes, Baidu has open-sourced Unlimited-OCR under an MIT license, making it accessible for research and commercial applications.

How does it compare to cloud OCR services?

Unlimited-OCR offers the advantage of self-hosting and fixed memory use, potentially reducing costs and latency compared to cloud services, though accuracy trade-offs are modest.

Will this impact existing OCR providers?

It could challenge cloud-based OCR solutions by providing a high-performance, self-hosted alternative, especially for long-document processing needs.

What are the limitations of Unlimited-OCR?

Its performance on highly complex or unusual documents outside controlled benchmarks remains to be seen, and robustness in diverse scenarios is still being tested.

Source: ThorstenMeyerAI.com

FALL

Fall Picks

As an affiliate, we earn on qualifying purchases.

You May Also Like
What Can You Learn From 5 AI Voice Cloning Software Guides In 2027?

What Can You Learn From 5 AI Voice Cloning Software Guides In 2027?

A comparison of five voice-cloning guides finds different paths for beginners, ElevenLabs users and Python developers—and gaps buyers should check.
The Weights Came First: What Thinking Machines’ Inkling Actually Signals

The Weights Came First: What Thinking Machines’ Inkling Actually Signals

Thinking Machines released the full weights of Inkling under Apache 2.0, making it the first foundation model from the lab available openly before competing models.
Mobilised, Not Spent: What’s Left of Europe’s €200 Billion AI Offensive

Mobilised, Not Spent: What’s Left of Europe’s €200 Billion AI Offensive

Europe aims to mobilize €200 billion for AI, but only a small fraction is actual public funding; most remains unspent and uncertain.
13 Best AI Productivity Tools For Students In 2026

13 Best AI Productivity Tools For Students In 2026

Discover the 13 best AI tools for students in 2026, enhancing note-taking, focus, writing, and research to boost academic performance.