Skip to content

Xiaomi-OCR-0

Xiaomi's open-weight OCR model joins the catalog. It parses pages into Markdown, tables and LaTeX, and answers questions about scans. BYOK only.

Open Xiaomi-OCR-0

xiaomi/xiaomi-ocr-0 is Xiaomi's 0.8B document OCR model, trained from Qwen3.5-0.8B-Base on an approximately 170M-sample OCR corpus. It parses whole pages into Markdown with OTSL tables and LaTeX formulas, and handles OCR-centric questions and field extraction in the same checkpoint.

The model card reports 96.83 on OmniDocBench v1.6 and a mean of 83.2 across five OCR-VQA benchmarks. The hosted route accepts one page image with an 8,192-token window and is BYOK-only: add your own key under Dashboard → BYOK.

Vision request
import { createAnyRouter } from "@anyr/ai-sdk-provider"
import { generateText } from "ai"
const anyrouter = createAnyRouter()
const { text } = await generateText({
  model: anyrouter("xiaomi/xiaomi-ocr-0"),
  messages: [{ role: "user", content: [
    { type: "text", text: "Extract the text in the image." },
    { type: "image", image: pageImage },
  ] }],
})
Coding agent with vision
curl -fsSL https://anyr.dev/cli.sh | bash
anyr login
anyr claude --model "xiaomi/xiaomi-ocr-0"

Playbooks: document parsing, vision models.

Looking for the full catalog? Browse all models.