TL;DR
Baidu released Unlimited-OCR, a 3-billion-parameter model that can read entire multi-page documents in one forward pass. It introduces a new attention mechanism that maintains constant memory and improves speed, especially for long documents. This development challenges existing OCR models and enhances AI’s document processing potential.
Baidu has open-sourced Unlimited-OCR, a new OCR model that can process entire multi-page documents in a single forward pass using a standard 32K context window. This technical achievement, announced on June 22, 2026, introduces a novel attention mechanism that maintains constant memory, allowing for faster and more efficient document reading, especially for lengthy texts. This development could significantly impact AI document processing and challenge existing OCR solutions.
The model, named Unlimited-OCR, is based on Baidu’s earlier DeepSeek-OCR architecture and features a new mechanism called Reference Sliding Window Attention (R-SWA). Unlike traditional decoder-based OCR models, which experience linear growth in memory usage as output length increases, R-SWA maintains a fixed memory footprint by simulating a ‘soft forgetting’ process similar to human copyists. As a result, the model can parse dozens of pages in a single pass without external page splitting or stitching, reducing errors in reading order and table recognition across pages.
Released as open source under the MIT license, the model is available on Hugging Face and supports various deployment frameworks, including Transformers, vLLM, SGLang, and Docker. It achieves a throughput of approximately 5,580 tokens per second on the OmniDocBench benchmark, outperforming Baidu’s previous models and some competitors in speed and accuracy. On standard benchmarks, it scores over 93 points on OmniDocBench v1.5 and v1.6, with a notable ability to process long documents—up to 40 pages—with an error rate below 0.11, according to internal tests. However, the model does not outperform Baidu’s PaddleOCR-VL 1.5 or Zhipu’s GLM-OCR on single-page accuracy benchmarks.
Implications for Long-Document AI Processing
This breakthrough addresses a longstanding challenge in OCR: efficiently reading lengthy, multi-page documents without splitting or external stitching. By maintaining constant memory usage and consistent latency, Unlimited-OCR enables faster, more accurate processing of complex documents such as legal texts, scientific papers, and books. This advancement could reshape how AI handles large-scale document analysis, reduce reliance on external page segmentation, and improve accuracy in cross-page references and tables. It also demonstrates that architectural innovation, rather than just larger models, can lead to meaningful progress in AI OCR capabilities.

Epson Workforce ES-400 II High-Speed Color Duplex Desktop Document Scanner
- Fast Document Scanning: 50-sheet Auto Document Feeder for quick scans
- High-Speed Software: Epson ScanSmart for easy preview and sharing
- Seamless Software Integration: Compatible with most document management systems
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 like PaddleOCR and Zhipu’s GLM-OCR achieved high accuracy through page-by-page processing, but struggled with long documents and cross-page references. Baidu’s earlier DeepSeek-OCR laid groundwork with a cascaded architecture, but the introduction of R-SWA significantly improves long-document parsing. The release follows a pattern of Baidu pushing open-source models to challenge both proprietary cloud solutions and smaller local models, with recent benchmarks showing competitive scores on OmniDocBench. Despite some claims of high download figures, the actual adoption remains modest, with around 8,400 recent downloads as of July 2026.
“Unlimited-OCR introduces a novel attention mechanism that maintains constant memory, enabling efficient processing of multi-page documents in a single pass.”
— Baidu Research Team
As an affiliate, we earn on qualifying purchases.
Unanswered Questions About Practical Deployment
It remains unclear how well Unlimited-OCR performs outside of Baidu’s internal benchmarks, especially in real-world applications with diverse document types. The actual adoption rate and integration into commercial systems are still evolving, and its performance relative to proprietary cloud solutions or specialized OCR tools requires further independent testing. Additionally, the long-term robustness and ability to handle complex layouts or heavily formatted documents are still to be validated in broader contexts.
As an affiliate, we earn on qualifying purchases.
Next Steps for Broader Adoption and Evaluation
Following its open-source release, Baidu is likely to see community-driven testing and potential improvements. Industry players and researchers will evaluate its performance on diverse datasets, and Baidu may incorporate feedback into future versions. Monitoring how the model is adopted in real-world applications, especially in industries like legal, scientific, and publishing, will determine its practical impact. Further benchmarks and independent evaluations are expected to clarify its standing relative to other state-of-the-art OCR solutions.
As an affiliate, we earn on qualifying purchases.
Key Questions
How does Unlimited-OCR differ from previous models?
It uses Reference Sliding Window Attention (R-SWA) to maintain constant memory during long-document processing, unlike traditional models that experience linear memory growth.
Can Unlimited-OCR process multi-page documents in one pass?
Yes, it can parse dozens of pages in a single forward pass, significantly reducing errors related to page splitting and reading order.
Is Unlimited-OCR better than Baidu’s other OCR models?
It offers advantages in processing long documents efficiently, though it may not outperform models optimized for single-page accuracy like PaddleOCR-VL 1.5 on those specific benchmarks.
Will this model be available for commercial use?
Yes, it is released under the MIT license, allowing broad use and modification, though practical deployment depends on integration and performance in specific applications.
What are the limitations of Unlimited-OCR?
Its performance on diverse, heavily formatted, or complex documents outside of Baidu’s internal tests remains to be seen, and real-world adoption is still developing.
Source: ThorstenMeyerAI.com