Z.ai API pricing

Input and output price per 1 million tokens for 17 Z.ai models, with context window sizes. Updated 2026-11-09.

OpenAI (58) Qwen (41) Google (30) Mistral (20) Z.ai (17) Anthropic (15) DeepSeek (14) Meta (9) Meta Llama (8) Moonshot AI (8) Tencent (8) xAI (7) Aion Labs (6) ByteDance Seed (6) NVIDIA (6) Amazon (5) Cohere (5) Perplexity (5) Xiaomi (5) Inclusionai (4) MiniMax (4) Sakana (4)

Prices are USD per 1 million tokens. Updated 2026-11-09. Want a number for your own prompt? Use the token counter and cost calculator.

Z.ai API pricing per 1M tokens

ModelContextInput $/1MOutput $/1MCached input $/1MImages in
GLM 5.3 FlashX Legalz-ai/glm-5.3-flashx-legal1M$0.37$1.25$0.075Yes
GLM 5.3 Primez-ai/glm-5.3-prime1M$2.8$8.8$0.56—
GLM 5.3 FlashXz-ai/glm-5.3-flashx1M$0.37$1.25$0.075Yes
GLM 5.3 Flashz-ai/glm-5.3-flash1M$0.15$0.5$0.03Yes
GLM 5.3z-ai/glm-5.31M$0.0699$1.4$0.0689—
GLM 5.2z-ai/glm-5.21M$0.006$6.8$0.005—
GLM 5.1z-ai/glm-5.1205K$1.4$4.4$0.26—
GLM 5V Turboz-ai/glm-5v-turbo203K$1.2$4$0.24Yes
GLM 5 Turboz-ai/glm-5-turbo203K$1.2$4$0.24—
GLM 5z-ai/glm-5205K$1$3.2$0.2—
GLM 4.7 Flashz-ai/glm-4.7-flash200K$0.0605$0.4——
GLM 4.7z-ai/glm-4.7205K$0.6$2.2$0.11—
GLM 4.6Vz-ai/glm-4.6v131K$0.3$0.9$0.055Yes
GLM 4.6z-ai/glm-4.6205K$0.5$2$0.1—
GLM 4.5Vz-ai/glm-4.5v66K$0.6$1.8$0.11Yes
GLM 4.5z-ai/glm-4.5131K$0.6$2.2$0.11—
GLM 4.5 Airz-ai/glm-4.5-air131K$0.2$1.1$0.03—

Quick facts