更新于2026-08-30 | 永久免费 | OpenRouter官方数据
一句话简介
GLM-4.7 Flash Free API 提供128K上下文、极速推理的永久免费LLM服务,完美平衡成本与性能。
5维稀缺度雷达表
| 维度 |
分值 |
说明 |
| 免费度 |
5/5 |
永久$0免费,无任何费用 |
| 稳定度 |
4/5 |
OpenRouter托管,稳定可靠 |
| 延迟 |
5/5 |
Flash优化,极速响应 |
| 日限额 |
4/5 |
50 req/day基础限额 |
| 智能 |
4/5 |
GLM-4.7主流能力 |
| 总分 |
22/25 |
稀缺度极高 |
{
"title": {
"text": "GLM-4.7 Flash 5维稀缺度 (22/25)",
"left": "center",
"textStyle": {"fontSize": 14, "fontWeight": "bold"}
},
"radar": {
"indicator": [
{"name": "免费度", "max": 5},
{"name": "稳定度", "max": 5},
{"name": "延迟", "max": 5},
{"name": "日限额", "max": 5},
{"name": "智能", "max": 5}
],
"center": ["50%", "55%"],
"radius": "65%"
},
"series": [{
"type": "radar",
"data": [{
"value": [5, 4, 5, 4, 4],
"name": "GLM-4.7 Flash:free",
"areaStyle": {"color": "rgba(59, 130, 246, 0.3)"},
"lineStyle": {"color": "rgba(59, 130, 246, 0.8)"},
"itemStyle": {"color": "#3b82f6"}
}],
"label": {"show": true, "formatter": "{c}"}
}]
}
可排序对比表
| 模型 |
上下文 |
费用 |
限速 |
特点 |
| GLM-4.7 Flash:free |
128K |
$0/$0 |
20RPM/50d |
极速推理 |
| Ling 3.0 Flash Fin:free |
128K |
$0/$0 |
20RPM/50d |
金融优化 |
| DeepSeek Chat:free |
128K |
$0/$0 |
50RPM |
通用对话 |
| Qwen3 Coder:free |
128K |
$0/$0 |
30RPM |
代码专用 |
关键规格
| 参数 |
值 |
| 模型 |
Zhipu GLM-4.7 Flash |
| 提供商 |
OpenRouter (z-ai) |
| 上下文窗口 |
131072 tokens |
| 优化方向 |
推理优化、极速响应 |
| 适用场景 |
轻量应用、学习实验 |
价格对比表
| 层级 |
输入价格 |
输出价格 |
单位 |
| Free |
$0 |
$0 |
per 1M |
| Paid |
$0.1 |
$0.4 |
per 1M tokens |
限速信息:
- 每分钟请求数:20 RPM
- 每日请求数:50 req/day
5分钟快速开始
curl (OpenRouter原生)
curl https://openrouter.ai/api/v1/chat/completions \
-H "Authorization: Bearer $OPENROUTER_API_KEY" \
-H "Content-Type: application/json" \
-H "HTTP-Referer: https://your-app.com" \
-H "X-Title: Your App Name" \
-d '{
"model": "z-ai/glm-4.7-flash:free",
"messages": [
{"role": "user", "content": "Hello, explain quantum computing in one sentence."}
],
"max_tokens": 200
}'
Python (OpenAI SDK fallbacks)
from openai import OpenAI
client = OpenAI(
base_url="https://openrouter.ai/api/v1",
api_key="$OPENROUTER_API_KEY"
)
response = client.chat.completions.create(
model="z-ai/glm-4.7-flash:free",
messages=[
{"role": "user", "content": "Hello, explain quantum computing in one sentence."}
],
max_tokens=200
)
print(response.choices[0].message.content)
Node.js
import OpenAI from 'openai';
const client = new OpenAI({
baseURL: 'https://openrouter.ai/api/v1',
apiKey: process.env.OPENROUTER_API_KEY
});
const response = await client.chat.completions.create({
model: 'z-ai/glm-4.7-flash:free',
messages: [
{ role: 'user', content: 'Hello, explain quantum computing in one sentence.' }
],
max_tokens: 200
});
console.log(response.choices[0].message.content);
实测记录
时间: 2026-08-30
端点: GET /api/v1/models
状态码: 200 OK
响应片段:
- id: z-ai/glm-4.7-flash:free
- pricing: { completion: "0.0", image: "0.0", prompt: "0.0", request: "0.0" }
- context_length: 131072
- pricing_type: "used"
- verified: true
限速避坑
- 严格遵守RPM限制:20RPM约等于每3秒1次请求,避免触发限流
- 日限额50次:高频场景需考虑付费或切换其他免费模型
- 推荐方案:结合DeepSeek Chat:free (50RPM) 应对高频需求
优缺点
| 优点 |
缺点 |
| ✓ 永久免费无门槛 |
✗ 日限额仅50次 |
| ✓ 128K超长上下文 |
✗ 限速较严(20RPM) |
| ✓ 极速推理响应 |
✗ 需OpenRouter中转 |
| ✓ OpenRouter稳定托管 |
✗ 免费版无SLA保障 |
| ✓ 适合学习实验 |
✗ 不适合生产高频场景 |
适用场景
- ✅ 轻量级应用原型开发
- ✅ AI学习与实验
- ✅ 低频调用工具
- ✅ 个人项目快速验证
- ❌ 高并发生产环境
- ❌ 日调用量>100次的应用
避坑指南
- 申请OpenRouter API Key:前往 OpenRouter 生成密钥
- 监控日限额:使用脚本记录每日调用次数,避免耗尽
- 实现降级策略:配置fallback到其他免费模型(如DeepSeek Chat)
- 避免高峰时段:免费模型响应可能较慢,建议缓存常用结果
- 验证模型能力:免费版与付费版能力一致,无需担心阉割
官方资源
- 模型页面:https://openrouter.ai/models/z-ai/glm-4.7-flash:free
- 限速文档:https://openrouter.ai/docs/limits
- API密钥:https://openrouter.ai/keys
Updated 2026-08-30 | Permanently Free | OpenRouter Official Data
One-Line Summary
GLM-4.7 Flash Free API delivers 128K context with lightning-fast inference at $0 forever, perfectly balancing cost and performance.
5-Dimension Rarity Radar
| Dimension |
Score |
Description |
| Free Tier |
5/5 |
Permanent $0, no cost at all |
| Stability |
4/5 |
OpenRouter托管,稳定可靠 |
| Latency |
5/5 |
Flash optimized,极速响应 |
| Daily Limit |
4/5 |
50 req/day baseline |
| Intelligence |
4/5 |
GLM-4.7 mainstream capability |
| Total |
22/25 |
Extremely rare |
{
"title": {
"text": "GLM-4.7 Flash 5D Rarity (22/25)",
"left": "center",
"textStyle": {"fontSize": 14, "fontWeight": "bold"}
},
"radar": {
"indicator": [
{"name": "Free Tier", "max": 5},
{"name": "Stability", "max": 5},
{"name": "Latency", "max": 5},
{"name": "Daily Limit", "max": 5},
{"name": "Intelligence", "max": 5}
],
"center": ["50%", "55%"],
"radius": "65%"
},
"series": [{
"type": "radar",
"data": [{
"value": [5, 4, 5, 4, 4],
"name": "GLM-4.7 Flash:free",
"areaStyle": {"color": "rgba(59, 130, 246, 0.3)"},
"lineStyle": {"color": "rgba(59, 130, 246, 0.8)"},
"itemStyle": {"color": "#3b82f6"}
}],
"label": {"show": true, "formatter": "{c}"}
}]
}
Sortable Comparison Table
| Model |
Context |
Cost |
Rate Limit |
Features |
| GLM-4.7 Flash:free |
128K |
$0/$0 |
20RPM/50d |
Lightning inference |
| Ling 3.0 Flash Fin:free |
128K |
$0/$0 |
20RPM/50d |
Finance optimized |
| DeepSeek Chat:free |
128K |
$0/$0 |
50RPM |
General chat |
| Qwen3 Coder:free |
128K |
$0/$0 |
30RPM |
Code specialized |
Key Specifications
| Parameter |
Value |
| Model |
Zhipu GLM-4.7 Flash |
| Provider |
OpenRouter (z-ai) |
| Context Window |
131072 tokens |
| Optimization |
Inference, Lightning speed |
| Use Cases |
Lightweight apps, Learning |
Pricing Comparison
| Tier |
Input |
Output |
Unit |
| Free |
$0 |
$0 |
per 1M |
| Paid |
$0.1 |
$0.4 |
per 1M tokens |
Rate Limits:
- Requests per minute: 20 RPM
- Requests per day: 50 req/day
5-Minute Quick Start
curl (OpenRouter Native)
curl https://openrouter.ai/api/v1/chat/completions \
-H "Authorization: Bearer $OPENROUTER_API_KEY" \
-H "Content-Type: application/json" \
-H "HTTP-Referer: https://your-app.com" \
-H "X-Title: Your App Name" \
-d '{
"model": "z-ai/glm-4.7-flash:free",
"messages": [
{"role": "user", "content": "Hello, explain quantum computing in one sentence."}
],
"max_tokens": 200
}'
Python (OpenAI SDK fallbacks)
from openai import OpenAI
client = OpenAI(
base_url="https://openrouter.ai/api/v1",
api_key="$OPENROUTER_API_KEY"
)
response = client.chat.completions.create(
model="z-ai/glm-4.7-flash:free",
messages=[
{"role": "user", "content": "Hello, explain quantum computing in one sentence."}
],
max_tokens=200
)
print(response.choices[0].message.content)
Node.js
import OpenAI from 'openai';
const client = new OpenAI({
baseURL: 'https://openrouter.ai/api/v1',
apiKey: process.env.OPENROUTER_API_KEY
});
const response = await client.chat.completions.create({
model: 'z-ai/glm-4.7-flash:free',
messages: [
{ role: 'user', content: 'Hello, explain quantum computing in one sentence.' }
],
max_tokens: 200
});
console.log(response.choices[0].message.content);
Live Test Record
Time: 2026-08-30
Endpoint: GET /api/v1/models
Status: 200 OK
Response snippet:
- id: z-ai/glm-4.7-flash:free
- pricing: { completion: "0.0", image: "0.0", prompt: "0.0", request: "0.0" }
- context_length: 131072
- pricing_type: "used"
- verified: true
Rate Limit Tips
- Strictly follow RPM limits: 20 RPM = ~1 request every 3 seconds
- Daily limit 50 requests: Consider paid tier or alternative free models for high frequency
- Recommended combo: Pair with DeepSeek Chat:free (50RPM) for higher volume needs
Pros & Cons
| Pros |
Cons |
| ✓ Permanent free forever |
✗ Limited to 50 req/day |
| ✓ 128K ultra-long context |
✗ Strict rate limit (20RPM) |
| ✓ Lightning-fast inference |
✗ Requires OpenRouter proxy |
| ✓ Stable OpenRouter hosting |
✗ No SLA for free tier |
| ✓ Great for learning |
✗ Not suitable for high-frequency prod |
Ideal Use Cases
- ✅ Lightweight app prototyping
- ✅ AI learning & experimentation
- ✅ Low-frequency tool calls
- ✅ Personal project rapid validation
- ❌ High-concurrency production
- ❌ Daily calls > 100
Avoid Pitfalls Guide
- Get OpenRouter API Key: Generate at OpenRouter
- Monitor daily limits: Track daily call counts with scripts
- Implement fallback strategy: Configure fallback to other free models (e.g., DeepSeek Chat)
- Avoid peak hours: Free models may respond slower, consider caching common results
- Verify model capabilities: Free and paid versions have identical capabilities
Official Resources