GLM 4.7 Flash
Availablez-ai/glm-4.7-flashZ.ai's low-cost GLM 4.7 model for everyday coding and chat.
- Chat
- 200K context
- 66K max output
- Tools
Pricing
- Input
- $0.07 / 1M tokens
- Output
- $0.40 / 1M tokens
- Cached input
- $0.07 / 1M tokens
What it costs
A typical request: 2,000 tokens in, 500 out$0.0003
1,000 of those requests$0.34
Performance on SparrowCodes
Measured from real requests over the last 7 days.
No traffic yet. Speed, latency and success rate appear here once this model has served requests on SparrowCodes; we don't show estimates.
Official benchmarks
Scores published by the model's maker, under their test conditions.
The maker hasn't published benchmark scores we could verify for this model.
Specifications
- Type
- Chat
- Served by
- SparrowCodes
- Context window
- 200,000 tokens
- Maximum output
- 65,536 tokens
- Input types
- Text
- Tool calling
- Supported
Use it
curl https://api.sparrowcodes.com/v1/chat/completions \
-H "Authorization: Bearer $SPARROW_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "z-ai/glm-4.7-flash",
"messages": [{"role": "user", "content": "Explain rate limiting in one paragraph."}]
}'Set "model" to z-ai/glm-4.7-flash. The response includes its exact cost.
From the blog
- DeepSeek V4.1 Flash, Qwen3 Coder and four more: low-cost coding models, tested
Six coding models from $0.035 per million input tokens, now on SparrowCodes. We gave them the same ten programming tasks and an agent repair job. Here's how each did and what it cost.