BazaarLinkBazaarLink
Sign in

Glm 5.2 API Pricing & Quick Start

GLM 5.2 is a large-scale reasoning model from Z.ai. It supports text input and output with a 1M-token context window, and is suited for long-horizon agent workflows, project-level software engineering,...

Intelligence#21 / 573
51
Artificial Analysis Intelligence Index
Speed#42 / 586
156.7
Output tokens per second (median)
Input Price#479 / 586
$1.40NT$ 45
USD / 1M tokens
Output Price#440 / 586
$4.40NT$ 142
USD / 1M tokens
First-token latency#476 / 586
0.91s
Time to first token (AA median)
ProviderZhipu AI
ReleasedJune 2026
Model IDz-ai/glm-5.2

Technical specifications

Context window
1M tokens
Reasoning
Yes
Input
Text
Output
Text

Pricing comparison

BazaarLink retail price alongside AA's observed market standard.

BazaarLink price our site

Input$1.40NT$ 45
Output$4.40NT$ 142
Cache read$0.28NT$ 9
Cache write
3:1 blended (est.)$2.15NT$ 70
All prices per 1M tokens. Supports TWD credit card / official invoice.

Market reference Artificial Analysis

Input$1.40
Output$4.40
Cache readAA not tracked
Cache writeAA not tracked
3:1 blended$2.15
✓ Matches market reference — BazaarLink does not mark up.
Source: artificialanalysis.ai

Independent benchmarks

Scores below come from Artificial Analysis, an independent third party. BazaarLink does not participate in the testing.

Intelligence 51
Coding 69
Math
MMLU
GPQA 90
This modelCategory leader
Coding ability
#26out of 198 models
LiveCodeBench / SciCode and similar
Overall intelligence
#21out of 573 models
Aggregated across academic benchmarks
Time to first token
#476out of 586 models
AA 全球 p50:0.91 秒
Intelligence
51
Top 4%
This model
51
Category leader
61
Median
15
Coding
69
Top 13%
This model
69
Category leader
78
Median
37
GPQA
90%
This model
90%
Category leader
94%
Median
69%
HLE
40%
This model
40%
Category leader
53%
Median
7%
SciCode
51%
This model
51%
Category leader
60%
Median
33%
IFBench
73%
This model
73%
Category leader
83%
Median
44%
τ²-Bench Telecom
99%
This model
99%
Category leader
99%
Median
46%
AA-LCR
71%
This model
71%
Category leader
76%
Median
40%
Terminal-Bench Hard
51%
This model
51%
Category leader
66%
Median
14%

Top 5 — CodingCoding Index leaderboard

1GPT-5.6 Sol (xhigh)openai/gpt-5-6-sol-xhigh78$5 / $30
4GPT-5.6 Sol (high)openai/gpt-5-6-sol-high77$5 / $30
5Claude Opus 5 (Adaptive Reasoning, Xhigh Effort)anthropic/claude-opus-5-xhigh77$5 / $25
AASource: Artificial Analysis · Independent third-party evaluation; not influenced by BazaarLinkView full evaluation on AA →

Quick Start

Use Glm 5.2 via BazaarLink API — just change the base_url:

Python
from openai import OpenAI

client = OpenAI(
    base_url="https://bazaarlink.ai/api/v1",
    api_key="sk-bl-YOUR_API_KEY",
)

response = client.chat.completions.create(
    model="z-ai/glm-5.2",
    messages=[{"role": "user", "content": "Hello!"}],
)
print(response.choices[0].message.content)
TypeScript
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://bazaarlink.ai/api/v1",
  apiKey: "sk-bl-YOUR_API_KEY",
});

const response = await client.chat.completions.create({
  model: "z-ai/glm-5.2",
  messages: [{ role: "user", content: "Hello!" }],
});
console.log(response.choices[0].message.content);

Why use Glm 5.2 via BazaarLink?

  • USD billing (TWD-quoted) + unified invoices — no foreign credit card needed for Taiwan teams
  • OpenAI-compatible API — zero code changes required
  • Automatic failover — multi-provider redundancy for the same model
  • Chinese-language support — local team, instant help
Try Now← All Models

Frequently Asked Questions

What is Glm 5.2?

GLM 5.2 is a large-scale reasoning model from Z.ai. It supports text input and output with a 1M-token context window, and is suited for long-horizon agent workflows, project-level software engineering,...

How much does the Glm 5.2 API cost?

Glm 5.2 costs $1.4000 per 1M input tokens and $4.4000 per 1M output tokens when accessed through BazaarLink.

How do I use Glm 5.2 with the OpenAI SDK?

Set base_url to "https://bazaarlink.ai/api/v1" and use model ID "z-ai/glm-5.2". All OpenAI SDK methods (chat.completions, embeddings, streaming) work without code changes.

What is the context window for Glm 5.2?

Glm 5.2 supports a context window of 1,048,576 tokens.

Is Glm 5.2 available for free?

Glm 5.2 is a paid model. BazaarLink offers free trial credits on registration so you can test it without a credit card.

Relay integrity checks

Tested endpoints
354 runs
Independent hosts
160
Model-family fingerprint match
0%
Anomalies detected
317 runs
Data range
past 90 days

BazaarLink Probe verifies endpoints that claim to serve this model and flags behavior that differs from the reference baseline.

View the full integrity report →

Related models and links

More from this provider: Zhipu AI

Glm 4.7Glm 5Glm 5.1Glm 5v TurboGlm 5 TurboGlm 4.6v
ModelsAPI documentationAPI latency probe
Support
Support
Hi! How can we help you?
Send a message and we'll get back to you soon.