Z.ai models

GLM API pricing

Z.ai's official prices (opens in a new tab) per 1M input / output tokens are $1.40 / $4.40 for GLM 5.3, $0.37 / $1.25 for GLM 5.3 FlashX, and $0.15 / $0.50 for GLM 5.3 Flash. Here the same models cost at least 32% less.

Z.ai's GLM models work here through the OpenAI Chat Completions API and the Anthropic Messages API, so Claude Code can run them too, with the same key as every other model.

Prices as of Nov 30, 06:44 PM UTC

GLM prices per 1M tokens

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

  • GLM 5.3Previewglm-5.3
    32% off
    Our price, in / out
    $0.849 / $2.971
    Official price, in / out
    Official price, in / out: $1.40 / $4.40
    Cache read / write
    $0.213 / $0.849
    Context
    1.05M
    Max output
    131.1K
  • 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

What a month costs

It starts from an app sending 10,000 requests a month, each with 2,000 input and 500 output tokens. Set your own numbers to compare.

Each request is like

  • GLM 5.3
    Here, a month
    $31.84
    At Z.ai's price
    $50.00
    Discount
    $18.17 (36%)
  • GLM 5.3 FlashX
    Here, a month
    $7.98
    At Z.ai's price
    $13.65
    Discount
    $5.68 (41%)
  • GLM 5.3 Flash
    Here, a month
    $3.19
    At Z.ai's price
    $5.50
    Discount
    $2.31 (42%)

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.

Good to know

  • GLM 5.3 FlashX and GLM 5.3 Flash read images; GLM 5.3 takes text only.
  • GLM 5.3 is a preview here: one channel serves it, so at busy times it can be slow or briefly unavailable.
  • Each request is billed at the prices of the channel that served it.

Call GLM 5.3 in a minute

Change the base URL and the key in the SDK you already use. Every model on this page takes the same key.

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!"}]  }'

Other model families

One key for every model here.

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