Back to all models

Z.AI models and API prices

CupAI offers 10 Z.AI models (text). The cheapest text model is GLM-5.3-Flash: $0.15 per 1M input tokens and $0.5 per 1M output tokens. GLM-5.2 has the largest context window, 1M tokens. All of them work with one OpenAI-compatible API key and payment in toman.

Publisher of the GLM series: hybrid reasoning models tuned for software engineering and long-horizon agent work, offered on a coding-plan subscription.

10 models
Z.AI
Text
1M tokens
GLM-5.2
glm-5.2

Open flagship GLM for long-horizon coding agents and million-token context work

  • Streaming
  • System prompt
Input · per 1M
421,400 Toman
Output
1,324,400 Toman
Cache (read)
421,400 Toman
Cache (write)
421,400 Tomansame as input
Z.AI
Text
1M tokens
GLM-5.3
glm-5.3

Z.AI's open-weight flagship for software engineering and agentic tasks, with a 1M-token context window.

  • Streaming
  • System prompt
Input · per 1M
421,400 Toman
Output
1,327,410 Toman
Cache (read)
78,260 Toman
Cache (write)
1,327,410 Toman
Z.AI
Text
1M tokens
GLM-5.3-Flash
glm-5.3-flash

Z.AI's fast, low-cost multimodal model (text, image, video and PDF input) with a 1M-token context.

  • Streaming
  • System prompt
  • Vision
Input · per 1M
45,150 Toman
Output
150,500 Toman
Cache (read)
9,030 Toman
Cache (write)
45,150 Toman
Z.AI
Text
1M tokens
GLM-5.4
glm-5.4

Z.AI's GLM flagship for coding and agentic work, with text, image, video and PDF input and a 1M-token context window.

  • Streaming
  • System prompt
  • Vision
Input · per 1M
421,400 Toman
Output
1,324,400 Toman
Cache (read)
78,260 Toman
Cache (write)
421,400 Tomansame as input
Z.AI
Text
205K tokens
GLM-5
glm-5

General GLM flagship for coding, analysis, and tool-heavy engineering workflows

  • Streaming
  • System prompt
Input · per 1M
301,000 Toman
Output
963,200 Toman
Cache (read)
301,000 Toman
Cache (write)
301,000 Tomansame as input
Z.AI
Text
200K tokens
GLM-5.1
glm-5.1

Strong GLM coding model for agentic engineering, terminals, and repository generation

  • Streaming
  • System prompt
Input · per 1M
421,400 Toman
Output
1,324,400 Toman
Cache (read)
421,400 Toman
Cache (write)
421,400 Tomansame as input
Z.AI
Text
205K tokens
GLM-4.6
glm-4.6

Late GLM-4 workhorse for coding agents, reasoning, and structured tasks

  • Streaming
  • System prompt
Input · per 1M
180,600 Toman
Output
662,200 Toman
Cache (read)
180,600 Toman
Cache (write)
180,600 Tomansame as input
Z.AI
Text
205K tokens
GLM-4.7
glm-4.7

Mature GLM model for dependable coding, reasoning, and structured agent tasks

  • Streaming
  • System prompt
Input · per 1M
180,600 Toman
Output
662,200 Toman
Cache (read)
180,600 Toman
Cache (write)
180,600 Tomansame as input
Z.AI
Text
131K tokens
GLM-4.5
glm-4.5

Hybrid-reasoning GLM release that made the 4.5 line broadly useful

  • Streaming
  • System prompt
Input · per 1M
180,600 Toman
Output
662,200 Toman
Cache (read)
180,600 Toman
Cache (write)
180,600 Tomansame as input
Z.AI
Text
131K tokens
GLM-4.5-Air
glm-4.5-air

Lighter GLM-4.5 variant for fast coding assistance and cheaper agents

  • Streaming
  • System prompt
Input · per 1M
60,200 Toman
Output
331,100 Toman
Cache (read)
60,200 Toman
Cache (write)
60,200 Tomansame as input

Common questions about Z.AI on CupAI