Z.AI / zai/glm-5.4

GLM-5.4 - access through LLMTR

GLM-5.4 is Z.AI's flagship model for long codebases, multi-step agent workflows, function calling, and terminal work with a 1M context window. It accepts text, image, video, and file input and supports function calling, JSON mode, and structured output with JSON Schema. Reasoning runs on every response and cannot be turned off; you tune its depth with the low, high, and max effort levels. LLMTR sends plain requests at low, and you can pick :high or :max for harder tasks.

Technical specifications

Canonical IDzai/glm-5.4
ProviderZ.AI
Context window1,000,000 tokens
OperationsCHAT_COMPLETIONS
Modalitiestext, image, video

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.4","messages":[{"role":"user","content":"Hello"}]}'

Guides about this model

Related models