HunyuanOCR
Tencent · China ·
Commercial use: Conditional — commercial use with a trigger
Custom Tencent licence, tagged "other". Read the repository terms before commercial use — do not assume permissive because the download is open.
A model that reads scanned documents — invoices, forms, records — and turns them into structured text.
Why it should matter to you
Most businesses sitting on a paper or PDF archive assume digitising it is a bespoke project. Specialist OCR models have made the reading part close to solved. What has not changed is everything after: deciding that four spellings of a name are one customer.
How it connects to our work
Reading the page is now the easy half. On the patient registry extraction, OCR was days and identity resolution was months — and that ratio is typical rather than unusual.
From our field notesLegacy system access is the most overlooked pre-build blocker.
Advantages
- Purpose-built for document OCR rather than general vision, and it shows on dense scanned text
- 660K downloads, indicating real adoption for extraction work
- Handles multilingual and structured documents better than general VLMs
Disadvantages
- Custom licence needs reading
- Chinese-origin, which draws procurement questions in document work involving personal data
- Specialist: no use outside document understanding
Reach for it when
Extraction pipelines over scanned archives, where a general vision model wastes capacity and money.
Where it falls down
Anything but documents. And check the licence before it touches a commercial pipeline — this is exactly the case where "downloadable" is doing a lot of unearned work.
Running it
12 GB GPU. See the hardware sizing tables for how that maps to specific chips and cards, and the quantisation guide for what you give up at each bit width.
Which cloud instance actually runs this, and what it costs
At Q4_K_M the weights are about 6 GB, so 20 catalogued instances fit with room for context, of which the 8 best value are shown. Cheapest per token is Hetzner GEX45 (~$0.72 per million output tokens at an estimated 112 tok/s). Fastest on a single card is Azure NCads H100 v5 at roughly 558 tok/s for $3.47 per million tokens, which is the speed-versus-cost trade in one line.
| Instance | GPU | VRAM | Bandwidth | Est. tok/s | $/hr | $/M tokens |
|---|---|---|---|---|---|---|
| Hetzner GEX45 | RTX PRO 4000 Blackwell | 24 GB | 672 GB/s | ~112 | $0.290 | $0.72 |
| RunPod A100 PCIe | A100 80GB | 80 GB | 1935 GB/s | ~323 | $1.190 | $1.02 |
| Hetzner GEX131 | RTX PRO 6000 Blackwell Max-Q | 96 GB | 1792 GB/s | ~299 | $1.420 | $1.32 |
| RunPod L40S | L40S | 48 GB | 864 GB/s | ~144 | $0.790 | $1.52 |
| RunPod H100 PCIe | H100 PCIe | 80 GB | 2000 GB/s | ~333 | $1.990 | $1.66 |
| Lambda A100 40GB | A100 40GB | 40 GB | 1555 GB/s | ~259 | $1.990 | $2.13 |
| Lambda H100 PCIe | H100 PCIe | 80 GB | 2000 GB/s | ~333 | $3.290 | $2.74 |
| AWS g5.xlarge | A10G | 24 GB | 600 GB/s | ~100 | $1.006 | $2.79 |
Token generation on a single request is memory-bandwidth-bound, not compute-bound: the GPU must read every active weight from memory for each token it emits. So the ceiling is roughly GPU memory bandwidth divided by the size of the active weights. A 16 GB model on a 300 GB/s L4 tops out near 19 tokens/sec; the same model on a 2039 GB/s A100 tops out near 127. Figures on model pages are that arithmetic, computed from the bandwidth and weight-size columns here. They are a ceiling for one request at batch size 1, before serving overhead, so treat them as an upper bound for comparing instances rather than a benchmark. Batching raises total throughput well above this and does not raise per-request speed.
For identical silicon, the hyperscalers charge roughly 2 to 5 times what the specialist GPU clouds charge. An A100 80GB is about $3.43/GPU-hr on AWS, $3.67 on Azure and $5.03 on Google Cloud, against $1.19-1.39 on RunPod and $1.99 on Lambda. That spread is the single largest cost lever in a self-hosted inference budget, and it is larger than any saving from picking a smaller model.
Three costs that are absent from every headline rate: egress, storage for the weights, and idle time. A 70B model at Q4 is tens of gigabytes that must be pulled to the instance on every cold start, and an endpoint billed hourly is billed while it sits idle waiting for a request. Rates read 2026-09-06; check each provider's live pricing on the directory hub.
Jurisdiction: China
This is the crucial split most write-ups miss: using a Chinese lab's HOSTED API sends your data to Chinese infrastructure and is a real procurement question. Downloading their OPEN WEIGHTS and running them on your own hardware, or on a Western host, sends nothing anywhere. DeepSeek and Z.ai publish under MIT; Alibaba publishes most of Qwen3 under Apache 2.0. Those are among the most permissive licences on this page.
Watch for: Several US states and a number of government bodies restrict Chinese-hosted AI services on official devices. That restriction is about the hosted service, not about the weights running in your own VPC — but expect to have to explain the difference to a security reviewer.
Frequently asked
Can I use HunyuanOCR commercially?
Custom Tencent licence, tagged "other". Read the repository terms before commercial use — do not assume permissive because the download is open.
What hardware do I need to run HunyuanOCR?
12 GB GPU. Weights alone are roughly 6 GB at Q4_K_M and 11 GB at Q8_0. Add KV cache on top of that, which grows with your context length.
What licence is HunyuanOCR released under?
A custom licence written by Tencent, not a standard open-source licence. Custom Tencent licence, tagged "other". Read the repository terms before commercial use — do not assume permissive because the download is open.
Where can I use HunyuanOCR for free?
Self-hosting the weights is the free route. 12 GB GPU.
Similar models
Llama 4 Scout 17B
80 GB GPU or 96 GB+ Mac at Q4_K_M.
Gemma 4 31B
24 GB GPU at Q4_K_M, or a 32 GB Mac.
Fara-7B
8 GB GPU or any 16 GB Mac.
DeepSeek-V4-Flash
Hosted, or 256 GB+ unified memory at Q4. Not a laptop model.
Wiring HunyuanOCR into something real?
We build the evaluation harness, the failover and the cost ceilings around a model like this, so it survives contact with production.
Maps to AI agent development, AI automation development and AI strategy and consulting. Or see it working: our case studies.