Z.AI free models: GLM-4.7-Flash, GLM-4.5-Flash

GLM-4.7-Flash, GLM-4.5-Flash and GLM-4.6V-Flash free

VerifiedConfirmed
Free tier
APIOfficial
Card needed: Not confirmed
Expires: Rate limits not published in readable form; free status can change
Visit site

API setup and how to claim

  1. Register or log in at https://z.ai/model-api.
  2. Create a Standard API Key on the API Keys page at https://z.ai/manage-apikey/apikey-list.
  3. Use base URL https://api.z.ai/api/paas/v4/ with an OpenAI-compatible client.
  4. Call one of the models marked Free on the pricing page: glm-4.7-flash, glm-4.5-flash or glm-4.6v-flash. Paid models such as glm-4.7 and glm-5.3-flash are not part of the free allowance.

Listed model IDs

glm-4.7-flash, glm-4.5-flash, glm-4.6v-flash

GLM-4.7-Flash, GLM-4.5-Flash and GLM-4.6V-Flash carry the free label; the newer GLM-5 family is paid.

Details

Offer
GLM-4.7-Flash, GLM-4.5-Flash and GLM-4.6V-Flash free
Type
Free tier
Product
API, Official
Signup requirements
Create a Z.AI account and API key. The pricing and quick-start docs read on Nov 26, 2026 do not state whether a card is required or what the free-model rate limits are.
Card required
Not confirmed
Expires
Rate limits not published in readable form; free status can change
Verification
Owner confirmed working access on Nov 26, 2026. This records the confirmation, not a new dated test of every model or offer term.

Limits, eligibility and billing

Only the Flash models listed as Free on the pricing page cost nothing; other GLM models are billed. The rate-limit page could not be read, so request limits are unconfirmed, and the docs do not state whether a card is required. The privacy policy says the company does not store content provided or generated while using the services.

Sources

Report not working · Provider website

Quickstart

Z.AI is OpenAI-compatible. Set your key as ZAI_API_KEY, then run one of these. Base URL: https://api.z.ai/api/paas/v4

cURL
curl https://api.z.ai/api/paas/v4/chat/completions \
  -H "Authorization: Bearer $ZAI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "glm-4.7-flash",
    "messages": [{"role": "user", "content": "Say hello"}]
  }'
Python
# pip install openai
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.z.ai/api/paas/v4",
    api_key=os.environ["ZAI_API_KEY"],
)
reply = client.chat.completions.create(
    model="glm-4.7-flash",
    messages=[{"role": "user", "content": "Say hello"}],
)
print(reply.choices[0].message.content)
JavaScript
// npm install openai
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://api.z.ai/api/paas/v4",
  apiKey: process.env.ZAI_API_KEY,
});
const reply = await client.chat.completions.create({
  model: "glm-4.7-flash",
  messages: [{ role: "user", content: "Say hello" }],
});
console.log(reply.choices[0].message.content);

Example model: glm-4.7-flash. Use any free model ID from the provider’s catalog. Keep your key in an environment variable, never in code you share. Z.AI API docs

← All API offers and app benefits