Z.AI / zai/glm-5.1

GLM-5.1 - access through LLMTR

Built for longer workflows that go beyond writing code into delivering projects, with stronger tool use and systematic execution. The most ambitious general Z.AI option.

Technical specifications

Canonical IDzai/glm-5.1
ProviderZ.AI
Context window128,000 tokens
OperationsCHAT_COMPLETIONS
Modalitiestext

Pricing

An 8% platform margin applies to credit top-ups; model usage prices are not separately marked up.

OperationMetricUnitPrice
CHAT_COMPLETIONSINPUT_TEXTPER_1M_TOKENS$1.26
CHAT_COMPLETIONSCACHE_READPER_1M_TOKENS$0.234000
CHAT_COMPLETIONSOUTPUT_TEXTPER_1M_TOKENS$3.96

Example usage

With existing OpenAI SDK flows, change only the base URL and model identifier.

curl https://llmtr.com/v1/chat/completions \
  -H "Authorization: Bearer llmtr-your_key" \
  -H "Content-Type: application/json" \
  -d '{"model":"zai/glm-5.1","messages":[{"role":"user","content":"Hello"}]}'

Related models