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.34
GLM-5.3 Flash
z-ai/glm-5.3-flash
1M $0.20$0.65$0.039
GLM-5.2
z-ai/glm-5.2
1M $1.82$5.72$0.27

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.

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.

Get your API key in 30 seconds

Sign in with Google. New accounts get free credit to try any model.

Get started free

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