ZaiFreeOperational
Glm 4.7 Flash
API model name: glm-4.7-flash
Glm 4.7 Flash is Zai's chat model, served on the Api.Airforce unified API. It has a 131K-token context window. Capabilities include Tool calling. It is available on the free tier at no per-token cost. Knowledge cutoff: 2025-04. Access it through the OpenAI-compatible API with one key, alongside 100+ other models on Api.Airforce.
Pricing
Specifications
- Provider
- Zai
- Type
- chat model
- Context window
- 131K tokens
- Max output
- 8K tokens
- Knowledge cutoff
- 2025-04
- Input
- text
- Output
- text
Capabilities
Tool callingStreaming
Benchmarks
Independent evaluations and measured speed from Artificial Analysis.
Intelligence Index
30.1/100
Coding Index
25.9/100
GPQA Diamond58%
Humanity's Last Exam7%
Output speed81.9 tok/s
Time to first token0.97 s
Source: Benchmark data by Artificial Analysis (artificialanalysis.ai)
What is Glm 4.7 Flash used for?
- Chatbots & assistants — conversational AI, drafting, summarizing and Q&A.
- Agents & automation — function calling and tool use for multi-step workflows.
- Real-time experiences — stream tokens for responsive chat and apps.
Glm 4.7 Flash vs. similar models
| Model | Intelligence | Context | Input / 1M | Output / 1M |
|---|---|---|---|---|
| Glm 4.7 Flash | 30.1 | 131K | Free | Free |
| Glm 4.5 | 26.4 | — | $0.70 | $2.40 |
| Glm 4.6 | 32.5 | — | $0.45 | $1.65 |
| Glm 4.7 | 42.1 | — | $0.70 | $2.40 |
Prices are Api.Airforce pay-as-you-go rates per 1M tokens. Context is the maximum input length.
Related models
Glm 4.5Zai · $0.70 / 1MGlm 4.6Zai · $0.45 / 1MGlm 4.7Zai · $0.70 / 1MGlm 4.7 FreeZai · FreeGlm 5Zai · $0.80 / 1MGlm 5 FreeZai · FreeGlm 5.1Zai · $0.80 / 1MGlm 5.2Zai · $1.05 / 1MGrok 4.20 BetaxAI · FreeGrok 4.20 Multi AgentxAI · $3.12 / 1MGrok 4.3xAI · $0.27 / 1MGrok Code Fast 1xAI · $0.30 / 1M
Glm 4.7 Flash — frequently asked questions
- How much does Glm 4.7 Flash cost?
- Glm 4.7 Flash is available on the free tier at no token cost — create an API key and start building. Paid plans add higher rate limits.
- What is the context window of Glm 4.7 Flash?
- Glm 4.7 Flash supports a context window of up to 131K tokens. It can return up to 8K tokens in a single response.
- What can Glm 4.7 Flash do?
- Glm 4.7 Flash supports Tool calling.
- Is Glm 4.7 Flash free to use?
- Yes — Glm 4.7 Flash is on the free tier. You can use it with an Api.Airforce API key at no cost.
- How do I use Glm 4.7 Flash via the API?
- Glm 4.7 Flash is OpenAI-compatible. Point any OpenAI SDK at https://api.airforce/v1 and pass the model ID glm-4.7-flash with your Api.Airforce API key.
- Who makes Glm 4.7 Flash?
- Glm 4.7 Flash is Zai's chat model, served through the unified Api.Airforce gateway alongside 100+ other models.
Loading live metrics…
Loading live metrics…
Loading live metrics…
Use Glm 4.7 Flash via the API
OpenAI-compatible — point any OpenAI SDK at https://api.airforce/v1 and pass glm-4.7-flash as the model.
cURL
curl https://api.airforce/v1/chat/completions \
-H "Authorization: Bearer $AIRFORCE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "glm-4.7-flash",
"messages": [{ "role": "user", "content": "Hello!" }]
}'Python
from openai import OpenAI
client = OpenAI(base_url="https://api.airforce/v1", api_key="$AIRFORCE_API_KEY")
r = client.chat.completions.create(
model="glm-4.7-flash",
messages=[{"role": "user", "content": "Hello!"}],
)
print(r.choices[0].message.content)JavaScript
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.airforce/v1", apiKey: process.env.AIRFORCE_API_KEY });
const r = await client.chat.completions.create({
model: "glm-4.7-flash",
messages: [{ role: "user", content: "Hello!" }],
});
console.log(r.choices[0].message.content);