Overview
RecordEngine supports five AI providers across two deployment modes. The right choice depends on your priorities: data sovereignty, throughput, cost, or accuracy on complex documents.Local Models (Ollama — GPU Required)
These models run entirely inside your RecordEngine server. No data ever leaves your network.Notes on Local Models
qwen3.5:9b is the recommended default. It is natively multimodal — it handles scanned PDFs, images, and text in a single pass. Despite being the smallest active model, it outperforms the larger qwen2.5:14b on Chinese document extraction due to its architecture. qwen3.5:27b is text-only in Ollama. Do not assign it as your Vision Model — sending images to it causes a processing error. Use it only for Precise Mode on text-heavy documents such as contracts and payroll slips. VRAM requirements on a single A10G (24 GB):Cloud API Models (BYOK — Bring Your Own Key)
These models run on the provider’s infrastructure. Your documents are sent over the internet for processing. Suitable for API-mode deployments where PIPL/DSL sovereignty is not required.Cost estimates are approximate and based on typical RecordEngine extraction payloads (mixed text + image). Actual costs vary by document complexity and provider pricing changes. Always monitor usage in your provider dashboard.
Notes on Cloud Models
OpenAI (gpt-4o) is the default provider on all GPU servers. It offers the best balance of speed, accuracy, and reliability. Recommended as a starting point for new API-mode deployments. Gemini (gemini-2.5-flash) offers the lowest cost per page of any cloud provider and is a strong choice for high-volume deployments where budget is a priority. Use modelgemini-2.5-flash-preview-04-17 in Settings — earlier preview versions may return errors.
Claude (claude-sonnet-4-5) excels at nuanced multilingual documents, particularly mixed Chinese–English contracts, legal filings, and anything requiring careful reasoning about context. Slowest of the four but highest accuracy on edge cases.
Qwen API (qwen-max) is optimized for Chinese-origin documents — fapiaos, business licenses, bank statements, and payroll slips. If your document mix is predominantly Chinese, this is the highest-accuracy option at a competitive price point.
Head-to-Head: Extraction Accuracy by Document Type
Ratings are based on internal testing across 500+ documents per type. ★★★★★ = near-perfect field extraction with high confidence scores; ★★★☆☆ = acceptable but requires more manual review.Choosing the Right Model
You need full data sovereignty (PIPL / DSL / CSL)
→ Local GPU deployment with qwen3.5:9b. No data leaves your server under any circumstances.You want the best accuracy on Chinese documents
→ Qwen API (qwen-max) for cloud, or qwen3.5:9b locally. Both are trained natively on Chinese financial and legal document formats.You want the best accuracy on complex English documents
→ Claude (claude-sonnet-4-5). Particularly strong on contracts, multi-party agreements, and documents requiring inference.You want the lowest cost at scale
→ Gemini (gemini-2.5-flash). Best cost-per-page of all cloud options with good general accuracy.You want the fastest processing
→ OpenAI (gpt-4o) for cloud, or qwen3.5:9b locally. Both return results quickly and handle concurrent requests well.You have a mixed document batch (invoices + contracts + receipts)
→ Enable Auto Profile Detection in Settings. RecordEngine will select the best extraction profile per document automatically, regardless of which AI provider you use.Switching Providers
You can change your active AI provider at any time without restarting the server.- Go to Settings → AI Backend
- Select your preferred provider
- Enter your API key (for cloud providers)
- Click Save
Switching providers does not delete your other API keys. Each provider’s key is stored independently — you can switch back at any time without re-entering credentials.