Z.AI (Zhipu AI) lists permanent $0-per-token Flash models directly on its official pricing table behind an OpenAI-compatible API. Verified on 28 Nov 2026, GLM-4.7-Flash, GLM-4.5-Flash and the vision-capable GLM-4.6V-Flash bill at Free for both input and output tokens with no payment card required.
§ 01 · MODEL PRICINGFREE FLASH SLUGS VS PAID GLM MODELS$0 PER TOKEN
Which Z.AI GLM Models Are Free vs Paid
Z.AI hosts both permanent $0 Flash models and paid flagship/FlashX models on the exact same endpoint (https://api.z.ai/api/paas/v4). Always double-check the model slug in your request so you do not accidentally target a paid variant like glm-4.7-flashx or glm-5.3-flash.
Z.AI free Flash models compared against paid GLM models on official pricing docs
Unlike Groq or OpenRouter, Z.AI does not publish a fixed global RPM or RPD table for its free Flash endpoints. Instead, requests are governed by dynamic concurrency limits based on platform load. Small developer scripts and coding assistants run smoothly at low concurrency, while heavy parallel bursts receive HTTP 429.
Practical safeguard: Keep concurrency to 1–3 in-flight requests per worker and add exponential backoff on HTTP 429 — or configure Groq or Google AI Studio as an automatic fallback when Z.AI throttles during peak hours.
import os
from openai import OpenAI
client = OpenAI(
base_url="https://api.z.ai/api/paas/v4",
api_key=os.environ["ZAI_API_KEY"],
)
stream = client.chat.completions.create(
model="glm-4.7-flash",
messages=[{"role": "user", "content": "Hello"}],
stream=True,
)
for chunk in stream:
print(chunk.choices[0].delta.content or "", end="", flush=True)
§ FAQCOMMON QUESTIONSANSWERS
Z.AI Free API Questions
Are Z.AI GLM Flash Models Really Free Without a Card?
Yes. As of 28 Nov 2026, the official Z.AI pricing page lists GLM-4.7-Flash, GLM-4.5-Flash and GLM-4.6V-Flash at Free for input, cached input and output tokens with no credit card required.
What Is the Difference Between GLM-4.7-Flash and GLM-4.7-FlashX?
GLM-4.7-Flash is the $0 free tier with dynamic concurrency limits. GLM-4.7-FlashX is a paid tier ($0.07 input / $0.40 output per million tokens) for higher dedicated throughput.
Does Z.AI Work With Cursor, Cline and Aider?
Yes. Because https://api.z.ai/api/paas/v4 implements the OpenAI Chat Completions format, you can generate ready-to-paste configs for Cursor, Cline, Continue and Aider in our Code Generator.
Does Z.AI Offer a Free Vision Model?
Yes. GLM-4.6V-Flash is listed at Free for both input and output tokens and accepts multimodal image + text prompts over the same endpoint.