Home / Models / Free GLM (Z.ai / Zhipu) API

Free GLM (Z.ai / Zhipu) API

Z.ai's free GLM Flash models — GLM-4.5/4.6/4.7 Flash on a no-Chinese-phone international endpoint.

FreeLLMAPI is a free, open-source LLM API that routes across every provider with a real free tier. The GLM (Z.ai / Zhipu) models below are on the free tier of Zhipu AI — reachable through one OpenAI-compatible key, with automatic failover when a provider hits its rate limit.

Free GLM (Z.ai / Zhipu) models (2)

ModelContextFree limitsCapabilities
glm-4.7-flash131K~30Mtools
glm-4.6v-flash131K~30Mtools, vision

How to use GLM (Z.ai / Zhipu) for free

  1. Install FreeLLMAPI — the open-source router (GitHub). It runs locally and keeps your keys on your machine.
  2. Add a free key for Zhipu AI on the Keys page — no credit card required.
  3. Point your OpenAI client at the local endpoint and pick a model:
from openai import OpenAI

# FreeLLMAPI runs locally; grab your unified key + endpoint on the Keys page.
client = OpenAI(base_url="http://localhost:3001/v1", api_key="freellmapi-...")

resp = client.chat.completions.create(
    model="glm-4.7-flash",
    messages=[{"role": "user", "content": "Hello!"}],
)
print(resp.choices[0].message.content)
Use every one of these through one key. FreeLLMAPI is an open-source, self-hosted router that puts all these free tiers behind a single OpenAI-compatible endpoint and fails over when one is rate-limited. Browse the catalog or go live.

FAQ

Is the GLM (Z.ai / Zhipu) API really free?

Yes — these GLM (Z.ai / Zhipu) models run on genuine provider free tiers (on the free tier of Zhipu AI). Inference costs nothing; you only add a free provider key.

Do I need a credit card?

No. The providers here offer free tiers that work without a card. You add the free key once and FreeLLMAPI routes to it.

How do I call GLM (Z.ai / Zhipu) through FreeLLMAPI?

Install the open-source router, add the provider's free key on the Keys page, then point any OpenAI SDK at your local endpoint — see the code sample above.

← Browse all 235+ free models · Best free LLM APIs 2026