Models / glm-5.1

glm-5.1 API

GLM model glm-5.1 through AZET’s OpenAI-compatible API: $1.1319 input and $3.5574 output per 1M tokens, with a 200,000 token context. Prepaid USD credit, billed per token, no subscription.

Model idglm-5.1
Price$1.1319 in / $3.5574 out per 1M tokens
Context200,000 tokens

Call glm-5.1

RequestcURL
curl https://api.azet.io/v1/chat/completions -H "Authorization: Bearer $AZET_API_KEY" -H "Content-Type: application/json" \
  -d '{"model": "glm-5.1", "messages": [{"role": "user", "content": "Hello"}]}'

Same request and response shape as OpenAI Chat Completions. Base URL https://api.azet.io/v1 · Authorization: Bearer azk_….

glm-5.1 pricing

USD per 1M tokensInputOutput
All requests$1.1319$3.5574
Cached input$0.2102—
Maker’s own list price$1.40$4.40

GET /v1/models/glm-5.1 · The price at the time of the request applies.

Questions

How much does glm-5.1 cost on AZET?

glm-5.1 costs $1.1319 input and $3.5574 output per 1M tokens on the AZET AI API, and $0.2102 per 1M cached input tokens. The maker’s own list price is $1.40 input and $4.40 output; AZET never charges more than that.

Is glm-5.1 OpenAI-compatible on AZET?

Yes. Set the base URL to https://api.azet.io/v1 in any OpenAI SDK, LangChain or LiteLLM and use the model id glm-5.1. POST /v1/chat/completions takes the same request and returns the same response shape, with streaming.

What is the context window of glm-5.1?

200,000 tokens.

How do I pay for glm-5.1?

With prepaid USD credit from $5, billed per token. There is no subscription and no monthly minimum.

All models → · API reference → · Buy credit →

Questions or a team account? hello@azet.io
Service status Status
Full reference API reference
Connect these docs to your AI llms.txt