All models / Zhipu · GLM
glm-5.3 API pricing and setup
Call this model through XHuoAPI with one key. Below are its prices in each tier, the endpoint formats it accepts, and a request you can copy.
Prices synced
Price by tier
USD per million tokens (per call for per-call models). A token is billed at the price of the tier it was created in; tiers not listed don't offer this model.
| Tier | Input | Cache read | Output |
|---|---|---|---|
| Standard Default | $1.12 | $0.21 | $3.52 |
| Saver | $0.70 | $0.13 | $2.20 |
| Spot | $0.42 | $0.078 | $1.32 |
| Official | $1.40 | $0.26 | $4.40 |
Facts
| Vendor | Zhipu · GLM |
|---|---|
| Type | Chat |
| Endpoint formats | OpenAI Chat Completions |
| Billing | Per token |
| Long-context pricing | None |
| Cache-read price | Yes |
| Tiers | Standard · Saver · Spot · Official |
| Tested | Minimal request succeeded · |
Monthly cost examples
Estimated at Standard-tier prices, without cache discounts.
| 10M in + 1M out | $14.72 |
| 100M in + 20M out | $182 |
Request example
Replace $XHUO_API_KEY with a token from the console. The base URL is https://api.xhuoapi.ai/v1; existing OpenAI SDK code only needs that one change.
curl https://api.xhuoapi.ai/v1/chat/completions \
-H "Authorization: Bearer $XHUO_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "glm-5.3", "messages": [{"role": "user", "content": "Hello"}]}'
from openai import OpenAI
client = OpenAI(base_url="https://api.xhuoapi.ai/v1", api_key="YOUR_XHUOAPI_KEY")
resp = client.chat.completions.create(
model="glm-5.3",
messages=[{"role": "user", "content": "Hello"}],
)
print(resp.choices[0].message.content)
Use it in your tools
Use XHuoAPI in fx (Vercel Labs)
Use XHuoAPI in Cursor
Use XHuoAPI in Cline
Use XHuoAPI in Chatbox
Use XHuoAPI in Open WebUI