§ LLMS.FREEFREE LLM APISVERIFIED 2026

Z.AI API Free Tier: GLM Flash Models and Setup

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.

Yes, Free Flash Models · checked 28 Nov 2026

Z.AI Free Tier Summary

Verified free model
glm-4.7-flash
Free vision model
glm-4.6v-flash
Rate limits
Dynamic concurrency cap
OpenAI SDK
Yes (Base URL swap)
Official pricing
docs.z.ai/guides/…
No CardNo Expiry
Get Z.AI API Key
§ 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
Model SlugModalityInput / Output PriceTier
glm-4.7-flashText, coding, toolsFree / FreePermanent Free
glm-4.5-flashText, fast chatFree / FreePermanent Free
glm-4.6v-flashMultimodal vision + textFree / FreePermanent Free
glm-4.7-flashxHigher-throughput FlashX$0.07 / $0.40 per 1MPaid Balance
glm-5.3-flashNewer paid Flash tier$0.15 / $0.50 per 1MPaid Balance
§ 02 · RATE LIMITSDYNAMIC CONCURRENCY THROTTLINGHANDLE HTTP 429

How Z.AI Meters Free Flash Concurrency

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.

§ 03 · SETUP & CODEOPENAI SDK COMPATIBLEZAI_API_KEY

How to Get a Z.AI API Key

  1. Create a Z.AI Developer Account

    Sign in on z.ai with email or OAuth. No payment card is required to call the $0 Flash models.

  2. Generate an API Key

    Open API Key management at z.ai/manage-apikey/apikey-list, create a key and store it in ZAI_API_KEY.

  3. Call a $0 Flash Model via OpenAI SDK

    Set base_url to https://api.z.ai/api/paas/v4 and pass glm-4.7-flash, glm-4.5-flash or glm-4.6v-flash.

Z.AI API Starter Code

Export ZAI_API_KEY and set base_url to https://api.z.ai/api/paas/v4 with glm-4.7-flash.

import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.z.ai/api/paas/v4",
    api_key=os.environ["ZAI_API_KEY"],
)
r = client.chat.completions.create(
    model="glm-4.7-flash",
    messages=[{"role": "user", "content": "Hello"}],
)
print(r.choices[0].message.content)
§ 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.

Get Free Key