glm-5-turbo

文本

Designed for agent-based workflows such as OpenClaw.

Input price

¥4.809640% off

Market: ¥8.016

/ M

Output price

¥16.03240% off

Market: ¥26.72

/ M

Cache read

¥0.961940% off

Market: ¥1.6032

/ M

Cache write

¥040% off

/ M

Input

Text

Output

Text

API

Quick Start

Drop-in code to call this model with EasyAPI's OpenAI-compatible API.

Loading API docs…

Docs are requested the first time you open the API tab.

How is the glm-5-turbo API billed?
glm-5-turbo is pay-as-you-go from ¥4.8096 / M. The exact rate is listed in the pricing table on this page and billed at EasyAPI's public price, with no subscription required.
How do I call glm-5-turbo through the API?
EasyAPI exposes an OpenAI-compatible API: create an API key in the console, set base_url to https://token.easyapi.com and model to zai/glm-5-turbo, then send requests to /v1/chat/completions. The Quick Start on this page includes cURL, Python and TypeScript examples; official OpenAI SDKs only need the base_url swapped.
Which request formats does glm-5-turbo support?
OpenAI Chat Completions format including streaming (stream). Official OpenAI and Anthropic SDKs work by swapping base_url; see the Parameters table on this page for the full list.
How do I get started with glm-5-turbo?
Sign up for EasyAPI, create an API key in the console and top up your balance to call glm-5-turbo pay-as-you-go, no subscription needed. You can also try it in the online Playground first, then copy the Quick Start example.