Skip to content
OpenKey

GLM 5 Turbo

Z.aiReleased Mar 15, 2026

GLM-5 Turbo is a new model from Z.ai designed for fast inference and strong performance in agent-driven environments such as OpenClaw scenarios. It is deeply optimized for real-world agent workflows...

Try in playground
Context window
262K tokens
Max output
131K tokens
Input
text
Output
text
Tokenizer
Other
Released
Mar 15, 2026
Reasoning
optional

Pricing

Per 1M tokens. The provider price and our flat 3% fee are separate columns — what you pay is their sum.

Per 1M tokensProvider+ 3% feeYou pay
Input$1.20$0.036$1.24
Output$4.00$0.120$4.12
Cache read$0.240$0.0072$0.247

Benchmarks

Design Arena

CategoryEloWin rateRank
3Dmodels133260.7%#6
ASCII artmodels119750.5%#23
Codemodels132057.6%#8
Data vizmodels130858.2%#7
Game devmodels132459.6%#9
SVGmodels126959.4%#10
UI componentsmodels132057.9%#9
Websitesmodels131556.5%#9

Head-to-head preference voting. How we filter and rank

Supported parameters

  • frequency_penalty
  • include_reasoning
  • logit_bias
  • max_tokens
  • min_p
  • presence_penalty
  • reasoning
  • repetition_penalty
  • response_format
  • seed
  • stop
  • temperature
  • tool_choice
  • tools
  • top_k
  • top_p

Call it

OpenAI-compatible: point your SDK at api.openkey.ai/v1 and use model z-ai/glm-5-turbo.

Code sample language
curl https://api.openkey.ai/v1/chat/completions \
  -H "Authorization: Bearer $OPENKEY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "z-ai/glm-5-turbo",
    "messages": [{"role": "user", "content": "Hello"}]
  }'
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.openkey.ai/v1",
    api_key=os.environ["OPENKEY_API_KEY"],
)

completion = client.chat.completions.create(
    model="z-ai/glm-5-turbo",
    messages=[{"role": "user", "content": "Hello"}],
)
print(completion.choices[0].message.content)
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://api.openkey.ai/v1",
  apiKey: process.env.OPENKEY_API_KEY,
});

const completion = await client.chat.completions.create({
  model: "z-ai/glm-5-turbo",
  messages: [{ role: "user", content: "Hello" }],
});
console.log(completion.choices[0].message.content);

Questions

How much does GLM 5 Turbo cost via API?
Through OpenKey, GLM 5 Turbo costs $1.24 per 1M input tokens and $4.12 per 1M output tokens. That is the provider price ($1.20 / $4.00) plus a flat 3% fee — nothing else.
What is GLM 5 Turbo's context window?
GLM 5 Turbo accepts up to 262K tokens of context and returns up to 131K tokens per request.
Is GLM 5 Turbo OpenAI-compatible?
Yes. Send requests to OpenKey's /v1/chat/completions endpoint with model "z-ai/glm-5-turbo" using any OpenAI SDK — only the base URL and API key change.
What inputs does GLM 5 Turbo support?
GLM 5 Turbo accepts text input and produces text output.

More from Z.ai

All Z.ai models →