AI In Action: Baidu’s OCR Reads 40 Pages In One Pass — Here’s How
AIThis post was created with the assistance of artificial intelligence (AI).

TL;DR

Baidu has open-sourced Unlimited-OCR, a 3-billion-parameter AI model capable of reading 40+ pages in one forward pass. This breakthrough improves long-document OCR efficiency and challenges existing models.

Baidu has introduced Unlimited-OCR, a new AI-powered optical character recognition model that can process over 40 pages in a single pass. This development marks a significant step forward in document processing, especially for applications requiring long or complex documents to be read efficiently without splitting or page-by-page analysis. The model is open-sourced under an MIT license, making it accessible for widespread use and experimentation.

The model, based on a 3-billion-parameter architecture, was released on June 22, 2026, with a detailed technical report published the following day. It leverages a novel mechanism called Reference Sliding Window Attention (R-SWA), which replaces traditional linear attention caching with a fixed-size memory, allowing the model to read multi-page documents in a single forward pass without memory growth. This architecture enables the processing of dozens of pages simultaneously, maintaining constant latency and GPU memory use, unlike previous models that slowed down or required splitting documents into pages.

Performance metrics from Baidu’s internal benchmarks show that Unlimited-OCR outperforms previous models like DeepSeek-OCR in key document understanding tasks, achieving a 12.7% increase in token processing speed. On the OmniDocBench benchmark, it scores 93.23 overall, with notable improvements in text edit distance, formula accuracy, and table recognition, especially in long documents. Despite some claims circulating online, Baidu clarified that the model has approximately 8,400 downloads in the past month, not the 1.9 million often cited in viral posts. The model supports multiple deployment options, including Transformers, vLLM, SGLang, and Docker, and is compatible with community quantizations for various platforms.

At a glance
breakingWhen: announced June 2026, now available and…
The developmentBaidu released Unlimited-OCR on June 22, 2026, demonstrating its ability to process extensive documents in a single pass with constant memory use.

Implications for Long-Document OCR Efficiency

This development represents a major advancement in OCR technology, especially for industries dealing with lengthy or complex documents, such as legal, academic, or governmental sectors. By enabling a single-pass reading of multi-page documents, it reduces processing time, improves accuracy in cross-referencing, and simplifies pipeline architecture. The open-source nature of Unlimited-OCR also allows researchers and developers to build on this architecture, potentially accelerating innovation in AI-based document analysis.

Amazon

document scanner with OCR

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

Baidu’s OCR Evolution and Industry Benchmarks

Prior to this release, OCR models typically processed documents page-by-page, which introduced challenges like loss of context across pages, errors in reading order, and increased processing time. Baidu’s earlier models, such as DeepSeek-OCR, laid the groundwork with attention mechanisms but faced limitations in scaling to long documents due to linear memory growth. The emergence of models like PaddleOCR-VL and Zhipu’s GLM-OCR provided high accuracy on individual pages but still relied on splitting documents. Baidu’s new architecture addresses these issues directly, offering a practical solution for seamless long-document reading, as validated by internal benchmarks and comparisons with existing models.

“Unlimited-OCR demonstrates that fixed memory attention mechanisms can revolutionize long-document OCR, enabling true single-pass processing without sacrificing accuracy.”

— Baidu Research Team

Amazon

long document OCR software

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

Unresolved Questions About Model Performance and Adoption

While Baidu’s internal benchmarks are promising, it is not yet clear how Unlimited-OCR will perform in diverse, real-world environments outside controlled tests. The actual accuracy on external datasets, long-term robustness, and how it compares with commercial cloud OCR solutions remain to be validated. Additionally, the impact of the model’s open-source release on the competitive landscape and industry adoption is still developing, with some industry players awaiting further independent evaluations.

Amazon

AI-powered OCR scanner

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

Next Steps for Deployment and Industry Impact

Baidu is expected to continue refining Unlimited-OCR and provide broader testing results. Industry adoption may increase as organizations evaluate the model’s capabilities in practical applications, especially in sectors requiring long-document analysis. Future updates could include optimized deployment tools, expanded benchmarks, and community-driven improvements. Monitoring how competitors respond with similar innovations will also be key to understanding the broader impact of this breakthrough.

Amazon

multi-page document reader

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

Key Questions

How does Unlimited-OCR process multiple pages in one pass?

It uses a novel attention mechanism called Reference Sliding Window Attention (R-SWA), which maintains a fixed-size memory, allowing the model to read and process dozens of pages simultaneously without increasing memory use or latency.

Can Unlimited-OCR be used on standard hardware?

Yes, the model is designed to run on common hardware setups, supporting Docker and community quantizations, making it accessible for local deployment without requiring specialized infrastructure.

How does its accuracy compare with existing OCR models?

On internal benchmarks, Unlimited-OCR scores slightly below the highest page-by-page models like PaddleOCR-VL and GLM-OCR but offers significant advantages in processing long documents in one pass, which those models do not support efficiently.

Will this model be integrated into commercial OCR services?

It is not yet confirmed, but Baidu’s open-source release suggests potential for integration into both open-source projects and commercial products, depending on industry demand and further validation.

Source: ThorstenMeyerAI.com

You May Also Like

The European Bet: How Mistral, Aleph Alpha, and Black Forest Labs Are Playing a Different Game

European AI firms Mistral, Aleph Alpha, and Black Forest Labs are positioning for the EU AI Act enforcement, emphasizing compliance and sovereignty over frontier capabilities.

The Power Of AI’s Constant Radar For Safeguarding And Strategizing

Exploring how AI-enhanced synthetic aperture radar (SAR) satellites provide persistent, precise ground monitoring, transforming defense, enterprise, and humanitarian efforts.

Rebrandable client delivery dashboard for AI agencies

A new rebrandable client delivery dashboard for AI agencies is set for initial testing, aiming to improve client transparency and trust.

The Market Of Sovereignty Is Real — Thanks To AI And A Notable Sale

Germany’s AI infrastructure advances with a new private cloud, government funding, and a major acquisition, confirming the rising market for sovereign AI.