GLM-5 API
Model ID: glm-5 · Zhipu AI · Billed per token
GLM-5 pricing
| Aiberm | Official | |
|---|---|---|
| Input | $0.563 / 1M tokens | $1.00 |
| Output | $2.39 / 1M tokens | $3.20 |
Prices in USD. About 25% below the official price. Pay as you go, no minimum spend.
Get an API key · Read the docs
How to call GLM-5
Use your Aiberm API key, set the base URL, and pass glm-5 as the model name.
- Mainland China:
https://aiberm.org - International:
https://aiberm.com
Supported request formats:
- Anthropic Messages —
/v1/messages - OpenAI Chat Completions —
/v1/chat/completions
curl https://aiberm.org/v1/chat/completions \
-H "Authorization: Bearer $AIBERM_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "glm-5", "messages": [{"role": "user", "content": "Hello"}]}'
Use GLM-5 in your tools
- Claude Code
- OpenCode
- OpenClaw
- Pi
- Hermes Agent
- DeepSeek Harness
- Claude Desktop
- DeepSeek Harness Desktop
- Trae
- Magpie
FAQ
How much does the GLM-5 API cost?
On Aiberm, GLM-5 (glm-5) costs $0.563 per 1M input tokens and $2.39 per 1M output tokens, compared with the official $1.00 / $3.20 — about 25% less. You pay only for the tokens you use, with no minimum spend.
How do I call GLM-5 through Aiberm?
Set the base URL to https://aiberm.org, use glm-5 as the model name, and authenticate with your Aiberm API key. Supported request formats: Anthropic Messages, OpenAI Chat Completions.
Can I use GLM-5 in Claude Code, OpenCode or OpenClaw?
Yes. Add Aiberm as a provider in Claude Code, OpenCode, OpenClaw with the base URL and your API key, then select glm-5. Each tool has a step-by-step guide in the Aiberm docs.
More Zhipu AI models
- GLM-5.2
glm-5.2— $1.10 input / $4.69 output per 1M tokens - GLM-5.3
glm-5.3— $1.10 input / $4.69 output per 1M tokens - GLM-5 Turbo
glm-5-turbo— $0.563 input / $2.39 output per 1M tokens (−40%) - GLM-4.6
glm-4.6— $0.506 input / $2.15 output per 1M tokens (−2%)