GLM 5.2
prime/z-ai/glm-5.2 · family glm · in: text → out: text · price provider-declared (via models.dev). Capabilities: tools reasoning text.
$2.37
Blended $/1M (3:1)
$1.54
Input $/1M
$4.84
Output $/1M
$6.38
1M in + 1M out
—
Cache read $/1M
#6549 of 9,592
Cheapest rank
- Provider
- Prime Inference (
prime) - Kind
- text (outputs text)
- Context
- 1,048,576 tokens
- Max output
- 943,718 tokens
- Capabilities
- tools reasoning text
Same model, other providers
“GLM 5.2” is offered by 11 providers — cheapest-effective first. AI/ML API is the cheapest at $0.83 blended.
| Provider | Input | Output | Blended | Context |
|---|---|---|---|---|
| AI/ML API | $0.31 | $2.4 | $0.83 | 1M |
| NanoGPT | $0.53 | $1.79 | $0.84 | 1M |
| CoreWeave | $0.62 | $2.42 | $1.07 | 1M |
| Merge Gateway | $1.05 | $3.3 | $1.61 | 1M |
| Baseten | $1.4 | $4.4 | $2.15 | 1M |
| ZenMux | $1.4 | $4.4 | $2.15 | 1M |
| EmpirioLabs AI | $1.4 | $4.4 | $2.15 | 1M |
| Venice AI | $1.4 | $4.4 | $2.15 | 1M |
| Vercel AI Gateway | $1.4 | $4.4 | $2.15 | 1M |
| Prime Inference (this) | $1.54 | $4.84 | $2.37 | 1M |
| above.dev | $1.54 | $4.84 | $2.37 | 1M |
Call it
jishie indexes & prices models; it does not proxy inference.
Most providers are OpenAI-compatible — point base_url at Prime Inference and pass this model id:
curl $BASE_URL/v1/chat/completions \
-H "Authorization: Bearer $API_KEY" -H "Content-Type: application/json" \
-d '{"model":"z-ai/glm-5.2","messages":[{"role":"user","content":"hello"}]}'
Route programmatically with MCP find_model / get_model, or fetch this record free (no wallet):