跳到主要内容

Text model

GLM-4.7 Flash

z-ai/glm-4.7-flash

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

At a glance

Model IDz-ai/glm-4.7-flash
TypeText
PublisherZ.ai
Context window200,000 tokens
Max output117,964 tokens
Input price$0.0605 per 1M tokens
Output price$0.40 per 1M tokens
Capabilitiesreasoning, tool calling, image input
Endpoint/v1/chat/completions, /v1/responses
API shapeOpenAI-compatible
In the catalog since2026-01-19

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-4.7-flash", "messages": [{"role": "user", "content": "Hello"}]}'

Compared with similar models

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

ModelPublisherContextPrice (per 1M tokens)
GLM-4.7 FlashZ.ai200,000$0.0605 / $0.40
Seed-2.0 Mini
bytedance-seed/seed-2.0-mini
ByteDance Seed262K$0.10 / $0.40
Gemini 2.5 Flash Lite
google/gemini-2.5-flash-lite
Google1.05M$0.10 / $0.40
Llama 3.1 70B Instruct
meta-llama/llama-3.1-70b-instruct
Meta131K$0.40 / $0.40

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.