OpenAI Chat Completions
WorksPOST /v1/chat/completions
https://api.slashmodel.com/v1Z.ai model
Z.ai's official price (opens in a new tab) for GLM 5.3 Flash is $0.15 per 1M input tokens and $0.50 per 1M output tokens. Here it costs $0.085 and $0.298, 40% less. Call it with the same key as every other model here.
Prices as of Nov 30, 06:38 PM UTC
Your app decides which API it calls, and GLM 5.3 Flash answers on two of our three: OpenAI Chat Completions and Anthropic Messages.
POST /v1/chat/completions
https://api.slashmodel.com/v1POST /v1/messages
https://api.slashmodel.comAlso Cline, Zed, Kilo Code, Roo Code, OpenCode, LiteLLM, LangChain, and Vercel AI SDK, when they're set to Anthropic.
Set up Claude CodePOST /v1/responses
Codex CLI calls only this API, so it can't run GLM 5.3 Flash. In the OpenAI SDK, call chat.completions instead of responses.
We test every channel on each API ourselves, when it's added and then every week. The last test ran on Nov 27, 2026. GET /v1/models/glm-5.3-flash returns the same list.
| Tokens | Z.ai's price | Our price |
|---|---|---|
| Input | Z.ai's price: $0.15 | $0.085 |
| Output | Z.ai's price: $0.50 | $0.298 |
| Cache read | — | $0.025 |
| Cache write | — | $0.085 |
Our price is the cheapest channel that can serve GLM 5.3 Flash 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.
An app sending 10,000 requests a month, each with 2,000 input and 500 output tokens, pays $3.19 a month here, against $5.50 at the official price.
Set your own traffic to see what GLM 5.3 Flash costs a month here and at Z.ai's price.
Each request is like
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.
Each channel is a separate route to GLM 5.3 Flash, 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.
| Channel | Input | Output | Cache read / write | Discount |
|---|---|---|---|---|
| glm-dBest effort | $0.085 | $0.298 | $0.025 / $0.085 | 40% |
Speed and success figures appear once a channel has served requests in the last 24 hours.
A 1M-token context window and up to 128,000 output tokens per answer, with images and tools. It always reasons before it answers.
Our price is each model's cheapest channel now, beside Z.ai's official price.
| Model | Context | Max output | Official price, in / out | Our price, in / out | Cache read / write | Discount |
|---|---|---|---|---|---|---|
| GLM 5.3Previewglm-5.3 | 1.05M | 131.1K | Official price, in / out: $1.40 / $4.40 | $0.849 / $2.971 | $0.213 / $0.849 | 32% |
| GLM 5.3 FlashXglm-5.3-flashx | 1M | 128K | Official price, in / out: $0.37 / $1.25 | $0.213 / $0.743 | $0.061 / $0.213 | 40% |
Change the base URL and the key in the SDK you already use. The model id is glm-5.3-flash.
curl https://api.slashmodel.com/v1/chat/completions \ -H "Authorization: Bearer $SLASHMODEL_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "glm-5.3-flash", "messages": [{"role": "user", "content": "Hello!"}] }'Top up from $10, change one URL, and pay only for the tokens you use.