[Go to site: main page, start]

GLM API

Z.ai's GLM-5.3, GLM-5.3 Flash and GLM-5.2 with a 1M-token context, through one key and prepaid credit.

GLM (Z.ai) models and pricing
ModelContextInput / 1MOutput / 1MCached / 1M
GLM-5.3
z-ai/glm-5.3
1M $1.82$5.72$0.338
GLM-5.3 Flash
z-ai/glm-5.3-flash
1M $0.195$0.65$0.039
GLM-5.2
z-ai/glm-5.2
1M $1.82$5.72$0.273

USD per million tokens. Billed from prepaid credit; every response reports its exact cost.

Quick start
curl https://solorouter.ai/api/v1/chat/completions \
  -H "Authorization: Bearer $SOLO_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "z-ai/glm-5.3", "messages": [{"role": "user", "content": "Hello"}]}'

Works with LangChain, Cline, Continue, Open WebUI and any tool that lets you set a base URL: use https://solorouter.ai/api/v1. See the docs.

How to get your GLM API key
  1. Sign in with Google and top up from $5.
  2. Copy the API key created for you on the Keys page, or create one with its own spending limit.
  3. Send requests to https://solorouter.ai/api/v1/chat/completions with "model": "z-ai/glm-5.3".
Why use GLM (Z.ai) through Solo Router
  • One key for every model: switch between GLM (Z.ai), DeepSeek, GLM, Kimi, Qwen and more by changing the model string.
  • Prepaid, no surprises: each request reserves its cost first, every response reports its exact price, and keys can have spending limits.
  • Works with your tools: LangChain, Cline, Continue, Open WebUI and anything that accepts a base URL.
  • Private: we do not store your prompts or responses.
Related guides Frequently asked questions
How do I get GLM-5.3 API access?

Create a Solo Router key and use the model z-ai/glm-5.3. GLM-5.3 Flash (z-ai/glm-5.3-flash) is the fast, low-cost option.

What is GLM-5.3 good at?

GLM-5.3 is strong at coding and agentic tasks; GLM-5.3 Flash is a cheap everyday model with a 1M context.

Can I use GLM-5.3 for coding agents?

Yes. Point Cline, Continue or your own agent at https://solorouter.ai/api/v1 with your key and the model z-ai/glm-5.3.

Do I need a Z.ai account?

No. One Solo Router key and prepaid balance covers all GLM models.

Get your API key in 30 seconds

Sign in with Google, top up from $5 and pay only for what you use.

Get started

Also on Solo Router: DeepSeek API · Kimi API · Qwen API · MiniMax API · Llama API · Gemma API · all models