What GPU do I need to run SeerRay-Lab/Xiaomi-OCR-0?
873M parameters, published in BF16. View on Hugging Face
Xiaomi-OCR-0 is published by SeerRay-Lab on Hugging Face, with 1,989 downloads and 24 likes to date. It's a Qwen3_5ForConditionalGeneration model built for image-text-to-text, published natively in BF16.
VRAM required & cheapest live GPU fit
Required VRAM = weight size at each precision times a flat 1.2 overhead for activations and fragmentation. The KV-cache grows with context and is not in that factor; it is listed per model below where the architecture is published. Full formula and assumptions: methodology.
| Precision | Weight size | Required VRAM | Cheapest live fit | GPUs needed | Est. $/hr (full fit) |
|---|---|---|---|---|---|
| BF16 | 1.6 GB | 2.0 GB | RTX 3070 | 1 | $0.088/hr |
| FP8 (quantized) | 0.8 GB | 1.0 GB | RTX 5060 Ti | 1 | $0.165/hr |
| INT4 (quantized) | 0.4 GB | 0.5 GB | RTX 3070 | 1 | $0.088/hr |
A GPU is only matched to a row if its hardware supports that precision, and the primary recommendation is always a single-GPU fit when one exists.
INT4 requires a quantized checkpoint actually published for this model, check its Hugging Face page before relying on this row.
Cheapest way to run Xiaomi-OCR-0 at its published (BF16) precision: 1× RTX 3070, at $0.088/hr per GPU ($0.088/hr total). Quantizing to FP8 or INT4 (rows above) can cost less, but requires a compatible quantized checkpoint to exist for this model.
Xiaomi-OCR-0: KV cache by context length
The KV cache is the memory the attention layers hold for every token of context, on top of the weights. It is not part of the flat 1.2x overhead in the table above, grows with context length and with every concurrent request, and is why a long-context deployment needs more VRAM than the table shows.
Hybrid: only the full-attention layers cache per token; the other layers keep a fixed-size state. Cached per token: 12,288 bytes at 16-bit.
| Context | KV cache, one sequence |
|---|---|
| 4K | 0.05 GB |
| 32K | 0.38 GB |
| 128K | 1.5 GB |
| 256K (model maximum) | 3.0 GB |
Computed from the layer, head and window counts in the model's own configuration (SeerRay-Lab/Xiaomi-OCR-0), at 16 bits per cached value. Each concurrent sequence needs its own cache, on top of the weights.
Xiaomi-OCR-0: common questions
How much VRAM does Xiaomi-OCR-0 need?
2.0 GB at BF16, 1.0 GB at FP8 (quantized), 0.5 GB at INT4 (quantized). All of those sit under 6 GB, the smallest capacity this page reasons about, so VRAM is not what limits where this model runs. The 1.6 GB of weights plus inference overhead is the whole requirement.
How many copies of Xiaomi-OCR-0 fit on one RTX 3070?
4, by VRAM alone. That card carries 8.0 GB and one copy needs 2.0 GB at BF16, on a live rate of $0.088/hr for the whole card. Throughput is not modelled here, so 4 copies is not 4 times the requests served.
Weight-to-VRAM math, the fit rules, and how live prices are normalized: full methodology.
More Qwen3.5 models
- Qwen3.5-0.8B (873M, BF16)
- Qwen3.5-0.8B-Base (873M, BF16)
- Xiaomi-OCR-0 (873M, BF16)
- Qwen3.5-0.8B-weight-space-programming (873M, BF16)
- Qwen3.5-0.8B-Astra-WeightEdit (873M, BF16)
Lineage
Based on Qwen3.5-0.8B-Base.
Alternatives at this size
Other models for image-text-to-text within about a third of Xiaomi-OCR-0's 873M parameters, from other model lines.
- surya-ocr-2 (686M, BF16)
- GOT-OCR2_0 (716M, BF16)
- HunyuanOCR (1.1B, BF16)
- Florence-2-large (777M, F16)
- llava-onevision-qwen2-0.5b-ov-hf (894M, F16)
More on Xiaomi-OCR-0
Fits on an 8 GB GPU at BF16: every model that fits in 8 GB.
Related reading: RTX 3070 pricing and specs, How much VRAM you need for LLMs, Serving LLMs with vLLM, vLLM vs TensorRT-LLM vs SGLang, Best GPU for LLM inference, and What AI model fine-tuning is.
Browse the full lists: All Qwen3.5 models and their GPU requirements.
Your own GPU cloud accounts
One console for the GPU clouds you already rent from. Your keys stay on your machine.
$20 a month, flat