GLM · Z.aiBalanced tier
GLM 5 Turbo
glm-5-turboGLM 5 Turbo by Z.ai, with a 203K token context window, on the same Evolved key.
Specs & rates
- Context window
- 202K
- 202,752 tokens
- Input
- $2.00
- per 1M tokens
- Output
- $10.00
- per 1M tokens
- Cached input
- $1.20
- per 1M tokens
- Cache write · 5m
- $2.00
- per 1M tokens
- Cache write · 1h
- $2.00
- per 1M tokens
Use GLM 5 Turbo
Native endpoint: /v1/chat/completions, for every OpenAI-compatible client and SDK.
curl https://api.evolved.to/v1/chat/completions \
-H "Authorization: Bearer $EVOLVED_API_KEY" \
-H "content-type: application/json" \
-d '{
"model": "glm-5-turbo",
"messages": [{"role": "user", "content": "Hello!"}]
}'import os
from openai import OpenAI
client = OpenAI(
base_url="https://api.evolved.to/v1",
api_key=os.environ["EVOLVED_API_KEY"],
)
completion = client.chat.completions.create(
model="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.evolved.to/v1",
apiKey: process.env.EVOLVED_API_KEY,
});
const completion = await client.chat.completions.create({
model: "glm-5-turbo",
messages: [{ role: "user", content: "Hello!" }],
});
console.log(completion.choices[0].message.content);