Z.ai model

GLM 5.3 API pricing

Preview
Price per 1M tokens32% off
Input
$0.849Z.ai's price: $1.40
Output
$2.971Z.ai's price: $4.40

Z.ai's official price (opens in a new tab) for GLM 5.3 is $1.40 per 1M input tokens and $4.40 per 1M output tokens. Here it costs $0.849 and $2.971, 32% less. Call it with the same key as every other model here.

Prices as of Nov 30, 06:38 PM UTC

Works with

Your app decides which API it calls, and GLM 5.3 answers on two of our three: OpenAI Chat Completions and Anthropic Messages.

Anthropic Messages

Works

POST /v1/messages

Base URL
https://api.slashmodel.com
Apps that call it

Also Cline, Zed, Kilo Code, Roo Code, OpenCode, LiteLLM, LangChain, and Vercel AI SDK, when they're set to Anthropic.

Set up Claude Code

OpenAI Responses

Not on this model

POST /v1/responses

Codex CLI calls only this API, so it can't run GLM 5.3. In the OpenAI SDK, call chat.completions instead of responses.

Apps that call it
Codex CLI
10 models work in Codex CLI

We test every channel on each API ourselves, when it's added and then every week. The last test ran on Nov 30, 2026. GET /v1/models/glm-5.3 returns the same list.

Price per 1M tokens

Price per 1M tokens
TokensZ.ai's priceOur price
InputZ.ai's price: $1.40$0.849
OutputZ.ai's price: $4.40$2.971
Cache read—$0.213
Cache write—$0.849

Our price is the cheapest channel that can serve GLM 5.3 now. Prices follow our costs, so they can change from day to day, and each request is billed at the price of the channel that served it.

What it costs

An app sending 10,000 requests a month, each with 2,000 input and 500 output tokens, pays $31.84 a month here, against $50.00 at the official price.

Work out your monthly cost

Set your own traffic to see what GLM 5.3 costs a month here and at Z.ai's price.

Each request is like

Here, a month
$31.84
At Z.ai's price
$50.00
Discount
$18.17 (36%)

Our side uses the cheapest channel's prices now. A request another channel serves is billed at that channel's prices. Caching isn't counted: Z.ai charges less for cached input than for other input, so a workload that reads a lot from its cache can save less than this.

Channels

Each channel is a separate route to GLM 5.3, with its own price. Stable channels are backed by the provider's service level agreement, and Best effort ones are cheaper but can slow down or stop without notice. Routing tries the cheapest channel that's doing well first, or the stable ones first on a key set to Stable first, and a key's max price skips any channel above it. A Backup channel is tried only when the others can't serve, at its own price.

  • glm-dBest effort32% off
    Input
    $0.849
    Output
    $2.971
    Cache read / write
    $0.213 / $0.849
  • glm-bBest effort12% off
    Input
    $1.10
    Output
    $3.85
    Cache read / write
    $0.275 / $1.10

Speed and success figures appear once a channel has served requests in the last 24 hours.

Context window and limits

Model id
glm-5.3
Made by
Z.ai
Context window
1,048,576 tokens
Max output per request
131,072 tokens
APIs
OpenAI Chat Completions /v1/chat/completionsAnthropic Messages /v1/messages
Supports
tool calls, JSON schema output, reasoning
Status
Preview: one channel serves it, so at busy times it can be slow, or not answer for a while

Z.ai gives GLM 5.3 a 1M-token context window, and one answer can be up to 131,072 tokens. It takes text only.

Other GLM models

Our price is each model's cheapest channel now, beside Z.ai's official price.

All GLM models and prices
  • GLM 5.3 FlashXglm-5.3-flashx
    40% off
    Our price, in / out
    $0.213 / $0.743
    Official price, in / out
    Official price, in / out: $0.37 / $1.25
    Cache read / write
    $0.061 / $0.213
    Context
    1M
    Max output
    128K
  • GLM 5.3 Flashglm-5.3-flash
    40% off
    Our price, in / out
    $0.085 / $0.298
    Official price, in / out
    Official price, in / out: $0.15 / $0.50
    Cache read / write
    $0.025 / $0.085
    Context
    1M
    Max output
    128K

Use GLM 5.3

Change the base URL and the key in the SDK you already use. The model id is glm-5.3.

curl https://api.slashmodel.com/v1/chat/completions \  -H "Authorization: Bearer $SLASHMODEL_API_KEY" \  -H "Content-Type: application/json" \  -d '{    "model": "glm-5.3",    "messages": [{"role": "user", "content": "Hello!"}]  }'

One key for every model here.

Top up from $10, change one URL, and pay only for the tokens you use.