GLM-5.3 API

Z.ai's flagship GLM-5.3 for long-context reasoning and coding

z-ai/glm-5.3
Z-AIConversation

About this model

GLM-5.3 is the flagship of Z.ai’s GLM-5 series, announced in August 2026. Z.ai’s materials describe it as a 753-billion-parameter model with about 40 billion active parameters, and open weights followed after the announcement.

It is the larger sibling of GLM-5.3 Flash and FlashX, which are smaller models. Pick GLM-5.3 when quality on hard tasks matters most, and the Flash variants for lighter, faster use. It follows GLM-5.2 and GLM-5.1.

In this catalog it accepts images and PDFs and offers a context window of up to 1,000,000 tokens.

Use cases

  • Agentic and coding tasks
  • Long-document analysis
  • Questions about images and PDFs

Input and output

Input
Text, images, PDF
Output
Text

Developer

Developer
Z-AI
Type
Conversation
Context
1,000,000 tokens
Capabilities
Image input

GLM-5.3 request example

Use https://gatelum.com/v1 as the base URL and pass z-ai/glm-5.3 in the model field. You create the key in your account after signing up.

curl --silent --show-error --fail-with-body \
  --header 'Authorization: Bearer glt_YOUR_KEY' \
  'https://gatelum.com/v1/chat/completions' \
  --header "Content-Type: application/json" \
  --data-binary @- <<'JSON'
{
  "model": "z-ai/glm-5.3",
  "messages": [
    {
      "role": "user",
      "content": "Hi! Tell me about yourself in two sentences."
    }
  ]
}
JSON
Claude Code and Anthropic-protocol clients

For clients using the Anthropic protocol, point the address at ANTHROPIC_BASE_URL=https://gatelum.com with no /v1. The model ID does not change.

macOS / Linux
export ANTHROPIC_BASE_URL=https://gatelum.com
export ANTHROPIC_AUTH_TOKEN=glt_YOUR_KEY
export ANTHROPIC_MODEL=z-ai/glm-5.3
claude

Where to use GLM-5.3

Guides with step-by-step instructions for the tools that support this model: