Workflows/Extract text from documents locally with MiniCPM-OCR 1.0
Text / WORKFLOW
Extract text from documents locally with MiniCPM-OCR 1.0
Run OpenBMB’s 1.3B MiniCPM-OCR 1.0 with Ollama on Windows, Mac or Linux, extract a document page image to a text file, and check it against the original.
Verified sourceSource checked 11/9/2026
LOCAL
Freshness 93 out of 100. Release age: 18 days old, Oct 27, 2026. Measures age, not quality.93/ 100Freshness18 days oldRelease age · Oct 27, 2026
Popularity 70 out of 100. 143,265 downloads in 30 days; 457 lifetime likes. Checked Nov 13, 2026. Measures adoption, not quality.70/ 100Popularity143.3K downloads / 30d457 lifetime likes · Checked Nov 13, 2026
What do these scores mean?+
Two ways to compare models. Neither score measures answer quality, benchmark performance, or whether a model fits your machine.
Freshness · release age
A new release starts at 100. The score halves every 180 days: 100 × 2^(−age in days / 180). When the release date is unavailable, a repository date is a fallback—not proof of when the model was released. Missing dates stay unscored.
Downloads over the past 30 days carry 80% of the score; lifetime likes carry 20%. Both use a logarithmic scale, capped at 10 million downloads and 100,000 likes. If likes are unavailable, downloads carry all the weight. Missing download statistics stay unscored.
Scores as of Nov 14, 2026. Statistics checked Nov 13, 2026. Statistics are marked for refresh after 72 hours.Full scoring method →
Before you begin
Hardware
Estimates for one page image at the default context. Not measured by YouRunAI; OpenBMB reports about 1.2 pages per second on an RTX 5090 with its accelerated vLLM pipeline, not this Ollama route.
Machine
MiniCPM-OCR 1.0 · Q4_K_M
MiniCPM-OCR 1.0 · Q8_0
MiniCPM-OCR 1.0 · F16
NVIDIA · 6 GB VRAM
Fits on the GPU
Fits on the GPU
Fits on the GPU
AMD Radeon · 8 GB VRAM
Uses Ollama’s supported ROCm/Vulkan driver; CPU fallback otherwise
Same driver requirement
Same driver requirement
Intel Arc · 8 GB VRAM
Runs on CPU unless Ollama’s Vulkan backend detects the GPU; still practical
Same; still practical
Same; slower on CPU
Apple Silicon · 8 GB unified memory
Comfortable
Comfortable
Works; close other apps
CPU only · 8 GB RAM
Practical for single pages
Practical, slightly slower
Slower; prefer Q4_K_M
PRIVATE OCR · OLLAMASOURCE-LINKED SETUP
Extract text from documents locally with MiniCPM-OCR 1.0
Install Ollama, pull OpenBMB’s official package and turn a page image into a text file on your own computer. Then check it line by line against the page.
Choose a package Run its commands Check the result
01
BEFORE YOU BEGIN
Choose your package
Select the weights you want. The instructions, downloads and settings change with your choice.
The publisher has not provided a complete memory target for this task. Check its hardware guidance before starting.
CURRENT SETUP
MiniCPM-OCR 1.0 · Q4_K_M · official
Start at 16,384 tokens of context, Ollama’s default for this package, for one page. The 1.4 GB package needs a little more memory than its size; very large page images use more context, so reduce the image to about 2,000 pixels on the long side if memory is short.
Freshness 93 out of 100. Release age: 18 days old, Oct 27, 2026. Measures age, not quality.93/ 100Freshness18 days oldRelease age · Oct 27, 2026
Popularity 70 out of 100. 143,265 downloads in 30 days; 457 lifetime likes. Checked Nov 13, 2026. Measures adoption, not quality.70/ 100Popularity143.3K downloads / 30d457 lifetime likes · Checked Nov 13, 2026
What do these scores mean?+
Two ways to compare models. Neither score measures answer quality, benchmark performance, or whether a model fits your machine.
Freshness · release age
A new release starts at 100. The score halves every 180 days: 100 × 2^(−age in days / 180). When the release date is unavailable, a repository date is a fallback—not proof of when the model was released. Missing dates stay unscored.
Downloads over the past 30 days carry 80% of the score; lifetime likes carry 20%. Both use a logarithmic scale, capped at 10 million downloads and 100,000 likes. If likes are unavailable, downloads carry all the weight. Missing download statistics stay unscored.
Choose where you want to run it. The instructions below update to match your selection.
CHOOSE YOUR SETUPWindows
01
Install Ollama for Windows
Download and install the current Ollama release, then make sure it is running. On Linux the official one-line installer sets it up as a service. Use the latest version: older releases may not recognise this new model architecture.
In PowerShell, pull OpenBMB’s official Q4_K_M package (1.4 GB, vision projector included). Ollama stores it for you, so there is no model folder to manage.
Create a folder named ocr-test in your home folder and save a clear image of one document page in it as page.png: a scan, a phone photo of a printed page, or a PDF page exported as PNG. MiniCPM-OCR is trained for English and Chinese documents, including tables and formulas.
04
Extract the text into a file
In PowerShell, run the command below. It uses OpenBMB’s documented “Text Recognition:” prompt and saves the model’s output to page.md next to the image. A one-page document usually finishes in seconds once the model is loaded.
Open page.md beside page.png and compare a few lines, numbers and any table cells. Plain text comes back as text; OpenBMB documents formulas as LaTeX. Correct anything the model misread before relying on it. Run the same command with another image to process the next page.
03
SUCCESS CHECK · MiniCPM-OCR 1.0 · Q4_K_M
A text file you checked against the page
page.md holds the recognised text from page.png, and spot checks of lines, numbers and table cells match the original page.
This guide covers one page image at a time through Ollama. For whole PDFs with layout, tables and reading order, use the companion guide Convert PDFs to Markdown locally with MiniCPM-OCR 1.0. Commands checked November 9, 2026; not run by YouRunAI.