Available now
Zhipu

glm-5

GLM-5 is Z.ai’s flagship open-source foundation model engineered for complex systems design and long-horizon agent workflows. Built for expert developers, it delivers production-grade performance on large-scale programming tasks, rivaling leading...

TextReasoningToolsOpen Weights204.8K
Input$0.09/ 1M
Output$0.40/ 1M
Context204.8K
Endpointsopenai, anthropic
§ 01

Pricing

Input price$0.09 / 1M tokens
Output price$0.40 / 1M tokens
Context window204.8K tokens
Compatible endpointsopenai, anthropic
VendorZhipu
§ 02

Call glm-5 from your code

Point any OpenAI-compatible SDK at UnoRouter and request the model by name. Replace YOUR_API_KEY with a real key from your dashboard.

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

Sign in to auto-fill your API key

§ 03

Frequently asked questions

How much does glm-5 cost per 1M tokens?

Input is priced at $0.09 per 1M tokens, output at $0.40 per 1M tokens. Billing is per token, no rounding to batch sizes.

How do I access glm-5 via API?

Send requests to the UnoRouter /v1/chat/completions endpoint with model=glm-5. Any OpenAI-compatible client library works. Authentication uses a standard Bearer token.

What is the context window of glm-5?

glm-5 supports a context window of 204.8K tokens, shared between your prompt and the model's response.

§ 04

Similar models

Try glm-5 now

Create an API key and start making requests in under a minute.

View all models