Using GLM-4.7 Flash on Z.ai

Implementation guide · GLM-4 · Zhipu AI

ServerlessOpen Source

Z.ai exposes GLM-4.7 Flash through model ID glm-4.7-flash. 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-4.7-flash — see the documentation for request format.
  3. 3
    You'll be billed Free/1M input, Free/1M output tokens. See full pricing.

Code Examples

See Z.ai documentation for integration details.

Pricing on Z.ai

TypePrice (per 1M)
Input tokensFree
Output tokensFree

Capabilities

ReasoningJSON / Tool useStructured Outputs

About GLM-4.7 Flash

GLM-4.7 Flash is Tsinghua Knowledge Engineering Group (THUDM)'s GLM-4 model. It offers a 198K-token context window.

Model Specs

Released2025-01-01
Parameters30B (3B active)
Context198K
ArchitectureDecoder Only

Provider

Z.ai