GLM API
Buy GLM-5.2 — Zhipu flagship for coding, agents, and deep reasoning. OpenAI-compatible.
Get GLM-5.2 API access without a separate BigModel account. APIMaster routes verified Zhipu channels, billed per token at official BigModel list rates. One OpenAI-compatible key also covers Claude, GPT and DeepSeek — drop it into Cursor, Claude Code or any OpenAI SDK.
Channel 61
Fingerprint history
No detection data
Uptime
No detection data
Every GLM channel is uptime-checked before it's listed, so you get a working endpoint.
GLM API — Pricing
| Model | Our price | Official | Save |
|---|---|---|---|
| GLM 5.2 | $1.4/M | $1.4/M | — |
Capabilities
Coding flagship
GLM-5.2 targets complex coding, agents, and long-context engineering tasks.
Deep reasoning
Strong thinking mode for multi-step analysis and tool use.
OpenAI-compatible
Standard chat/completions endpoint — change base URL and key.
Use cases
Quick start
curl https://apimaster.ai/v1/chat/completions \
-H "Authorization: Bearer $APIMASTER_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "glm-5.2",
"messages": [{ "role": "user", "content": "Hello" }]
}'GLM API — Frequently Asked Questions
Which GLM models are available?
Currently available: glm-5.2 — billed per token (input + output).
How is it billed? Is there a minimum?
Billed per token — see the price table above. Pay-as-you-go via Alipay, WeChat Pay, USDT and credit card, from $1.
Is it OpenAI-compatible?
Yes — it works with Cursor, Claude Code and any OpenAI SDK by changing the base URL and key.
Is my data safe?
Yes. Your API data is not stored or used for training, and all requests are sent over encrypted connections.
Other models
How to Get Started
Create Your API Key
Sign up and create an OpenAI-compatible API key in 3 seconds. No credit card required.
Create API KeyTop Up Your Balance
Add credits via USDT or Epay. One balance works across all models and providers.
Top Up NowPlug Into Your Code or Agent
Swap in your APIMaster key and base URL — works with any OpenAI-compatible tool: Claude Code, Cursor, LangChain, LiteLLM, and more.
View Docs