Granite Vision 4.1 OCR, tested on a Mac
95.0%
of 6,175 table cells right, from pictures
Built for tables and charts
IBM released it in April 2026 (Apache 2.0). A tag in the prompt picks the job:
| Tag | You get |
|---|---|
<tables_html> |
Tables as HTML (also JSON or OTSL) |
<chart2csv> |
Chart data as CSV (also a summary or Python) |
| A JSON schema | Form fields as JSON |
There is no OCR tag. The card never says OCR, and it warns the model "may not generalize well to open-ended vision-language tasks."
Plain OCR anyway: 1,913 of 1,955 words
My 28-engine test scan: 10 book pages. No tag, just a prompt, in mlx-vlm on the Mac GPU.
| Model | Words | Seconds |
|---|---|---|
| Granite Vision 4.1 4B, line prompt | 1,913 | 90.4 |
| Granite Vision 4.1 4B, short prompt | 1,902 | 75.2 |
| Qwen3-VL 4B, short prompt | 1,951 | 74.7 |
| Granite-Docling 258M | 1,897 | 54.4 |
| Tesseract 5.5.4 | 1,878 | 23.7 |
Few letters were wrong. Like Granite-Docling, it adds a space after an opening quote and before ? and !, so words fail to match.
1,941 words with those spaces closed
9.8 GB memory at peak
Tables, its real job: 95.0% of cells
My Table Transformer test: 72 one-page PDFs, 6,175 cells, most without full grid lines. Granite Vision saw only a picture of each page.
| Way | Cells right | Tables exact |
|---|---|---|
| Granite Vision 4.1, picture | 95.0% | 43 |
| Our pdf-ocr Actor's code, text layer | 89.4% | 55 |
| Docling, text layer | 88.5% | 52 |
| Table Transformer and Tesseract, picture | 81.1% | 18 |
253 of 256 cells on 4 noisy scans (our Actor's code: 254)
14.7 s a table, median
But it got fewer whole tables right (43 of 72) than the text-layer tools (55 and 52).
The catch: it changes some digits
24 cells with other digits or signs
12 of 72 tables with one
- 930 kWh became 938 kWh
- -$45.22 became -$545.22
- +0.25 became -0.25
- Oxlade, MT became Oxland, MT
It also changed rare names, like Odalys to Odalyss. Text-layer tools copy both from the PDF. With a picture model, check numbers and names before you use them.
NVIDIA's page readers on the same test: Nemotron Parse 2.0 and 3.5, tested.
Run it on a Mac: 2 commands
pip install mlx-vlm==0.7.12
mlx_vlm.generate --model ibm-granite/granite-vision-4.1-4b --image table.png --prompt "<tables_html>" --max-tokens 4096 --temperature 0
The first run downloads 8.0 GB. For text, use a prompt like "Read all the text in the image." instead of the tag.
To close the quote spaces:
import re
text = re.sub(r'(^|\s)(["\'])\s+', r'\1\2', text, flags=re.M)
text = re.sub(r'\s+([?!])', r'\1', text)
Not in Ollama's library or LM Studio yet
- Ollama's library has no Granite Vision 4.x. IBM's own Ollama page stops at Granite Vision 3.3 2B.
- LM Studio's catalog has no Granite Vision 4.1.
- IBM posts GGUF files for llama.cpp, from 2.10 GB (Q4_K_M) to 6.81 GB (bf16).
- For NVIDIA GPUs, the card asks for transformers 5.8.0 or newer, or vLLM 0.21.0 or newer.
IBM's own scores are for extraction
- Form fields: 94.2% exact match on VAREX, a forms test, per IBM's card.
- Charts and tables: IBM shows its numbers only as images.
- Text: LlamaIndex's ParseBench, filed in the model's repo, gives it 64.43 for text content, last of 35 on its board. It scores whole pages.
- OCRBench: no score for 4.1 that I could find. More in OCRBench vs real pages.
Scanned PDFs to text, no GPU
Our pdf-ocr Actor on the Apify Store reads scanned PDFs on a CPU, in 23 languages. Its code at build 0.1.66 found 1,879 of the 1,955 words on this scan, in a Nov 14 run.
- Scanned pages: $0.006 each. Digital pages: free. Plus a $0.00005 start fee a run at the default 1 GB.
- On Apify's free plan, it stops at 20 pages a run and 50 a month.
How I tested it
- Model: ibm-granite/granite-vision-4.1-4b at commit 12e928af, the full bf16 weights (8.0 GB), in mlx-vlm 0.7.12 with MLX 0.32.4. One picture at a time, temperature 0, up to 4,096 tokens.
- Scan: 10 proofread pages of 2 public domain books on English Wikisource, 1920 px color JPEGs, 1,955 words. The same scan as my 28-engine test. Granite-Docling read a PDF of the same images.
- Prompts: short "Read all the text in the image." and line "Transcribe all the text on this page, line by line, from top to bottom. Output only the text."
- Score: true words found in order. Extra words do not lower a score. Granite Vision and Qwen3-VL times add up the page calls, without the model load. Granite-Docling is the whole Docling command, with the model load. Tesseract is 10 runs of the tesseract command.
- Qwen3-VL 4B: its 8-bit MLX copy, same runtime and short prompt, on Nov 21 for my OCRBench page. Granite-Docling: Docling 2.150.0 on Nov 12. Tesseract 5.5.4: Nov 21.
-
Tables: the test of my
Table Transformer page, 72
one-page PDFs drawn as 200 dpi pictures, plus its 4 scanned grid
tables. Tag
<tables_html>, HTML turned into rows, scored cell by cell. - The other table rows are from my Table Transformer page: our Actor's code at build 0.1.102, run on the same Mac (its table code is the same in today's build 0.1.116), and Docling 2.143.1 with no OCR.
- Times are the model call alone, without the model load. Table times are the median of the 72 PDFs. No answer hit the token limit.
- macOS 26.6 on an Apple M5 Max, at background priority.
What I did not test
- Charts, form fields (key-value) and handwriting.
- Languages other than English.
- The GGUF files, Ollama uploads, vLLM, or an NVIDIA GPU.
- 8-bit or 4-bit MLX copies.
- Tables in real business documents, or spanning cells.
Sources
Questions people ask
Can Granite Vision 4.1 do OCR?
It has no OCR tag, but a plain prompt works. It found 1,913 of 1,955 words on 10 scanned book pages. Most misses were spaces it added next to quote marks and before question marks.
Is Granite Vision 4.1 in Ollama?
Not in Ollama's own library, and IBM's Ollama page stops at Granite Vision 3.3. IBM posts GGUF files for llama.cpp, and two people uploaded their own builds to Ollama.
What license is Granite Vision 4.1?
Apache 2.0, per its model card and IBM's docs. The repo has no extra terms.