Available now
Zhipu

glm-5.1

GLM-5.1 delivers a major leap in coding capability, with particularly significant gains in handling long-horizon tasks. Unlike previous models built around minute-level interactions, GLM-5.1 can work independently and continuously on...

TextReasoningTools200K
Input$0.51/ 1M
Output$2.06/ 1M
Context200K
Endpointsopenai, anthropic
§ 01

Pricing

Input price$0.51 / 1M tokens
Output price$2.06 / 1M tokens
Context window200K tokens
Compatible endpointsopenai, anthropic
VendorZhipu
§ 02

Call glm-5.1 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.1",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Sign in to auto-fill your API key

§ 03

Frequently asked questions

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

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

How do I access glm-5.1 via API?

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

What is the context window of glm-5.1?

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

§ 04

Similar models

Try glm-5.1 now

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

View all models