Back to Models

GLM OCR

zhipuzhipu/glm-ocr

Zhipu AI GLM OCR (0.9B) β€” document parser for PDF/image to structured Markdown text extraction.

Context Length
66K
Max Output
16K
Input Priceper 1M tokens
$0.048/ 1M tokens
Output Priceper 1M tokens
$0.048/ 1M tokens

Modalities

textimagepdf→text

Pricing Breakdown

TypeRate
Input$0.048 / 1M tokens
Output$0.048 / 1M tokens

Supported Parameters

temperaturemax_tokenstop_presponse_formatstop

API Usage Examples

Use the global api.therouter.ai endpoint shown below for new integrations; the legacy China accelerated endpoint is retired.

cURL
curl https://api.therouter.ai/v1/chat/completions   -H "Content-Type: application/json"   -H "Authorization: Bearer $THE_ROUTER_API_KEY"   -d '{
    "model": "zhipu/glm-ocr",
    "messages": [
      {"role": "user", "content": "Summarize the key points from this input."}
    ]
  }'
Customer Support