Z.AI (GLM)

Truly Free

Zhipu AI's global platform for the GLM model family. GLM-4.5-Flash and GLM-4.7-Flash are free, rate-limited models with strong coding performance, served through an OpenAI-compatible endpoint.

Truly Free Coding Fast OpenAI Compatible
Get API Key Suggest Edit
4

Overview

Provider Type

API

API Endpoint

https://api.z.ai/api/paas/v4

Free Tier Highlights

~1 request/second (Flash models)

Why Choose Z.AI (GLM)?

Z.AI (GLM) stands out for its exceptional performance and speed. With a developer-friendly API and comprehensive documentation, you can integrate AI capabilities into your applications within minutes.

Quick Start Guide

1

Create Account

Sign up at z.ai/chat with your email.
2

Get API Key

Open your profile menu, select API Keys, and create a new key.
3

Configure

Use the OpenAI SDK with base_url='https://api.z.ai/api/paas/v4' and model glm-4.5-flash or glm-4.7-flash.

Available Models

Model Name ID Context Capabilities
GLM-4.5-Flash Free
glm-4.5-flash
128 000
-
GLM-4.7-Flash Free
glm-4.7-flash
128 000
-

Integration Examples

Ready-to-use code snippets for your applications.

main.py
from openai import OpenAI

client = OpenAI(
    api_key="YOUR_ZAI_KEY",
    base_url="https://api.z.ai/api/paas/v4"
)

response = client.chat.completions.create(
    model="glm-4.5-flash",
    messages=[
        {"role": "user", "content": "What makes the GLM Flash tier fast?"}
    ]
)

print(response.choices[0].message.content)

Free Tier Pricing & Limits

Rate Limit

Requests per minute

~1 request/second (Flash models)

Daily Quota

Requests per day

~1000 requests/day (Flash tier)

Token Limit

Tokens per minute

Varies by model

Monthly Quota

Per month limit

Free tier ongoingsubject to change

Use Cases

Low-Cost Coding Assistants

Lightweight Chat Agents

High-Volume Prototyping

Limitations & Considerations

Free Flash tier capped near 1 request/second

Flagship GLM-5.2 model requires a paid plan

Free-tier limits have changed more than once in the past year — verify on docs.z.ai

Community Hub

Live

Join the discussion, share tips, and rate Z.AI (GLM).

Quick Reactions

Add Discussion

Comments are moderated. Be helpful and respectful.

Recent Activity

0 comments

Ready to Get Started?

Join thousands of developers using Z.AI (GLM)

Start Building Now