APIMaster.ai

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.

Select Model
105
glm-5.2

Provider 105

IN$0.7789/M$1.4/MSave 44%
OUT$2.7263/M$4.4/MSave 38%

Fingerprint history

No detection data

Uptime

No detection data

97
glm-5.2

Provider 97

IN$0.84/M$1.4/MSave 40%
OUT$2.64/M$4.4/MSave 40%

Fingerprint history

No detection data

Uptime

No detection data

106
glm-5.2

Provider 106

IN$0.9202/M$1.4/MSave 34%
OUT$3.2205/M$4.4/MSave 27%

Fingerprint history

No detection data

Uptime

No detection data

38
glm-5.2

Provider 38

IN$1.092/M$1.4/MSave 22%
OUT$3.432/M$4.4/MSave 22%

Fingerprint history

No detection data

Uptime

No detection data

56
glm-5.2

Provider 56

IN$1.4/M
OUT$4.4/M

Fingerprint history

No detection data

Uptime

No detection data

61
glm-5.2

Provider 61

IN$1.4/M
OUT$4.4/M

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

ModelOur priceOfficialSave
GLM 5.2$0.7789/M$1.4/M44%

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

Coding assistantsAgent workflowsLong-context analysisTool calling

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

01

Top Up Your Balance

Add credits via USDT or Epay. One balance works across all models and providers.

Top Up Now
02

Create Your API Key

Sign up and create an OpenAI-compatible API key in 3 seconds. No credit card required.

Create API Key
03

Plug 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