Z.AI: GLM-4.7-FlashX

stable

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

glm-4.7-flashxglm-flashreleased Jan 19, 2026
Context
200K
tokens
Max output
131.1K
tokens
Input
$0.070
per 1M
Output
$0.40
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$0.070per 1M tokens
Output$0.40per 1M tokens
Cache read$0.010per 1M tokens
Cache write-per 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
glm-4.7-flashx
Family
glm-flash
Status
stable
Knowledge
Apr 1, 2025
Released
Jan 19, 2026
Gateway Config
API
2024-01-01
Auth
ZHIPU_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: "@zai/glm-4.7-flashx",  messages: [{ role: "user", content: "Explain vector cache routing." }],});console.log(completion.choices[0]?.message?.content);

Endpoint

Base URL
https://api.z.ai/api/paas/v4
Chat completions
https://api.z.ai/api/paas/v4/chat/completions
Model
glm-4.7-flashx
Auth env
ZHIPU_API_KEY

GLM-4.7-FlashX FAQ

How much does the GLM-4.7-FlashX API cost?

Through Z.AI, GLM-4.7-FlashX costs $0.070 per 1M input tokens and $0.40 per 1M output tokens.

What is the context window of GLM-4.7-FlashX?

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

What can GLM-4.7-FlashX do?

GLM-4.7-FlashX supports chat, function calling and reasoning. It accepts text input.

How do I call GLM-4.7-FlashX through Everstack?

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