Text model
GLM-4.5
z-ai/glm-4.5
z-ai/glm-4.5 is a language model from Z.ai you can call on the OceanToken API at $0.60 per 1M input tokens and $2.20 per 1M output tokens, with a 131K-token context window and up to 98K output tokens; it supports reasoning, tool calling.
At a glance
| Model ID | z-ai/glm-4.5 |
|---|---|
| Type | Text |
| Publisher | Z.ai |
| Context window | 131,072 tokens |
| Max output | 98,304 tokens |
| Input price | $0.60 per 1M tokens |
| Output price | $2.20 per 1M tokens |
| Cached input price | $0.11 per 1M tokens |
| Capabilities | reasoning, tool calling |
| Endpoint | /v1/chat/completions, /v1/responses |
| API shape | OpenAI-compatible |
| In the catalog since | 2025-07-25 |
| Scheduled retirement | 2026-12-31 |
Call it
Base URL https://api.oceantoken.ai/v1, your OceanToken key as the bearer token, and the model ID above as model. The OpenAI SDKs work unchanged; see your first request.
curl https://api.oceantoken.ai/v1/chat/completions \
-H "Authorization: Bearer $OCEANTOKEN_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "z-ai/glm-4.5", "messages": [{"role": "user", "content": "Hello"}]}'
Compared with similar models
Text models on OceanToken closest to z-ai/glm-4.5 in price. Every price is what you pay, in US dollars, with no platform fee on top.
| Model | Publisher | Context | Price (per 1M tokens) |
|---|---|---|---|
| GLM-4.5 | Z.ai | 131,072 | $0.60 / $2.20 |
MiniMax M1minimax/minimax-m1 | MiniMax | 1M | $0.40 / $2.20 |
DeepSeek R1 0528deepseek/deepseek-r1-0528 | DeepSeek | 164K | $0.571 / $2.286 |
Kimi K2moonshotai/kimi-k2 | Moonshot AI | 131K | $0.57 / $2.30 |
More from Z.ai
- GLM-4.5 Air
z-ai/glm-4.5-air - GLM-4.5v
z-ai/glm-4.5v - GLM-4.6
z-ai/glm-4.6 - GLM-4.6v
z-ai/glm-4.6v - GLM-4.7
z-ai/glm-4.7 - GLM-4.7 Flash
z-ai/glm-4.7-flash - GLM-5
z-ai/glm-5 - GLM-5 Turbo
z-ai/glm-5-turbo
Use it
Create an account All models and prices
Prices and capabilities on this page were read from the live OceanToken catalog on 2026-10-18 (UTC), when the documentation was built. If a price has changed since, the console's Models page shows the current one.