TL;DR
Baidu released Unlimited-OCR, an open-source AI model that can read multi-page PDFs in one pass using innovative memory techniques. It outperforms previous models in long-document accuracy and speed, marking a significant technical advance.
Baidu has open-sourced Unlimited-OCR, a 3-billion-parameter model capable of parsing entire multi-page documents in a single forward pass within a standard 32K context window. This development, announced on June 22, 2026, represents a significant technical achievement in OCR technology, enabling faster and more accurate long-document reading on local hardware.
The model, released under an MIT license and hosted on Hugging Face, is based on Baidu’s DeepSeek-OCR architecture, with key innovations including Reference Sliding Window Attention (R-SWA). R-SWA replaces linear memory growth with a fixed-size cache, allowing the model to process dozens of pages without increasing memory use or latency. According to the technical report, Unlimited-OCR achieves a throughput of approximately 5,580 tokens per second, outperforming earlier models like DeepSeek-OCR by over 12%. In benchmark tests such as OmniDocBench, it scores 93.23 overall, positioning it at the top of end-to-end document parsing rankings, especially for long documents. Baidu emphasizes that this is less a revolutionary leap and more an architectural refinement, improving efficiency and reproducibility.
While some viral claims suggested the model would ‘kill’ the OCR industry, experts clarify that it is an incremental but important advance focused on long-document processing, not necessarily superior in single-page accuracy. The model’s lineage traces back to Baidu’s DeepSeek-OCR, with notable improvements in memory management and throughput. The model is supported by community tools, including Docker and quantizations for various platforms, making it accessible for local deployment.
Impact of Constant Memory Architecture on OCR
The key innovation of Unlimited-OCR—the use of Reference Sliding Window Attention—addresses a longstanding bottleneck in decoder-based OCR models: linear growth of memory and latency with output length. This allows the model to process multi-page documents in a single pass, significantly improving speed and accuracy for long texts. For industries relying on extensive document digitization, such as legal, academic, and governmental sectors, this could reduce processing times and improve data integrity. Additionally, Baidu’s open-source release provides a reproducible, high-performance alternative for local deployment, potentially shifting the landscape of OCR tools available outside cloud services. However, the model does not surpass all existing models in single-page accuracy, positioning it as a specialized long-document reader rather than a universal replacement.
As an affiliate, we earn on qualifying purchases.
Background and Technical Foundations of Unlimited-OCR
Prior to this release, OCR models like Baidu’s PaddleOCR-VL and Zhipu’s GLM-OCR achieved higher single-page accuracy but relied on page-by-page processing, which complicates long-document reading and cross-page referencing. Baidu’s DeepSeek-OCR, released earlier, introduced a transformer-based architecture optimized for visual understanding, but still faced the challenge of increasing memory demands with longer outputs. The June 2026 release builds on this foundation, incorporating a novel attention mechanism—R-SWA—that maintains constant memory use regardless of document length. The development was a result of iterative fine-tuning, with only about 4,000 training steps on top of DeepSeek-OCR, highlighting its architectural focus rather than brute-force training.
“Reference Sliding Window Attention allows the model to process dozens of pages in a single pass without increasing memory or latency.”
— Baidu AI researcher
As an affiliate, we earn on qualifying purchases.
Limitations and Unanswered Questions About Unlimited-OCR
While the model demonstrates impressive long-document processing, its accuracy on single-page tasks remains slightly below top benchmarks like PaddleOCR-VL and GLM-OCR. The reported improvements are based on internal benchmarks such as OmniDocBench, and independent evaluations are not yet available. It is also unclear how well the model performs on diverse real-world documents outside controlled tests, especially with complex layouts or low-quality scans. Additionally, the actual impact of the model on the OCR industry, including potential shifts in commercial offerings, remains to be seen.
As an affiliate, we earn on qualifying purchases.
Next Steps for Adoption and Evaluation
Baidu plans to continue benchmarking Unlimited-OCR across various datasets and real-world applications. The open-source release invites community testing and adaptation, potentially leading to further improvements. Industry analysts will watch for independent evaluations comparing its performance on diverse document types. Baidu may also develop commercial or cloud-based services based on this architecture, extending its reach. Researchers and developers are expected to explore the R-SWA mechanism for other sequence-processing tasks, broadening its impact beyond OCR.
As an affiliate, we earn on qualifying purchases.
Key Questions
How does Unlimited-OCR differ from previous models?
It introduces Reference Sliding Window Attention, which keeps memory use constant regardless of document length, enabling single-pass processing of multi-page documents.
Can I run Unlimited-OCR locally?
Yes, the model is available under an MIT license on Hugging Face, with support for Docker, Transformers, and community quantizations, making local deployment feasible.
Does this model outperform existing OCR models?
In long-document tasks, it offers significant advantages in speed and memory efficiency, but in single-page accuracy, models like PaddleOCR-VL still hold higher scores.
What are the limitations of Unlimited-OCR?
Its performance on complex, low-quality, or highly varied documents outside benchmark tests remains to be verified. Its accuracy on single-page tasks is slightly below some top models.
Source: ThorstenMeyerAI.com