# Unlimited-OCR-2

> Source: LMSpeed (https://lmspeed.net) — https://lmspeed.net/model/unlimited-ocr-2. When citing or reusing this content, credit "LMSpeed" and link to https://lmspeed.net/model/unlimited-ocr-2.

Baidu's MIT-licensed ~3B OCR model uses SR-SWA for cross-page parsing. Transformers/SGLang supported. No standard token price; Baidu Cloud offers a...

Canonical URL: https://lmspeed.net/model/unlimited-ocr-2
Last updated: 2026-10-27

Reproduction and quotation must name LMSpeed, link to the canonical HTML URL, and retain individual source citations.

Baidu's MIT-licensed ~3B OCR model uses SR-SWA for cross-page parsing. Transformers/SGLang supported. No standard token price; Baidu Cloud offers a page-based API trial.

LLM

Official API price

Not published

## Specifications

[[1]](https://lmspeed.net/model/unlimited-ocr-2#model-source-1)

Model weights

Open weights

License

[MIT](https://lmspeed.net/model/license/mit)[[1]](https://lmspeed.net/model/unlimited-ocr-2#model-source-1)

Official context window

131.1Ktokens

131,072 tokens · [[1]](https://lmspeed.net/model/unlimited-ocr-2#model-source-1)

≈ 157.3 pages of text

8K128K1M4M

131.1K

### Technical Details

Released

Oct 2026

Documentation

[Documentation](https://huggingface.co/baidu/Unlimited-OCR-2)[HuggingFace](https://huggingface.co/baidu/Unlimited-OCR-2)[Ollama](https://ollama.com/search?q=Unlimited-OCR-2)

Reported product launch

2026-10-27 · Hugging Face and GitHub official release · Baidu official model card[[1]](https://lmspeed.net/model/unlimited-ocr-2#model-source-1)

Total parameters (billions)

3.343978497

Self-hosting hardware · NVIDIA A800-80GB (BF16; publisher-tested)

[Transformers 4.52.1 · Publisher-reported · 2026-10-27](https://huggingface.co/baidu/Unlimited-OCR-2)

API model ID

baidu/Unlimited-OCR-2

Input modalities

text / image

Output modalities

text

## Detailed scores

Updated: Oct 27, 2026

#### Multimodal

2 metrics

MPDocBench Overall (Baidu self-reported)84.6#1 / 1MarathonDocBench Overall (Baidu self-reported)77.1#1 / 1

Benchmark

Score

LMSpeed rank

Updated

Confidence

MPDocBench Overall (Baidu self-reported)[[2]](https://lmspeed.net/model/unlimited-ocr-2#model-source-2)

Score84.6

LMSpeed rank#1/1

UpdatedOct 27, 2026

Confidence-

MarathonDocBench Overall (Baidu self-reported)[[2]](https://lmspeed.net/model/unlimited-ocr-2#model-source-2)

Score77.1

LMSpeed rank#1/1

UpdatedOct 27, 2026

Confidence-

## Frequently Asked Questions

### What is the Unlimited-OCR-2 API price?

Not published

## Sources & notes

- [1]

[Official model documentation · Baidu official model card · Model license](https://huggingface.co/baidu/Unlimited-OCR-2)Checked: 2026-10-27

- [2]

[Benchize](https://benchize.com/)Checked: 2026-10-27

- [3]

[LMSpeed methodology](https://lmspeed.net/methodology)

Benchmark data comes from Benchize (benchize.com). Category scores are calculated by LMSpeed.

Download benchmark evidence (JSON)

---
Cite as: Unlimited-OCR-2 — LMSpeed, https://lmspeed.net/model/unlimited-ocr-2 (retrieved 2026-12-04)
