Home / GLM-OCR
ChatGLM

GLM-OCR

zai-org/glm-ocr
GLM-OCR is a lightweight professional OCR model with only 0.9 billion parameters, achieving state-of-the-art 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 the direct rendering of complex tables into HTML code and the extraction of structured data from IDs and receipts into standard JSON format, enabling high-accuracy document parsing with minimal resource consumption.
Price
Input$0.03 per million tokens
Output$0.03 per million tokens

Use the following code example to integrate our API:

1from openai import OpenAI
2
3client = OpenAI(
4    api_key="<Your API Key>",
5    base_url="https://api.jiekou.ai/openai"
6)
7
8response = client.chat.completions.create(
9    model="zai-org/glm-ocr",
10    messages=[
11        {"role": "system", "content": "You are a helpful assistant."},
12        {"role": "user", "content": "Hello, how are you?"}
13    ],
14    max_tokens=32000,
15    temperature=0.7
16)
17
18print(response.choices[0].message.content)

Information

Provider
Quantification
-

Supported Features

Context length
32000
Maximum output
32000
serverless
Support
Structured output
Support
Input Capabilities
text, image
Output Capabilities
text
Contact Us