I ran 7 local vision models through the same documents: an interface screenshot, a photo of a receipt at an angle, and an invoice with a table. Below is a short recommendation table, then the results for each model, and my conclusion on what to use and when.
Key takeaways in 10 seconds: the most accurate was the older qwen2.5vl:7b — no errors in three tests. The fastest was gemma4:e2b (10–15 s per document), but it loses digits in long numbers. Qwen3-vl models with the default tag "think" even with thinking disabled and work 2–5 times longer than qwen2.5vl.
Contents
📋 Recommendation Table
| Task | 8 GB RAM | 16 GB RAM |
| Invoices, IBAN, codes, any documents with numbers | qwen2.5vl:7b (barely) | qwen2.5vl:7b |
| Photos of documents and receipts at an angle | qwen2.5vl:7b (barely) | qwen2.5vl:7b |
| Tables → Markdown | qwen2.5vl:7b (barely) | qwen2.5vl:7b or qwen3.5:9b |
| Interface screenshots | gemma4:e2b | qwen2.5vl:7b or qwen3.5:9b |
| Fast rough processing of hundreds of files | gemma4:e2b | gemma4:e2b |
| Not recommended for OCR | gemma3:4b; qwen3-vl with default tag |
⚠️ About 8 GB: I tested on a machine with 16 GB. For the "8 GB" group, I rely on actual memory consumption during operation: on a Mac with 8 GB for GPU, approximately 5–5.5 GB is available. qwen2.5vl:7b uses 5.2 GB — it will fit, but with the browser closed and no other heavy programs.
🧪 How I Tested
- Hardware: MacBook Pro M1, 16 GB, Ollama 0.40.14.
- Documents: synthetic, generated for the test, with reference text for each. Cyrillic text is a tougher test than English: vision models are trained mostly on Latin, so errors are visible faster.
- Three scenarios: admin panel screenshot (1440×900), photo of a cash register receipt on a table at an angle, with shadow and blur (1600×1200), invoice with a table, IBAN, and amount in words (1240×1300).
- Settings: default Ollama — as a regular user would launch the model. Thinking disabled, prompt is the same for all models within a scenario, after each run the model was unloaded from memory.
- Measurement: speed (tokens/s), total response time including model loading, memory from
/api/ps data, number of tokens the model spent on the image.
For the runs, I wrote a small admin page in Spring Boot that runs models through the Ollama API, stores responses and metrics in Postgres, and provides Markdown tables. Therefore, all numbers below are from actual runs, not from model cards.
How I evaluated:
- ✅ — matches the reference (apostrophes and quotes don't count).
- ⚠️ — errors in letters or format, but data is correct.
- ❌ — at least one incorrect, lost, or extra digit in a number or identifier, or a word that changes the meaning.
💡 Why so strict: for OCR of documents, one lost digit in an IBAN is worse than ten typos in the text. A typo is visible to the eye, but an incorrect account number goes further into the system and breaks everything that relies on it.
📊 Summary Results
| Model | Screenshot | Receipt Photo | Invoice | Time for Invoice | Memory |
| qwen2.5vl:7b | ✅ | ✅ | ✅ | 48 s | 5.2 GB |
| qwen3.5:9b | ⚠️ | ❌ | ✅ | 41 s | 7.3 GB |
| gemma4:e2b | ⚠️ | ⚠️ | ❌ | 15 s | 1.6 GB* |
| nemotron-3.5-bolt:e4b | ⚠️ | ⚠️ | ❌ | 26 s | 6.8 GB |
| qwen3-vl:2b | ❌ | ❌ | ⚠️ | 87 s | 2.5 GB |
| qwen3-vl:4b | ❌ | ❌ | ❌ | 224 s | 4.0 GB |
| gemma3:4b | — | ❌ | ❌ | 21 s | 2.7 GB |
* gemma4:e2b memory appears low — explanation in the model section. "—" means the model was not tested on this scenario.
🔍 Results for Each Model
qwen2.5vl:7b — Most Accurate
ollama pull qwen2.5vl:7b · 5.7 GB on disk · 5.2 GB in memory · ~20 tokens/s
The only model without a single error in three tests. It correctly read IBAN with a long sequence of zeros, linked each amount on the receipt to its position, and produced correct Markdown tables. The downside is speed: 40–48 seconds per document. A previous generation model, but for accurate OCR, it's currently the best among those tested.
qwen3.5:9b — Almost on Par, but Sometimes "Hallucinates"
ollama pull qwen3.5:9b · 7.3 GB on disk · 7.3 GB in memory · ~19 tokens/s
The invoice — perfect. In the screenshot, it added square brackets around statuses and read version 2.7.1 as 2.71. On the receipt, it replaced a word with a similar-sounding one and missed the card payment amount. The model is multimodal out of the box, so if you already have it for chat or RAG, you might not need to download a separate OCR model. Only for 16 GB.
gemma4:e2b — Fastest, but Not for Numbers
ollama pull gemma4:e2b · 6.8 GB on disk · ~51 tokens/s
10–15 seconds per document — 3–4 times faster than the leaders. It reads text well, but on the invoice, it missed two groups of zeros in the IBAN, and on the receipt, one word came out half in Latin letters. For screenshots and quick draft processing — an excellent choice, for documents with numbers — no.
⚠️ About Memory: /api/ps showed 1.6 GB out of 6.8 GB on disk. Likely, some weights are not included in this metric. Before installing it on 8 GB, check the actual consumption in Activity Monitor during a response.
nemotron-3.5-bolt:e4b — Accurate Text, Ignores Format
ollama pull nemotron-3.5-bolt:e4b · 6.9 GB on disk · 6.8 GB in memory · 12–28 tokens/s
It reads the text itself cleanly, but on the screenshot and receipt, it ignored formatting instructions: instead of a table, it produced a column of lines, with amounts detached from their positions. On the invoice, it had the same IBAN error as gemma4. For its memory size, it loses to qwen2.5vl in both accuracy and usability.
qwen3-vl:2b and qwen3-vl:4b — Think Even When Asked Not To
ollama pull qwen3-vl:2b · 2.5 GB in memory · ollama pull qwen3-vl:4b · 4.0 GB in memory
The most unexpected result. With the default tag, both models generated thousands of reasoning tokens, even though thinking was disabled: 2–6 thousand tokens per document instead of ~300 for the rest. This led to times of 82–224 seconds. On the receipt, the 2B model didn't respond at all — it spent all its context on thinking. The errors were also telling: 4B replaced the status "Indexed" with a plausible but different word, missed a zero in the fiscal number, and changed the written amount. 2B read IBAN as the Cyrillic "ИВАН".
💡 Tip: If you want to try qwen3-vl for OCR, look for a non-reasoning (instruct) variant on the model's tag page in Ollama. The default tag is not suitable for text extraction.
gemma3:4b — Not for OCR
ollama pull gemma3:4b · 3.2 GB on disk · 2.7 GB in memory · ~37 tokens/s
The most errors in numbers: incorrect digit in the company code and receipt number, "0.3 l" became "6.3 l", Greek letters instead of Cyrillic, "authorization" became "automation". Fast and lightweight, but for text recognition, gemma4 has replaced it.
🧩 Why Some Models Lose Numbers
The IBAN in the test invoice is UA00, six groups of 0000, and another zero. This uniform sequence divided the models precisely by how many tokens they spend on images:
| Model | Tokens per Image | IBAN |
| gemma3:4b | 498 | ❌ |
| gemma4:e2b | 931 | ❌ |
| nemotron-3.5-bolt:e4b | 1 317 | ❌ |
| qwen3-vl:2b / 4b | 1 821 | ✅ |
| qwen3.5:9b | 1 833 | ✅ |
| qwen2.5vl:7b | 2 257 | ✅ |
A model that "looks" at the image more coarsely sees a long string of zeros and paraphrases it approximately rather than counting groups. That's why it's faster. The conclusion is simple: for documents with numbers, codes, and amounts, choose models that spend more tokens on images, even if they are slower.
📄 Models I Haven't Tested
I haven't run these models, so this is just a guideline, without evaluations:
- qwen3-vl:8b — an older version of the family for 16 GB. It's worth checking the instruct variant if qwen2.5vl is too old for you.
- gemma3:12b — for 16 GB; given the results of gemma3:4b, I don't expect accuracy with numbers from it, but this is unverified.
- qwen3.5:4b — a lightweight version of qwen3.5 for 8 GB; if you already have 9B installed for other tasks, it's not needed.
✅ My Conclusion: When to Use Which Model
I develop AskYourDocs — a RAG platform for searching corporate documents, and scans and photos of documents are the main source of errors there. Therefore, I look at OCR through one question: can the numbers be trusted without manual verification?
- Documents with numbers, on any machine: I use qwen2.5vl:7b. It's slow, but it made no mistakes in three tests, and for invoices and details, this is more important than speed.
- 16 GB and qwen3.5:9b already installed: I use it for tables and screenshots to avoid keeping two models. For critical documents, I still run them through qwen2.5vl.
- Screenshots, batch processing, "just extract text": gemma4:e2b. The speed of 10–15 seconds versus 40–50 for the leaders is noticeable when there are hundreds of files. However, I wouldn't let its result with invoice numbers go further without verification.
- What I wouldn't install for OCR: gemma3:4b and qwen3-vl with the default tag.
🔍 Main Finding: The most dangerous errors are not the visible ones. "Grain 1 Pair" instead of "Grain and Pair" you'll notice immediately. But a lost zero in a fiscal number or two missed groups in an IBAN look plausible and go unnoticed by humans. If OCR goes into automatic processing, check checksums and number lengths with code, not with your eyes.
If the recognized text then goes into search or RAG, check out my article on RAG for PDF documents — it's about what to do with text after OCR.
❓ FAQ
What is the best local model for OCR?
According to my tests — qwen2.5vl:7b: no errors on screenshots, receipt photos, and invoices with tables. It requires about 5.2 GB of memory and provides a response in 40–50 seconds on M1.
Which vision model can I run on 8 GB RAM?
For accurate documents — qwen2.5vl:7b, but it's tight: close heavy applications. For fast screenshot processing — gemma4:e2b, keeping in mind that it might make mistakes with long numbers.
Why is qwen3-vl in Ollama so slow?
The default tag generates reasoning even with thinking disabled: thousands of unnecessary tokens for each image. For OCR, look for an instruct-variant of the model.
Can I trust the numbers after local OCR?
Not without verification. Models that spend less than ~1800 tokens on an image lost groups of digits in IBAN in my test. For details and amounts, add programmatic checks for number length and checksums.
Do local models recognize text other than English?
Yes, but worse than English. In tests with Cyrillic documents, weaker models replaced words with similar ones from other languages and mixed alphabets within a single word.