Unlimited-OCR-2
Unlimited-OCR-2 is an open-weight vision and language model from Baidu ERNIE with 3.3B parameters (mixture of experts). At 4-bit it needs about 2.8 GB of memory, so the smallest current device that fits it is the Mac mini M6 (16GB).
Overview
Includes room for an 8k context and runtime overhead. More context needs more memory.
Key information
- Lab
- Baidu ERNIE
- Released
- 26 Oct 2026
- Parameters
- 3.3B · MoE
- Type
- Vision and language
- Context
- 131,072 tokens
- License
- MIT
- HF downloads, 30 days
- 525,885
- Repository
- baidu/Unlimited-OCR-2
More from Baidu ERNIE
View allWill it run on your hardware?
How we estimate| Estimate or device | Memory |
|---|---|
| Q4 | 2.8 GB |
| Q8 | 4.5 GB |
| BF16 | 7.9 GB |
| RTX 5060 Ti 16 GB | 16 GB usable |
| RTX 5090 32 GB | 32 GB usable |
| DGX Spark 128 GB | 108.8 GB usable |
| Mac Studio M5 Ultra 256 GB | 192 GB usable |
Single-device memory estimate. Pick a device to update the On your device column.
36 GB usable memory
| Format | Memory needed | On your device | Example hardware |
|---|---|---|---|
| 4-bit (Q4) | ≈ 2.8 GB | Fits 8% | Mac mini M6 (16GB)16 GB memory |
| 8-bit (Q8) | ≈ 4.5 GB | Fits 13% | Mac mini M6 (16GB)16 GB memory |
| 16-bit (BF16) | ≈ 7.9 GB | Fits 22% | Mac mini M6 (16GB)16 GB memory |
Fits means the estimate stays within 90% of usable memory. Tight is above 90% and up to 100%. Too big is above 100%. These are memory checks, not speed or compatibility tests.
Mac allowances are 66% of total RAM up to 36 GB, and 75% above. AI boxes allow 85% because their memory is shared with the operating system.
Where to run it
On a Mac
Start with the MLX files, built for Apple Silicon.
mlx-community/Unlimited-OCR-2-8bitCheck your MacThrough an API
No hosted API found.
mlx_vlm.generate --model mlx-community/Unlimited-OCR-2-8bit \
--prompt "Describe this image." --image image.jpgExample commands built from the repository ids above. They need a working install of MLX. We have not run them; check each repository for available files.
More about this model
Frequently asked questions
How much memory does Unlimited-OCR-2 need? At an 8k context, about 2.8 GB at 4-bit, 4.5 GB at 8-bit and 7.9 GB at 16-bit (BF16). A longer context needs more.
Can I run Unlimited-OCR-2 on a Mac? The smallest current Mac that fits the 4-bit estimate of 2.8 GB is the Mac mini M6 (16GB). An MLX build is available: mlx-community/Unlimited-OCR-2-8bit.
Does the full context fit? Unlimited-OCR-2 supports up to 131,072 tokens of context. Our memory estimates use 8k, so long prompts need more memory than shown.
What does it cost through an API? We did not find a hosted API for this model.
License in plain English
MIT. This license permits commercial use, modification and redistribution, as long as the copyright and license notice are kept. This summary is not legal advice.
OMHQ RigBench
Not yet tested. We show no speed or quality score without a measurement.
Revision history and sources
Last updated . Sources:Hugging Face model card, MLX repository.