OCRRouter

GLM-OCR vs Typhoon OCR

Pick GLM-OCR for high-volume PDF to Markdown, academic papers with formulas and schema-based field extraction, where the $0.03 per million token API keeps cost low. Pick Typhoon OCR for Thai and Thai-English documents such as government forms and financial reports, where it was built and tested. Do not use GLM-OCR for financial tables where every row and decimal must survive, and do not use Typhoon OCR for languages other than Thai and English.

GLM-OCRzai/glm-ocrTyphoon OCRtyphoon/typhoon-ocr
TypeOpen sourceOpen source
Price6 credits / page2 credits / page
Per 1,000 pages$6.00$2.00
Typical speed1.3 s / page1.8 s / page
Best forLow-cost general documentsThai documents
InputsPDF, imagesPDF, images
Languages100+ languagesThai, English
Max pages per request500500
Tables✓ Yes✓ Yes
HandwritingNoNo
Math✓ YesNo
Bounding boxes✓ YesNo
Confidence✓ YesNo
FormsNoNo
Multilingual✓ Yes✓ Yes
On OCRRouterAvailableAvailable

Prices are what you pay on OCRRouter. Speed is the provider's typical figure, not a benchmark we ran.

Which to choose

Choose GLM-OCR if

  • The Z.ai API costs $0.03 per million tokens for input and output, and self-hosting is free apart from compute.
  • It can extract fields into a user-defined JSON schema, not just transcribe text.
  • It scores 94.62 on OmniDocBench v1.5 and ran at 1.86 PDF pages per second on a single replica in the authors' test.

Choose Typhoon OCR if

  • It is built for Thai and English, and V2 2B scores 81.3 on MDPBench Thai pages versus 61.3 for its base model.
  • V1.5 beat GPT-5 and Gemini 2.5 Pro on Thai government forms with a BLEU of 0.870.
  • It outputs tables as HTML with merged cells, equations as LaTeX, and marks checkboxes.

Key differences

GLM-OCRTyphoon OCR
LanguagesNot publishedThai and English only; no other language was evaluated
LicenceMIT for model weights; the SDK repo and bundled PP-DocLayoutV3 are Apache-2.0Apache-2.0, subject to OpenTyphoon Terms and Conditions
Model size0.9B2B (V2 and V1.5); a 0.8B V2 variant also exists
PriceZ.ai API: $0.03 per million tokens for input and output; self-hosted is freeSelf-hosted is free; Typhoon API pricing is not published
Output formatsMarkdown, JSON, plain textMarkdown, HTML, LaTeX
Benchmarks (authors' own)OmniDocBench v1.5: 94.62; olmOCR-Bench: 75.2; ParseBench mean: 29.6 (independent)olmOCR-bench: 84.7; OmniDocBench v1.6: 90.97; ThaiOCRBench: 59.9
Known failureRepeats output unless a stop sequence is set, and drops table footer rows and comma decimal separatorsV2 can loop until the token limit on dense multi-column pages; key-information extraction scores only 21.0 on ThaiOCRBench

Sources

What each one is

GLM-OCR

Small open-source OCR model from Z.ai with layout regions. MIT licensed.

GLM-OCR details

Typhoon OCR

Open vision model tuned for Thai and English documents, with Markdown output.

Typhoon OCR details

Try both on your own file

Run the file once with each model and compare the output.

PDF, PNG, JPG, WebP, HEIC. Up to 20 MB each, 10 files.No file?

Use one, fall back to the other

{"model": "zai/glm-ocr","fallbacks": ["typhoon/typhoon-ocr"],"file_url": "https://example.com/document.pdf"}

Questions

More comparisons

GLM-OCR alternativesTyphoon OCR alternativesBest OCR models in 2026