BazaarLinkBazaarLink
Sign in
Z

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,...

Pricing

Input Price
$1.2000
/ 1M tokens
NT$ 37.97
Output Price
$4.1000
/ 1M tokens
NT$ 129.72
Context Window
1M
tokens

💱 匯率 USD/NTD = 31.64 · 不含稅 · 更新於 2026/06/19

ProviderZz-ai
Released2026年6月
Model IDz-ai/glm-5.2

Technical specifications

Context window
1M tokens
Reasoning
Yes
Input
Text
Output
Text

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.2000 per 1K input tokens and $4.1000 per 1K 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.

中轉站誠信檢測 · BazaarLink 獨家

已測試 endpoint
2
獨立 hosts
1
家族指紋一致率
0%
偵測到異常
0
資料範圍
過去 90

BazaarLink Probe 對聲稱提供此模型的 endpoint 進行家族指紋驗證與 V3 子模型對照。 如發現行為與真貨基準不符,會列入異常案例。

查看完整檢測報告 →

Related Models & Links

More from z-ai

Glm 4.6Glm 4.7 FlashGlm 4.6vGlm 5.1Glm 4.5 AirGlm 5
All ModelsAPI DocumentationAPI Latency Probe
Support
Support
Hi! How can we help you?
Send a message and we'll get back to you soon.