← models

Zhipu AI (China)

GLM-5 family — flagship reasoning and agentic models, China mainland API

Website·Docs·Pricing·Sign Up

API Configuration

API Typeopenai-completions
Base URLhttps://open.bigmodel.cn/api/paas/v4
Auth Modeapi_key
Auth Keys
ZHIPU_API_KEYAPI key from open.bigmodel.cn console
Regionscn
Default Modelglm-5
Statusactive

Pricing

Pay-as-you-go per token (CNY) with tiered pricing by context length. GLM-4.7-Flash is free. New accounts receive 20M free tokens.

Getting Started

Sign up at open.bigmodel.cn, new accounts receive 20M free tokens. Create an API key in the console dashboard.

Models (3)

ModelContextMax OutputPricingFeatures
GLM-5-Turbo
glm-5-turbo
Optimized for agentic workflows, tool calling, and long-task stability
128K16KTiered (CNY): Input ¥5/M (≤32K) / ¥7/M (>32K), output ¥22/M (≤32K) / ¥26/M (>32K).
GLM-5
glm-5
New-generation flagship reasoning model for complex tasks
128K16KTiered (CNY): Input ¥4/M (≤32K) / ¥6/M (>32K), output ¥18/M (≤32K) / ¥22/M (>32K).
GLM-4.7
glm-4.7
Enhanced programming, multi-step reasoning, and agent task performance
200K16KTiered (CNY): Input ¥2-4/M, output ¥8-16/M depending on input/output length. See pricing page.

Last verified: 2026-03-19