StarSeaStarSea
Ready to build?Get an API key — all models at 50% of the official price →
Home › Models › glm-5-turbo

glm-5-turbo API

Call glm-5-turbo through a single OpenAI-compatible endpoint — one key, no separate vendor account, no multi-provider wiring.

Zhipu AIChatReasoningCoding
26.6
Intelligence index

Pricing

Input$0.77 / 1M tokens  (¥5.00)
Output$3.38 / 1M tokens  (¥22.00)
Output multiplier×4.40
Context window200K tokens
Max output131K tokens

Prices are per 1M tokens in USD · ¥6.5 = $1 · Billed in CNY

Zhipu AI

The GLM family combines aggressive pricing on the Flash tier with capable flagship variants, and has become one of the most widely deployed model lines on the platform. GLM models are also a common default inside coding agents because of their quality-per-yuan at high request rates.

When to use it

At $0.77 per 1M input tokens it sits in line with the catalogue median of $0.69 — a balanced choice. Best for coding agents and repository-scale edits. Every model here is reachable with the same API key, so trialling it against a stronger sibling costs one line of code.

Code

from openai import OpenAI
client = OpenAI(
  base_url="https://starseaapi.com/v1",
  api_key="sk-your-key"
)
r = client.chat.completions.create(
  model="glm-5-turbo",
  messages=[{"role": "user", "content": "Explain prefix caching in one paragraph"}]
)
print(r.choices[0].message.content)

Integrations · Quickstart

Other models from this provider

ModelsInput $/MOutput $/MIntelligence indexCoding index
glm-5.3-flash$0.12$0.4341.871.5
glm-4.7$0.31$1.2322.245.3
glm-4.5$0.60$2.2012.8—
glm-4.6$0.60$2.2018.545.8
glm-5$0.62$2.7727.9—
glm-5.1$0.92$3.6926.155.8
glm-5.2$1.23$4.3133.768.8
glm-5.3$1.23$4.3144.874.8

Capabilities