MyRouterMyRouter
/
ModelsDocsSign In
Back to catalog

GLM-OCR

Provider: ZhipuAIType: Chat

Description

GLM-OCR is a lightweight professional OCR model with only 0.9B parameters, achieving SOTA performance with a score of 94.62 on OmniDocBench V1.5. Optimized for real-world business scenarios, it delivers high-precision recognition for handwritten text, stamps, and code documentation. The model supports directly rendering complex tables into HTML code and extracting structured data from IDs and receipts into standard JSON format, enabling high-accuracy document parsing with minimal resource consumption.

Capabilities

  • serverless
  • structured-outputs

Model Info

Model ID
zai-org/glm-ocr
Context Window
31.3K
Modalities

Input: Text, Image

Output: Text

Pricing

Input
$0.0300
Output
$0.0300

Quick Start

Use your MyRouter API key with an OpenAI-compatible base URL, then pick the example that matches your stack.

Direct HTTP request for quick testing.

curl https://api.myrouter.ai/openai/v1/chat/completions \
  -H "Authorization: Bearer $MYROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "zai-org/glm-ocr",
    "messages": [
      {
        "role": "user",
        "content": "Hello from MyRouter"
      }
    ]
  }'