ZaiFree
Glm 5 Free
API model name: glm-5-free
Glm 5 Free is Zai's chat model, served on the Api.Airforce unified API. It has a 200K-token context window. Beyond text, it accepts image as input. Capabilities include Vision, Tool calling. It is available on the free tier at no per-token cost. Knowledge cutoff: 2025-10. Access it through the OpenAI-compatible API with one key, alongside 65+ other models on Api.Airforce.
Pricing
Specifications
- Provider
- Zai
- Type
- chat model
- Context window
- 200K tokens
- Max output
- 16K tokens
- Knowledge cutoff
- 2025-10
- Input
- text, image
- Output
- text
Capabilities
VisionTool callingStreaming
Use Glm 5 Free via the API
OpenAI-compatible — point any OpenAI SDK at https://api.airforce/v1 and pass glm-5-free 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-5-free",
"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-5-free",
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-5-free",
messages: [{ role: "user", content: "Hello!" }],
});
console.log(r.choices[0].message.content);Live performance
Real throughput and latency across the suppliers serving this model.
Loading live metrics…
Related models
Glm 4.5Zai · $0.70 / 1MGlm 4.6Zai · Free / 1MGlm 4.7Zai · $0.70 / 1MGlm 4.7 FlashZai · FreeGlm 4.7 FreeZai · FreeGlm 5Zai · $0.80 / 1MGlm 5.1Zai · $0.80 / 1MClaude 3 7 Ch ExpAnthropic · FreeClaude 4 Ch ExpAnthropic · FreeClaude Haiku 4.5Anthropic · $0.60 / 1MClaude Opus 4.5Anthropic · $2.20 / 1MClaude Opus 4.5 RpAnthropic · $3.00 / 1M