Glm 5 API Pricing & Quick Start
GLM-5 is Z.ai’s flagship open-source foundation model engineered for complex systems design and long-horizon agent workflows. Built for expert developers, it delivers production-grade performance on large-scale programming tasks, rivaling leading...
Technical specifications
Pricing comparison
BazaarLink retail price alongside AA's observed market standard.
BazaarLink price our site
Market reference Artificial Analysis
Source: artificialanalysis.ai
Independent benchmarks
Scores below come from Artificial Analysis, an independent third party. BazaarLink does not participate in the testing.
Top 5 — CodingCoding Index leaderboard
openai/gpt-5-6-sol-xhigh78$5 / $30openai/gpt-5-6-sol-high77$5 / $30anthropic/claude-opus-5-xhigh77$5 / $25Quick Start
Use Glm 5 via BazaarLink API — just change the base_url:
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",
messages=[{"role": "user", "content": "Hello!"}],
)
print(response.choices[0].message.content)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",
messages: [{ role: "user", content: "Hello!" }],
});
console.log(response.choices[0].message.content);Why use Glm 5 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
Frequently Asked Questions
What is Glm 5?
GLM-5 is Z.ai’s flagship open-source foundation model engineered for complex systems design and long-horizon agent workflows. Built for expert developers, it delivers production-grade performance on large-scale programming tasks, rivaling leading...
How much does the Glm 5 API cost?
Glm 5 costs $0.9500 per 1M input tokens and $2.5500 per 1M output tokens when accessed through BazaarLink.
How do I use Glm 5 with the OpenAI SDK?
Set base_url to "https://bazaarlink.ai/api/v1" and use model ID "z-ai/glm-5". All OpenAI SDK methods (chat.completions, embeddings, streaming) work without code changes.
What is the context window for Glm 5?
Glm 5 supports a context window of 204,800 tokens.
Is Glm 5 available for free?
Glm 5 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
- 21 runs
- Independent hosts
- 15
- Model-family fingerprint match
- 0%
- Anomalies detected
- 19 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 →