
GLM 5.1
Zhipu AI
glm-5.1#1 SWE-Bench Pro open-weight. 8-hour agentic runs.
Best for: Agentic coding, SWE tasks, long-horizon
At a glance
Context window
203K
Input
$1.89/1M
$0.19/1M cached
Output
$5.94/1M
Speed
medium
Quality tier
frontier open
Per 1M tokens. All-in pricing, no hidden fees.
Capabilities
Tool calling
Connect to external tools and APIs
Reasoning
Extended thinking for complex problems
Prompt caching
Cache repeated prefixes for 90% discount
Streaming
Real-time token-by-token output
Structured outputs
JSON mode and function calling
Quick start
Get API Keycurl https://kymaapi.com/v1/chat/completions \
-H "Authorization: Bearer $KYMA_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "glm-5.1",
"messages": [{"role": "user", "content": "Hello"}]
}'Details
CreatorZhipu AI
Model IDglm-5.1
Quality tierfrontier open
Cost tierpremium
Input modalityText
Output modalityText
Prompt cachingSupported
Try GLM 5.1 now
$0.50 free credits on signup. No credit card required.