GLM 5.4 via the Tokenator API

What the model is for

Z.ai's next-generation flagship multimodal model designed for coding, complex problem-solving, and agentic workflows. Supports image understanding, advanced reasoning, and tool calling. Копировать

Specification

Full nameGLM 5.4
API IDglm-5.4
Model vendorZ-AI
TypeText model (chat / completions)
Context window1M tokens
Max output131.1K tokens
Image inputyes
Tokenator usage multiplier4×
Output token multiplier12×
BadgeNEW
Input modalitiestext, image
Aliasescursor-glm-5.4
Supported API formats/v1/chat/completions /v1/responses /v1/messages
Upstream providers1
Current statusavailable
Data updated2026-11-23

Upstream providers

ProviderMultiplierOutput token multiplier
AiPartners Ltd4×12×

A request goes to the first available provider by priority; if it fails, Tokenator switches to the next one.

Example request

curl
curl https://api.tokenator.top/v1/chat/completions \
  -H "Authorization: Bearer sk-your-tokenator-key" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "glm-5.4",
    "messages": [{"role": "user", "content": "Hello"}]
  }'

Compatible tools

The model can be used in any tool that accepts a custom base URL: Claude Code, Codex CLI, OpenCode, Cursor, Cline, Kilo Code, Cherry Studio, DeepSeek Harness, Hermes, Pi, OpenClaw.

FAQ about GLM 5.4

What is the API ID of GLM 5.4?

glm-5.4 — put this into the model field of your request.

What context window does GLM 5.4 have?

1M tokens; max output is 131.1K tokens.

How many tokens will a request cost?

(input × 4×) + (output × 12×). See the documentation for details.

Which tools support this model?

Any tool that accepts a custom base URL: Claude Code, Codex CLI, OpenCode, Cursor, Cline, Kilo Code. Setup guides are in the integrations section.