B
BAIDU / baidu/Unlimited-OCR-2

Unlimited OCR 2

Baidu model for extracting content from multi-page documents, announced on October 27, 2026. SR-SWA retains working references within a finite window to reduce attention cost growth. Input consists of page images in order and output is structured text. PDFs require prior conversion into images. Repository creation the previous day does not replace the announcement date.

01 / SUMMARY

The essential

ORIENTATIONOCR for long documents

Primary use stated or inferred cautiously from official documentation.

CONTEXTNot published

Maximum input capacity when published by the source.

EXITNot published

Documented maximum generation limit.

ACCESSHugging Face

Verified availability channels.

MODEL TYPEVision and documents

Primary functional family and verified specialties.

LICENSEMIT

Declared terms for API access, model weights, or self-hosting.

02 / TECHNICAL SHEET

Limits and integration

API IDbaidu/Unlimited-OCR-2
Model typeVision and documents
Access modelOpen weights
LicenseMIT
DeploymentSelf-hosting with Transformers or SGLang
Release27 OCT 2026
Knowledge cutoffNot published
EntranceText · Image
ExitText
Context windowNot published
maximum outputNot published
ReasoningNot published
Published tools
Structured OutingsNot published
Batch processingNot published
Prompt cacheNot published
Fine-tuningNot published
Verified platformsHugging Face · Transformers · SGLang
BEST SUITED FOR

Processing books and reports, recognizing tables, formulas, headings and cross-page relationships. Transformers supports single- and multi-page inference; SGLang adds serving with page windows. The card uses a working reference set of 512 tokens as an SR-SWA example, not as the document's total input limit.

WORTH MONITORING

The unlimited-horizon name does not guarantee infinite documents, constant memory for the entire service or perfect accuracy. The example configuration limits output per page and concurrency; these are not universal model maxima. Custom code and an adapted SGLang version are required: pin and review dependencies before executing trust_remote_code.

03 / CAPABILITIES

What it can do

01

Orientation

Processing books and reports, recognizing tables, formulas, headings and cross-page relationships. Transformers supports single- and multi-page inference; SGLang adds serving with page windows. The card uses a working reference set of 512 tokens as an SR-SWA example, not as the document's total input limit.

02

Context

Not published · Not published

03

Tools and integration

Not published

04

Access

Hugging Face

Input modalities
TextImage
04 / PRICES

Documented cost

ConceptWorthUnit/condition
Standard inputNo published official API rateStandard API rate
Cached inputNot publishedReading reused prefixes
Cache write or storageNot publishedThe condition varies by provider
Standard outputSelf-hosted infrastructure costMay include reasoning tokens
Batch inputNot publishedAsynchronous processing
Batch outputNot publishedAsynchronous processing

The card declares MIT and the official repository publishes that license. We have not verified a specific commercial price for Unlimited OCR 2; cloud availability of the previous OCR model does not establish an endpoint for this version. The published test environment uses an 80 GB NVIDIA A800, without demonstrating a minimum requirement.

i Prices change and may depend on level, region or context length. Check the source before making a decision.

05 / EVALUATIONS

How to read the results

“

The official chart reports overall scores of 84.6 out of 100 on MPDocBench and 77.1 out of 100 on MarathonDocBench. It distinguishes documents with dozens and hundreds of pages. The figures are transcribed from this version's official asset, not Unlimited-OCR 1. These are not independent Inferama measurements; comparisons require preserving datasets, window configuration and evaluation rules.

BenchmarkResultMetricSource
MPDocBench84,6 / 100Overall score (0–100)View source ↗
MarathonDocBench77,1 / 100Overall score (0–100)View source ↗

Inferama only highlights a “best result” when the metric, test set, configuration, and date allow for an equivalent comparison. The supplier's figures are presented as claims from its own source.

06 / VERSIONS

Chronology

Unlimited OCR 2

Version added to Inferama's verified catalog.

07 / SOURCES

Traceability