Qianfan-OCR 4B on Apple M5 Pro (64 GB)
Can the Apple M5 Pro (64 GB) run Qianfan-OCR 4B?
Yes, it runs great
Runs great. At Q6_K it needs about 9.5 GB of 48.0 GB usable, with an estimated speed of 47.5 tok/s.
- Best quant
Q6_K- Generation speed
- 47.5 tok/s
- Prompt processing
- 1,230 tok/s
- First token (1K prompt)
- 0.8 s
- Largest safe context
- 32K
Best app to run it on the Apple M5 Pro (64 GB)
On macOS
- Point-and-click: search, download and chat in one window.
Download Qianfan-OCR 4B
Quantized files · GGUF
Works in LM Studio, llama.cpp, Jan and Ollama. No sign-in needed.
huggingface.co/ggml-org/Qianfan-OCR-GGUF (opens in a new tab)
ollama run hf.co/ggml-org/Qianfan-OCR-GGUFOriginal weights · Hugging Face
Full-precision files from Baidu, for fine-tuning, vLLM, Transformers.
Official repo · GitHub
Reference code, inference scripts and docs from Baidu. The weights themselves download from Hugging Face.
github.com/baidubce/Qianfan-VL (opens in a new tab)
git clone https://github.com/baidubce/Qianfan-VLHow it’s rated
Match score
To order lists, each result also gets a match score out of 100 from four parts. It favors the most capable model that still runs well.
| Model quality | 22.3 / 45 | |
|---|---|---|
| Memory fit | 25.0 / 25 | |
| Speed | 15.0 / 15 | |
| Memory use | 4.6 / 15 | |
| Match score | 66.9 / 100 |
Every quantization on the Apple M5 Pro (64 GB)
| Quant | Memory needed | Available | Speed | Runs | Quality | Download |
|---|---|---|---|---|---|---|
Q2_K | 7.5 GB | 48.0 GB | 112 tok/s | Runs great | 35Basic quality (D) · 35 of 100: how capable the model is at Q2_K, whatever it runs on. Match score 59/100 (quality, fit, speed and memory use) sets the ranking. | GGUF files (opens in a new tab) |
Q3_K_M | 8.0 GB | 48.0 GB | 88.5 tok/s | Runs great | 42Fair quality (C) · 42 of 100: how capable the model is at Q3_K_M, whatever it runs on. Match score 62/100 (quality, fit, speed and memory use) sets the ranking. | GGUF files (opens in a new tab) |
Q4_K_M | 8.5 GB | 48.0 GB | 68.5 tok/s | Runs great | 47Fair quality (C) · 47 of 100: how capable the model is at Q4_K_M, whatever it runs on. Match score 65/100 (quality, fit, speed and memory use) sets the ranking. | GGUF files (opens in a new tab) |
Q5_K_M | 9.0 GB | 48.0 GB | 56.6 tok/s | Runs great | 48Fair quality (C) · 48 of 100: how capable the model is at Q5_K_M, whatever it runs on. Match score 66/100 (quality, fit, speed and memory use) sets the ranking. | GGUF files (opens in a new tab) |
Q6_K | 9.5 GB | 48.0 GB | 47.5 tok/s | Runs great | 49Fair quality (C) · 49 of 100: how capable the model is at Q6_K, whatever it runs on. Match score 66/100 (quality, fit, speed and memory use) sets the ranking. | GGUF files (opens in a new tab) |
Q8_0 | 10.7 GB | 48.0 GB | 34.9 tok/s | Runs great | 50Fair quality (C) · 50 of 100: how capable the model is at Q8_0, whatever it runs on. Match score 66/100 (quality, fit, speed and memory use) sets the ranking. | GGUF (opens in a new tab) |
F16 | 15.1 GB | 48.0 GB | 16.1 tok/s | Runs well | 50Fair quality (C) · 50 of 100: how capable the model is at F16, whatever it runs on. Match score 64/100 (quality, fit, speed and memory use) sets the ranking. | GGUF (opens in a new tab) Original weights (opens in a new tab) |
Memory figures assume 8K of context. Longer conversations or documents grow the KV cache.
Other hardware that runs it
-
50Fair quality (C) · 50 of 100: how capable the model is at F16, whatever it runs on. Match score 77/100 (quality, fit, speed and memory use) sets the ranking.
NVIDIA GeForce RTX 4070 Ti SUPER
-
50Fair quality (C) · 50 of 100: how capable the model is at F16, whatever it runs on. Match score 77/100 (quality, fit, speed and memory use) sets the ranking.
NVIDIA GeForce RTX 4080 SUPER
-
50Fair quality (C) · 50 of 100: how capable the model is at F16, whatever it runs on. Match score 77/100 (quality, fit, speed and memory use) sets the ranking.
NVIDIA GeForce RTX 5070 Ti
-
50Fair quality (C) · 50 of 100: how capable the model is at F16, whatever it runs on. Match score 77/100 (quality, fit, speed and memory use) sets the ranking.
NVIDIA GeForce RTX 5080
-
49Fair quality (C) · 49 of 100: how capable the model is at Q6_K, whatever it runs on. Match score 77/100 (quality, fit, speed and memory use) sets the ranking.
NVIDIA GeForce RTX 4060
-
50Fair quality (C) · 50 of 100: how capable the model is at Q8_0, whatever it runs on. Match score 76/100 (quality, fit, speed and memory use) sets the ranking.
Intel Arc B580
Estimates come from published hardware specs and our open formulas, not from running the model on your machine. Real speed varies with runtime, drivers and settings. Numbers marked “Measured” come from a linked benchmark.