GLM-5
$1.00
$3.20
200K
2026-02-12
- Positioning
- Balanced. The vendor doesn't give one, so it's placed by price among text models. The vendor has a newer generation.
- Price
- Level 2 of 4 among text models ($ is the cheapest), by output price per 1M tokens: $1 to under $5.
- Vendor-stated speed
- Not shown: the vendor doesn't compare this model's speed.
Three separate signals, not a quality score.
GLM-5 is Z.ai's foundation model for agentic engineering, a 744B-parameter mixture-of-experts with 40B active per token, released under the MIT license. Z.ai documents a 200K context, up to 128K output, switchable thinking modes, function calling, context caching, and structured JSON output. On ATP it is the entry tier of the GLM-5 family, below GLM-5.1 and GLM-5.2.
Z.ai's GLM-5 overview lists a 200K context length and up to 128K maximum output tokens.
Pricing
Z.ai · Family · USD / 1M tokens
Cost per 1,000 typical requests
| Workload | USD / 1,000 |
|---|---|
| Short chat turn800 / 400 | $2.08 |
| RAG answer4,000 / 500 | $5.60 |
| Agent step with tools20,000 / 1,500 | $24.80 |
Where it fits
- Tool-invoking agents and function calling at the lowest GLM-5 family rate on ATP
- Structured JSON extraction from contracts, reports, and tickets
- Everyday coding and drafting, toggling thinking off when speed matters
- Inputs beyond 200K tokens — GLM-5.2 offers a 1M context on ATP
- Workloads that need the newest GLM generation — GLM-5.1 and GLM-5.2 supersede it
Benchmarks
- SWE-bench Verified77.8%
OpenHands, tailored prompt; temperature=0.7, top_p=0.95, 200K context
Z.ai - Terminal-Bench 2.0 (Terminus 2)56.2%
Terminus framework, timeout 2h, 128K context; 60.7 on Z.ai's verified Terminal-Bench 2.0
Z.ai - HLE (w/ Tools)50.4%
text-only subset; max context 202,752 tokens
Z.ai - BrowseComp62.0%
without context management (75.9 with context management)
Z.ai
| Benchmark | Score | Source |
|---|---|---|
| SWE-bench VerifiedOpenHands, tailored prompt; temperature=0.7, top_p=0.95, 200K context | 77.8% | Z.ai |
| Terminal-Bench 2.0 (Terminus 2)Terminus framework, timeout 2h, 128K context; 60.7 on Z.ai's verified Terminal-Bench 2.0 | 56.2% | Z.ai |
| HLE (w/ Tools)text-only subset; max context 202,752 tokens | 50.4% | Z.ai |
| BrowseCompwithout context management (75.9 with context management) | 62.0% | Z.ai |
Scores as published by each vendor, not measured by ATP. Test conditions vary, so they are not directly comparable across vendors.
Same controls on every model: project keys, per-project model access, credit budgets, and a log of every request.Set up your organization
Cost estimator
- Input$10.00
- Output$6.40
$16.40 USD / month · 1,640 credits / month
Quickstart
from openai import OpenAI
client = OpenAI(
base_url="https://api.atptoken.ai/v1",
api_key="atp-•••"
)
r = client.chat.completions.create(
model="glm-5",
messages=[{"role":"user","content":"hi"}],
)Compare with similar models
- Kimi K2.6Moonshot (Kimi)Positioning: Balanced. Price level 2 of 4 among text models.$0.95 / $4.00In / out · per 1M tokens
- DeepSeek V3.2DeepSeekPositioning: Balanced. Price level 2 of 4 among text models.$0.57 / $1.71In / out · per 1M tokens
- Qwen 3.6 PlusQwen (Alibaba)Positioning: Balanced. Price level 2 of 4 among text models.$0.276 / $1.651In / out · per 1M tokens
FAQ
- Can GLM-5 use tools, read images, or think before answering?
- GLM-5 supports tool calling, vision input and extended thinking, but not audio.
- How much context does GLM-5 take?
- Z.ai lists a 200,000-token context window for GLM-5. Source: Z.ai — GLM-5 overview (developer docs). The model list your key can see shows the limit you actually get.
- How is GLM-5 priced?
- You pay per 1M input tokens and per 1M output tokens. You only pay when a request succeeds. $1 = 100 credits. See pricing
- Is there a newer Z.ai model than GLM-5 on ATP?
- Yes. GLM-5.2 (glm-5-2) came out on Jun 16, 2026, after GLM-5 (Feb 12, 2026), and is the newer Z.ai text option on ATP. Both stay available: compare family prices on this page, then turn on the id you want for your project.
Sources
Start with $5. Credits never expire.
Create a project key, turn this model on, and pay only for what you use.