Skip to content
model.lol
Models & prices Docs Status
Sign inCreate account

GLM-5.3

glm-5.3reasoning dial

GLM-5.3 by Z.ai is available through model.lol's OpenAI-, Anthropic- and Gemini-compatible API under the model id glm-5.3. It costs $0.25 per million input tokens and $0.79 per million output tokens ($0.047 per million cached input tokens), charged per token from a prepaid balance. That is 82% below Z.ai's official API price. Context window: 1,048,576 tokens. Supports the reasoning dial: append -low, -medium, -high, -thinking, -nothinking to the id.

Input
$0.25per 1M tokens
Output
$0.79per 1M tokens
Cached input
$0.047per 1M tokens
Vs official price
−82%input price
Context window
1M1,048,576 tokens
VendorZ.ai
Prompt-cache writes$0.313 (5 min) / $0.5 (1 hour) per 1M tokens: 1.25× and 2× the input price
Reasoning dialglm-5.3-low glm-5.3-medium glm-5.3-high glm-5.3-thinking glm-5.3-nothinking
Also accepted asz-ai/glm-5.3 ~z-ai/glm-latest z-ai/glm-latest glm-latest
Added to the catalog2026-11-12
Catalog entry updated2026-11-28

Prices are what a prepaid model.lol balance is charged per token; every answer reports the exact amount in usage.cost. A refused or moderated request also carries a violation fee (see billing). Signed-in accounts in a pricing group see their group rate on /pricing.

Call it

$ curl https://api.model.lol/v1/chat/completions \
  -H "Authorization: Bearer ml-your-key" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "glm-5.3",
    "messages": [{"role": "user", "content": "hi"}]
  }'

OpenAI SDKs: base_url = https://api.model.lol/v1. Anthropic SDKs and POST /v1/messages take the same id, and so does Claude Code:

export ANTHROPIC_BASE_URL=https://api.model.lol
export ANTHROPIC_AUTH_TOKEN=ml-your-key
claude --model glm-5.3

Gemini SDKs, the Responses API, streaming and tool calls: see the docs.

Other Z.ai models