Using GLM-OCR on Z.ai

Implementation guide · GLM-OCR · Zhipu AI

Serverless

Z.ai exposes GLM-OCR through model ID glm-ocr. Use the setup steps, sourced pricing, capabilities, and official provider links below to validate this route before deployment.

Last refreshed 2026-10-08. Next refresh: weekly.

Quick Start

  1. 1
    Create an account at Z.ai and generate an API key.
  2. 2
    Use the Z.ai SDK or REST API to call glm-ocr — see the documentation for request format.
  3. 3
    You'll be billed $0.03/1M input, $0.03/1M output tokens. See full pricing.

Code Examples

See Z.ai documentation for integration details.

Pricing on Z.ai

TypePrice (per 1M)
Input tokens$0.03
Output tokens$0.03

Capabilities

VisionMultimodalStructured Outputs

About GLM-OCR

GLM-OCR is Zhipu AI's reusable vision model for optical character recognition, document understanding, layout parsing, and structured document extraction through an API.

Model Specs

Provider

Z.ai