Z.AI

GLM-5 Pricing

API pricing for GLM-5 by Z.AI. Input tokens cost $1/1M, output tokens cost $3.2/1M with 205K context window.

Last updated:

ReasoningTools

Input Cost

$1

per 1M tokens

Output Cost

$3.2

per 1M tokens

Context Window

205K

tokens

Cost Calculator

Estimated Cost:

$0.00

Model Details

Provider Z.AI
Model ID glm-5
Context Window 205K tokens
Max Output 131072 tokens
Cache Read Cost $0.2/1M
Release Date 2026-02-12

Compare Alternatives

ModelInputOutputContext
GLM-5 (this model)$1$3.2205K
Qwen3.5 397B-A17B Alibaba$0.6$3.6262K
Qwen3.6 27B Alibaba$0.6$3.6262K
GLM-5 Zhipu AI$1$3.2205K
Qwen3 Max Alibaba (China)$0.861$3.441262K
Qwen3-Coder 480B-A35B Instruct Alibaba (China)$0.861$3.441262K

Available from Resellers

GLM-5 is also available through these resellers and gateways:

ResellerModelInputOutput
302.AIglm-5$0.6$2.6
302.AIglm-5-turbo$0.72$3.2
302.AIglm-5.1$0.86$3.5
302.AIGLM-5V-Turbo$0.72$3.2
AbacusGLM-5$1$3.2
AbacusGLM-5.1$1.4$4.4
AbacusGLM-5.2$1.4$4.4
ai&GLM-5.2$1$4
AIHubMixCoding GLM 5.1$0.06$0.22
AIHubMixGLM 5 Vision Turbo$0.7042$3.09848
← Back to All Models