glm-5-turbo API

Z.ai glm-5-turbo for chat and coding; Flatkey routes this model through /v1/chat/completions. $0.96/$3.2 per 1M tokens 204,800-token context window.

Chat and codingLong contextTool workflows
Input /M
$0.96/ 1M tokens-20%$1.2/ 1M tokens
Cache /M
$0.192/ 1M tokens-20%$0.24/ 1M tokens
Output /M
$3.2/ 1M tokens-20%$4/ 1M tokens
Provider
Z.ai

glm-5-turbo API performance

glm-5-turbo API reliability and uptime

Live Flatkey request telemetry for glm-5-turbo appears here when enough production traffic is available.

Avg. provider uptime
92.2%
last 30 days
Latency
5.99s
last 30 days
Requests
615
30-day window
Successful inference trend

glm-5-turbo API activity

glm-5-turbo API usage and request activity

Track request volume and successful inference activity for glm-5-turbo over the latest reporting window.

Requests
615
30-day window
Latency
5.99s
last 30 days
Uptime
92.2%
last 30 days
Successful inference trendActivity

glm-5-turbo pricing

glm-5-turbo API pricing and billing

Prices below are calculated from Flatkey pricing data for this model and the visible groups currently returned by our pricing API.

Flatkey price

Input /M

Live catalog model
$0.96/ 1M tokens$1.2/ 1M tokens
Input /M
$0.96/ 1M tokens$1.2/ 1M tokens
Cache /M
$0.192/ 1M tokens$0.24/ 1M tokens
Output /M
$3.2/ 1M tokens$4/ 1M tokens
View API
Shared balance

Add credits

Add credits

Use the same Flatkey balance and API key across image, video, audio, and text models.

Model catalog
Model Type
Text
API
/v1/chat/completions
Billing basis
1M tokens

glm-5-turbo chat and coding: core capabilities

Z.ai's glm-5-turbo route supports text · file. Catalog categories: Programming, Roleplay, Marketing.

glm-5-turbo chat and coding API

Call glm-5-turbo through /v1/chat/completions for chat, coding or agent workflows supported by the model's listed modalities.

glm-5-turbo long-context work

glm-5-turbo is listed with 204,800-token; use that catalog value as an integration planning reference and validate limits for your account.

glm-5-turbo tool and agent workflows

Keep tool calls, structured output and streaming behavior aligned with the endpoint contract instead of assuming every provider feature is interchangeable.

glm-5-turbo production routing

Use one Flatkey key for glm-5-turbo, usage controls and model routing while retaining the exact model id in your SDK configuration.

Compare

glm-5-turbo API comparison: capabilities and access

Compare the catalog facts for glm-5-turbo with the previous-generation baseline before changing your integration.

CapabilityPrevious generationglm-5-turbo
ProviderNot verified in this catalog snapshotZ.ai
ModalitiesNot verified in this catalog snapshottext · file
ContextNot verified in this catalog snapshot204,800-token
EndpointNot verified in this catalog snapshot/v1/chat/completions
BillingNot verified in this catalog snapshot$0.96/$3.2 per 1M tokens

Why Flatkey

Why use Flatkey for glm-5-turbo?

OpenAI-compatible migration path

Chat Completions-style payloads reduce switching friction from existing model stacks.

Production routing

Keep usage, keys, quotas, and model routing in one Flatkey account.

Unified API access

Use one account and API key across image, video, audio, and language models.

Routing across upstream channels

Requests are spread across the channels serving this model, with 30-day uptime published above.

API

glm-5-turbo API

Four ways in, all on the same key and the same model catalog. Pick one to see a runnable example.

Call any model with an OpenAI-compatible API. Copy a ready-to-run example for your model and language.
Use the OpenAI SDK you already know — with Flatkey as the gateway.
Generate images and videos from your terminal. Let your AI assistant drive the workflow.
Connect your coding agent with one command, then use Flatkey from your existing projects.
curl https://router.flatkey.ai/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer sk-***" \
  -d '{"model":"glm-5-turbo","messages":[{"role":"user","content":"Say hello in one sentence."}]}'
Docs

FAQ

glm-5-turbo API
pricing, features, and usage FAQs

Answers about glm-5-turbo pricing, capabilities, endpoint access and catalog limits.

What is glm-5-turbo used for?
glm-5-turbo is listed by Z.ai for chat and coding; the catalog lists these modalities: text · file.
How is glm-5-turbo priced?
Input /M: $0.96; Cache /M: $0.192; Output /M: $3.2. Prices below are calculated from Flatkey pricing data for this model and the visible groups currently returned by our pricing API.
Which API endpoint calls glm-5-turbo?
Flatkey routes this model through /v1/chat/completions. Set the model field to glm-5-turbo and follow the fields supported by that endpoint.
What context or input limits does glm-5-turbo have?
glm-5-turbo is listed with 204,800-token. Other limits depend on the route and current account availability, so verify them before production use.