智谱

glm-5

Zhipu's GLM-5 base model, a 200K-token text model with a 128K output limit and opt-in thinking mode. Positioned for agentic coding and long-horizon planning tasks.

Usage billing

Official price vs Nbility

Per 1M tokens, read live from the gateway. Nbility shows its lowest public group.

智谱 list price

Input$6.00Output$22.00

Nbility · china-官方key group

Input2.10Output7.70

Group prices

Every available group is listed with its effective input and output price.

Usage billing
GroupRatioInputOutputCache read price
Base pricex1

6.00/M

22.00/M

2.00/M

china-官方keyx0.35

2.10/M

7.70/M

0.70/M

Additional billing ratios

Cached inputx0.333333333333

Quick start

Replace YOUR_API_KEY with a key from your account.

curl https://api.nbility.ai/v1/chat/completions \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"glm-5","messages":[{"role":"user","content":"Hello"}]}'

Compatible endpoints

openaiPOST /v1/chat/completions
openai-responsePOST /v1/responses
openai-response-compactPOST /v1/responses/compact
anthropicPOST /v1/messages
geminiPOST /v1beta/models/{model}:generateContent
openai-alpha-searchPOST /v1/alpha/search

Docs for this model