GLM 4.7 Flash
GLM 4.7 Flash is a language model from Z.ai (Zhipu AI). It is currently free at 2 providers with up to 131K tokens of context. The model supports step-by-step reasoning, is suited to coding, supports tool calling. Its weights are open, so it can also run locally.
- Developer
- Z.ai (Zhipu AI)
- Context
- 131K tokens
- Type
- Text
- License
- Open weights
- Free since
- September 20, 2026
Where to use GLM 4.7 Flash for free
Each row is a separate free endpoint with its own limits.
| Provider | Context | Limit | Card | |
|---|---|---|---|---|
Cloudflare Workers AI @cf/zai-org/glm-4.7-flash |
131K | Workers Free: 10,000 Neurons/day shared across eligible models | — | Open |
UnoRouter glm-4.7-flash:free |
128K | No-card free models use shared capacity and per-model limits; availability can change. | No | Open |
Quick start
curl https://api.cloudflare.com/client/v4/accounts/ACCOUNT_ID/ai/v1/chat/completions \
-H "Authorization: Bearer $CLOUDFLARE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "@cf/zai-org/glm-4.7-flash",
"messages": [{"role": "user", "content": "Hello!"}]
}'from openai import OpenAI
client = OpenAI(
base_url="https://api.cloudflare.com/client/v4/accounts/ACCOUNT_ID/ai/v1",
api_key="YOUR_CLOUDFLARE_API_KEY",
)
reply = client.chat.completions.create(
model="@cf/zai-org/glm-4.7-flash",
messages=[{"role": "user", "content": "Hello!"}],
)
print(reply.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api.cloudflare.com/client/v4/accounts/ACCOUNT_ID/ai/v1",
apiKey: process.env.CLOUDFLARE_API_KEY,
});
const reply = await client.chat.completions.create({
model: "@cf/zai-org/glm-4.7-flash",
messages: [{ role: "user", content: "Hello!" }],
});
console.log(reply.choices[0].message.content);Example for Cloudflare Workers AI. Any OpenAI-compatible client works: Cursor, Cline, OpenCode, Open WebUI.
Benchmarks
This model is not on the Artificial Analysis leaderboard yet. We do not publish our own estimates.
Similar free models
FAQ
Is GLM 4.7 Flash free?
Yes. As of October 24, 2026, GLM 4.7 Flash is free at Cloudflare Workers AI, UnoRouter. Each provider has its own limits — see the table above.
What is the context window of GLM 4.7 Flash?
The largest context among free routes is 131,072 tokens. Some providers cap it lower.
How do I call GLM 4.7 Flash via API?
Use any OpenAI-compatible client with base URL https://api.cloudflare.com/client/v4/accounts/ACCOUNT_ID/ai/v1, model ID @cf/zai-org/glm-4.7-flash, and a Cloudflare Workers AI key.
Is GLM 4.7 Flash open-weight?
Yes, the weights are published — you can download and run it locally, for example with Ollama or LM Studio.