GLM-5.1
ReasoningZ.ai
GLM-5.x model with strong coding ability.
- Input
- $0.42
- per 1M tokens
- Output
- $1.32
- per 1M tokens
- Context window
- 200K
- tokens
- Max output
- 128K
- tokens
Pricing
Prices are in USD per 1M tokens. Cached input is billed at the cache read price.
- Input
- $0.42/ 1M
- Output
- $1.32/ 1M
- Cache read
- $0.078/ 1M
- Cache write 5m
- $0/ 1M
Use it from code
The samples read your key from the ORYNX_API_KEY environment variable.
OpenAI Chat
curl https://api.orynx.dev/v1/chat/completions \
-H "Authorization: Bearer $ORYNX_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "glm-5.1",
"messages": [{"role": "user", "content": "Explain what an API gateway does in one sentence."}]
}'Use it in your tools
Minimal configuration for popular coding agents. Replace sk-orynx-... with your key.
Cursor
Full guideCursor Settings → Models
OpenAI API Key: sk-orynx-...
Override OpenAI Base URL: https://api.orynx.dev/v1
Custom model name: glm-5.1OpenCode
Full guideopencode.json
{
"$schema": "https://opencode.ai/config.json",
"provider": {
"orynx": {
"npm": "@ai-sdk/openai-compatible",
"name": "ORYNX",
"options": {
"baseURL": "https://api.orynx.dev/v1",
"apiKey": "{env:ORYNX_API_KEY}"
},
"models": {
"glm-5.1": {
"name": "GLM-5.1",
"limit": {
"context": 204800,
"output": 128000
}
}
}
}
}
}More from GLM
glm-5.3Z.ai's large reasoning model for complex software engineering.
- Input
- $0.42/ 1M
- Output
- $1.32/ 1M
OpenAI Chat1M ctx
glm-5.3-flashNative multimodal GLM for efficient coding at a very low price.
- Input
- $0.0225/ 1M
- Output
- $0.075/ 1M
OpenAI Chat1M ctx
glm-5.2Large-scale GLM reasoning model.
- Input
- $0.42/ 1M
- Output
- $1.32/ 1M
OpenAI Chat1M ctx
