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.
glm-5.2Open flagship GLM for long-horizon coding agents and million-token context work
- Streaming
- System prompt
glm-5.3Z.AI's open-weight flagship for software engineering and agentic tasks, with a 1M-token context window.
- Streaming
- System prompt
glm-5.3-flashZ.AI's fast, low-cost multimodal model (text, image, video and PDF input) with a 1M-token context.
- Streaming
- System prompt
- Vision
glm-5.4Z.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
glm-5General GLM flagship for coding, analysis, and tool-heavy engineering workflows
- Streaming
- System prompt
glm-5.1Strong GLM coding model for agentic engineering, terminals, and repository generation
- Streaming
- System prompt
glm-4.6Late GLM-4 workhorse for coding agents, reasoning, and structured tasks
- Streaming
- System prompt
glm-4.7Mature GLM model for dependable coding, reasoning, and structured agent tasks
- Streaming
- System prompt
glm-4.5Hybrid-reasoning GLM release that made the 4.5 line broadly useful
- Streaming
- System prompt
glm-4.5-airLighter GLM-4.5 variant for fast coding assistance and cheaper agents
- Streaming
- System prompt
Common questions about Z.AI on CupAI
GLM-5.2, GLM-5.3, GLM-5.3-Flash, GLM-5.4, GLM-5, GLM-5.1, GLM-4.6, GLM-4.7 and 2 more. The full list with prices and specs is on this page.
GLM-5.3-Flash costs $0.15 per 1M input tokens and $0.5 per 1M output tokens; the most expensive, GLM-5.3 costs $1.4 per 1M input tokens and $4.41 per 1M output tokens. Each model page shows its price in toman and US dollars.
Set the base URL to https://api.cupai.ir/v1, use a CupAI API key and send the model ID, for example glm-5.2. Each model's ID is on its card on this page.
No. You pay in rials with an Iranian bank card; no foreign credit card or currency account is needed. Wallet credit does not expire.