Skip to main content

Text model

GLM Flash Latest

z-ai/glm-flash-latest

z-ai/glm-flash-latest is a language model from Z.ai you can call on the OceanToken API at $0.15 per 1M input tokens and $0.50 per 1M output tokens, with a 1.05M-token context window and up to 944K output tokens; it supports reasoning, tool calling, image input.

At a glance

Model IDz-ai/glm-flash-latest
TypeText
PublisherZ.ai
Context window1,048,576 tokens
Max output943,718 tokens
Input price$0.15 per 1M tokens
Output price$0.50 per 1M tokens
Cached input price$0.03 per 1M tokens
Capabilitiesreasoning, tool calling, image input
Endpoint/v1/chat/completions, /v1/responses
API shapeOpenAI-compatible
Alias ofz-ai/glm-5.3-flash
In the catalog since2026-08-27

Call it

Base URL https://api.oceantoken.ai/v1, your OceanToken key as the bearer token, and the model ID above as model. The OpenAI SDKs work unchanged; see your first request.

curl https://api.oceantoken.ai/v1/chat/completions \
-H "Authorization: Bearer $OCEANTOKEN_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "z-ai/glm-flash-latest", "messages": [{"role": "user", "content": "Hello"}]}'

Compared with similar models

Text models on OceanToken closest to z-ai/glm-flash-latest in price. Every price is what you pay, in US dollars, with no platform fee on top.

ModelPublisherContextPrice (per 1M tokens)
GLM Flash LatestZ.ai1,048,576$0.15 / $0.50
GPT-6 Luna
openai/gpt-6-luna
OpenAI1.05M$0.10 / $0.50
Qwen3 30B A3B
qwen/qwen3-30b-a3b
Qwen41K$0.12 / $0.50
Cydonia 24B V4.1
thedrummer/cydonia-24b-v4.1
Thedrummer131K$0.30 / $0.50

More from Z.ai

All Z.ai models on OceanToken

Use it

Create an account All models and prices

Prices and capabilities on this page were read from the live OceanToken catalog on 2026-10-18 (UTC), when the documentation was built. If a price has changed since, the console's Models page shows the current one.