Cerebras

Cerebras: Z.AI GLM-4.7

stable

Z.AI GLM-4.7 is available through Everstack's OpenAI-compatible gateway with routing, fallback, retries, and observability.

zai-glm-4.7glmreleased Jan 7, 2026
Context
131.1K
tokens
Max output
40K
tokens
Input
$2.25
per 1M
Output
$2.75
per 1M

Activity

Daily period usage
Aggregated managed Everstack traffic. Buckets below 5 tenants or 100 requests are withheld.

Providers

ProviderContextInput /MOutput /M

Pricing

ItemPriceUnit
Input$2.25per 1M tokens
Output$2.75per 1M tokens

Performance

Reliability

Compare

Compare usage and performance
Place this model beside up to three other catalog models.

Capabilities

Capabilities
Modalities
Input
Output
Details
Model ID
zai-glm-4.7
Family
glm
Status
stable
Knowledge
-
Released
Jan 7, 2026
Gateway Config
API
2024-01-01
Auth
CEREBRAS_API_KEY
Discovery
static
Provider type
static

Quick Start

index.ts
import Everstack from "@everstack/node";const client = new Everstack({  apiKey: process.env.EVERSTACK_API_KEY!,  baseUrl: "https://{instance}.{region}.everstack.ai",});const completion = await client.chat.completions.create({  model: "@cerebras/zai-glm-4.7",  messages: [{ role: "user", content: "Explain vector cache routing." }],});console.log(completion.choices[0]?.message?.content);

Endpoint

Base URL
https://api.cerebras.ai/v1
Chat completions
https://api.cerebras.ai/v1/chat/completions
Model
zai-glm-4.7
Auth env
CEREBRAS_API_KEY

Z.AI GLM-4.7 FAQ

How much does the Z.AI GLM-4.7 API cost?

Through Cerebras, Z.AI GLM-4.7 costs $2.25 per 1M input tokens and $2.75 per 1M output tokens.

What is the context window of Z.AI GLM-4.7?

Z.AI GLM-4.7 accepts up to 131.1K tokens of context and returns up to 40K output tokens on Cerebras.

What can Z.AI GLM-4.7 do?

Z.AI GLM-4.7 supports chat and function calling. It accepts text input.

How do I call Z.AI GLM-4.7 through Everstack?

Point any OpenAI-compatible SDK at your Everstack gateway and set the model to @cerebras/zai-glm-4.7. Everstack adds retries, provider fallback, caching, per-tenant budgets and OpenTelemetry traces for every request.