tencent/HunyuanOCR
Released in late 2025, HunyuanOCR is an open-source contribution from Tencent that outperforms many larger proprietary models. It utilizes a "Global-to-Local" architecture with a SigLIP-v2 visual encoder to handle high-resolution inputs and extreme aspect ratios (like long receipts) without splitting images artificially.
api_example.sh
Technical Specifications
Model Architecture & Performance
Pricing
Pay-per-use, no commitments
API Reference
Complete parameter documentation
| Parameter | Type | Default | Description |
|---|---|---|---|
| stream | boolean | true | Enable streaming responses for real-time output. |
| language | select | en | Optional language hint to improve OCR accuracy for specific languages. |
| ocr_mode | select | general | Select optimized OCR mode based on the image type. |
| max_tokens | number | 4096 | Maximum number of tokens for the generated text. |
| temperature | number | 0 | Controls randomness. Keep at 0 for accurate text extraction. |
Explore the full request and response schema in our external API documentation
Performance
Strengths & considerations
| Strengths | Considerations |
|---|---|
| Lightweight (1B parameters) with SOTA performance Native support for high-resolution & extreme aspect ratios Unified end-to-end architecture (no separate detection box errors) Exceptional handling of rotated and vertical text Strong multilingual support (English, Chinese, and mixed scripts) | Purely OCR-focused; not intended for general visual QA May hallucinate on extremely blurred low-resolution text Output speed is dependent on visual token density |
Use cases
Recommended applications for this model
Enterprise
Platform Integration
Docker Support
Official Docker images for containerized deployments
Kubernetes Ready
Production-grade KBS manifests and Helm charts
SDK Libraries
Official SDKs for Python, Javascript, Go, and Java
Don't let your AI control you. Control your AI the Qubrid way!
Have questions? Want to Partner with us? Looking for larger deployments or custom fine-tuning? Let's collaborate on the right setup for your workloads.
"Qubrid scaled our personalized outreach from hundreds to tens of thousands of prospects. AI-driven research and content generation doubled our campaign velocity without sacrificing quality."
Demand Generation Team
Marketing & Sales Operations
