All models
- Model ID
- glm-5.2
- Context
- 1M
- Provider
- Z.ai
- Input · USD / 1M tokens
- $1.12 USD
- Official price $1.4 USD
- Output · USD / 1M tokens
- $3.52 USD
- Official price $4.4 USD
- Savings
- 20%
- Last verified
- 2026-07-22
01
Where it fits
Choose it for project-scale engineering tasks that need long context and sustained tool-driven execution.
02
Model capabilities
Tool use
Can select and call tools in agent workflows that support structured tool use.
03
OpenAI-compatible API
Keep your client and change the base URL, API key, and model ID.
curl
curl https://api.omniakey.com/v1/chat/completions \
-H "Authorization: Bearer $OMNIAKEY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "glm-5.2",
"messages": [{"role": "user", "content": "Explain this codebase"}],
"stream": true
}'04
Compatible coding tools
Claude Code
Codex
Cursor
Cline
Aider
Frequently asked questions
How much does GLM-5.2 cost on OmniaKey?
OmniaKey charges $1.12 USD per 1M input tokens and $3.52 USD per 1M output tokens, in USD. Official prices are $1.4 USD and $4.4 USD; you save 20%.
What is the context window for GLM-5.2?
The listed context window is 1M. Actual usable limits can also depend on the client and upstream request format.
Which coding tools work with GLM-5.2?
The current catalog lists compatibility with Claude Code, Codex, Cursor, Cline, Aider. Use the model ID shown on this page when the client supports model selection.