LIVE · Thursday 3 December

Best Small Model for Document Extraction (2026): Which of GLM-OCR, Xiaomi-OCR-0, TeleOCR, PaddleOCR-VL Fits

A situation-by-situation guide to the sub-1.3B document models, with licences, the OmniDocBench v1.6 scores behind them, and what 100,000 pages a month costs on each route.

By Surya7 min read

For extracting fields from invoices, receipts and forms, the best small model to start with in November 2026 is GLM-OCR: 0.9B parameters, MIT-licensed, a documented JSON-schema extraction mode, and the only published field-extraction scores in its class. For converting pages to Markdown, TeleOCR (about 1.2B) and Xiaomi-OCR-0 (0.8B) lead OmniDocBench v1.6 at 96.87 and 96.83 on their makers' own figures, and PaddleOCR-VL-1.6 is close behind. All four score above the 92.91 the benchmark repository lists for Gemini 3 Pro, but none has been independently tested on field extraction, so pick two and test them on your own documents.

First, decide which job you have

"Document extraction" covers two jobs that the benchmarks treat very differently.

The first is parsing: turning a page into clean text, tables and formulas, usually as Markdown. This is what OmniDocBench measures. Its overall score averages text accuracy, table structure (TEDS) and formula recognition (CDM), and version 1.6, released April 10, 2026, added 296 harder pages. Scores from v1.5 and v1.6 can't be compared, which is why GLM-OCR's advertised 94.62 (a v1.5 number) looks lower than it is; the benchmark's own repository lists it at 95.22 on v1.6.

The second is field extraction: reading an invoice and returning the vendor, date, line items and total in a fixed schema. OmniDocBench has no test for it. Of the small models here, only GLM-OCR publishes scores for it, in its March 2026 technical report: 93.7 on Nanonets-KIE and 86.1 on Handwritten-KIE, against 95.2 and 94.5 for Gemini 3 Pro and 87.5 and 78.2 for GPT-5.2. The report doesn't name the metric, and it scores no other small model on these tests. No independent field-level test of these models, including whether extracted line items sum to the totals, has been published, and no third party has rerun them all on OmniDocBench v1.6 or Real5-OmniDocBench under one harness and hardware.

The options by situation

Your situation Start with Licence Also test
Fields from printed invoices, receipts, forms GLM-OCR (0.9B) MIT; layout model Apache 2.0 Xiaomi-OCR-0 schema prompt
Pages to Markdown, clean PDFs TeleOCR (~1.2B) Apache 2.0 PaddleOCR-VL-1.6
Phone photos, warped or skewed pages TeleOCR Apache 2.0 Xiaomi-OCR-0, PaddleOCR-VL-1.6
Many languages PaddleOCR-VL (0.9B) Apache 2.0 GLM-OCR
Handwriting or very high accuracy bar Gemini 3 Pro (API) proprietary GLM-OCR as the cheap tier

Printed business documents. GLM-OCR's model card documents an information-extraction mode: you give it a strict JSON schema in the prompt and it fills the fields, and the card warns that the output must adhere to that schema. Z.ai's SDK handles parsing but not this mode, so you call the model directly. Its published throughput is 1.86 PDF pages per second at single concurrency, the fastest figure in its own comparison, and Z.ai's hosted API charges $0.03 per million tokens for input and output. Xiaomi-OCR-0's card shows a comparable schema prompt with a receipt example but publishes no extraction scores, which is why it is the second model to test rather than the first.

Clean PDFs to Markdown. TeleOCR, from TeleAI, China Telecom's AI subsidiary, reports 96.87 on v1.6 and 97.05 on table structure; the OmniDocBench repository lists it at 96.91, though the repository does not say who ran its leaderboard evaluations, and Xiaomi-OCR-0 is not on it yet. PaddleOCR-VL-1.6, released May 28, claims 96.33, and the repository lists 96.34. Both are Apache 2.0 and both serve through vLLM.

Photographed pages. TeleOCR reports 88.53 on Wild_OmniDocBench and says it handles folded or crumpled pages without a separate dewarping step. Xiaomi-OCR-0 claims 95.24 on Real5-OmniDocBench, a test PaddlePaddle describes as covering scanning, warping, screen photography, illumination and skew, but the evaluation widget on Xiaomi's own Hugging Face page shows 92.73, a gap Xiaomi doesn't explain. On the hardest real-degraded set TeleOCR reports, Gemini 3.1 Pro edges it, 71.98 to 70.85.

Many languages. PaddleOCR-VL's card says it supports 109 languages. Its 1.6 version ships quantized builds for llama.cpp, Ollama and LM Studio, so it can be tried on a laptop, though macOS users are told to use Docker.

Handwriting. GLM-OCR's own report shows Gemini 3 Pro ahead by 8.4 points on handwritten fields. If handwriting is a large share of your documents, a small model may serve best as the cheap first pass, with a frontier model on the hard cases.

Two models to handle with care

MinerU 2.5 (1.2B) scores 93.04 on the v1.6 repository leaderboard, below the newer models, and its model card lists AGPL-3.0 for the weights. The MinerU toolkit separately uses an Apache 2.0-based licence that requires a commercial licence above 100 million monthly users or $20 million in monthly revenue, plus a visible credit in online services. Its strength is the toolkit: the default install runs on CPU on Windows, Linux and macOS.

Qwen2.5-VL 7B is a general vision model, Apache 2.0, with 95.7 on DocVQA and a card claiming structured output for invoices and forms. It has no OmniDocBench score on any version, so it can't be placed against the specialists, and whether its extra size buys better field extraction has not been measured.

Two notes apply to every row. Sizes vary by source: Hugging Face's metadata lists Xiaomi-OCR-0 at 0.9B, TeleOCR at 1B and GLM-OCR at 1B, and GLM-OCR also runs a separate layout model. And the OmniDocBench dataset is licensed for research only, so it can be used to compare models but not to train a commercial one.

Worked example: 100,000 pages a month

Assume a company processes 50,000 two-page invoices a month, 100,000 pages. Assume each page costs 1,500 input tokens and 1,000 output tokens; neither Z.ai nor Google publishes a per-page token count, so treat these as placeholders to replace with your own logs.

  • GLM-OCR on Z.ai's API: 250 million tokens at $0.03 per million is $7.50 a month.
  • Gemini 3 Flash, single model: 150 million input tokens at $0.50 is $75, plus 100 million output tokens at $3.00 is $300, for $375. Its batch tier halves that to $187.50. Thinking tokens bill as output and would add to both.
  • Two-stage: GLM-OCR to Markdown ($7.50), then Gemini 2.5 Flash-Lite filling the schema. Assuming 1,000 Markdown tokens in and 300 tokens out per page, that is 100 million input tokens at $0.10 ($10) plus 30 million output at $0.40 ($12), for about $29.50 in total.
  • Self-hosted: an L4 rented from RunPod at $0.69 an hour costs about $497 for a 30-day month left running, and an A100 at $2.19 an hour about $1,577. At MinerU's claimed 2.12 pages per second on an A100, 100,000 pages would occupy the card for about 13 hours, so self-hosting only pays when the GPU is shared with other work or run on demand. Throughput for these models on an L4, a consumer card or a CPU has not been measured.

On these assumptions the hosted small model is roughly fifty times cheaper than a frontier API doing the whole job. Whether it is accurate enough is the question the cost table can't answer.

When fine-tuning beats both

If the off-the-shelf models miss fields that matter, such as a supplier-specific layout or a field that needs a rule to find, fine-tuning a small model on your own labelled documents is the third route. Parsec, a small-language-model lab, offers this as a service: it fine-tunes compact models on a customer's own tasks, lets customers download the weights, and says the first post-trained model arrives in about four weeks, a figure it gives without a baseline. It publishes no price. No published test shows a fine-tuned small model beating GLM-OCR's schema mode or a two-stage pipeline on invoices, so the same 50-document test applies.

How to run the test

Collect about 50 real documents, including the worst scans, phone photos, multi-page tables and every language you receive. Type the correct values by hand. Run your two candidate models on one fixed schema, score each field for an exact match, and check that line items add up to totals, because valid JSON can still hold wrong numbers. Repeat it when a new model appears: three of the models above were released between May and September 2026, and the scores here are as the model cards and the benchmark repository listed them on November 17, 2026.

Bottom line

For invoices, receipts and forms, start with GLM-OCR and test Xiaomi-OCR-0 beside it. For page-to-Markdown work and photographed pages, test TeleOCR and PaddleOCR-VL-1.6. For many languages or laptop testing, PaddleOCR-VL. For handwriting, keep Gemini 3 Pro in the comparison. Leave MinerU 2.5's AGPL weights out of closed products unless the licence suits you, and choose on your own 50 documents rather than on any vendor's leaderboard number.

Sources

More in Models

All Models →