Hugging Face

Hugging Face: GLM-5.2 (Hugging Face)

stable

GLM-5.2 (Hugging Face) is available through Everstack's OpenAI-compatible gateway with routing, fallback, retries, and observability.

zai-org__GLM-5.2glmreleased Jun 13, 2026
Context
262.1K
tokens
Max output
131.1K
tokens
Input
$1.40
per 1M
Output
$4.40
per 1M

Activity

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

Providers

Pricing

ItemPriceUnit
Input$1.40per 1M tokens
Output$4.40per 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-org__GLM-5.2
Family
glm
Status
stable
Knowledge
-
Released
Jun 13, 2026
Gateway Config
API
2024-01-01
Auth
HUGGINGFACE_API_KEY
Discovery
dynamic
Provider type
meta

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: "@huggingface/zai-org__GLM-5.2",  messages: [{ role: "user", content: "Explain vector cache routing." }],});console.log(completion.choices[0]?.message?.content);

Endpoint

Base URL
https://router.huggingface.co/v1
Chat completions
https://router.huggingface.co/v1/chat/completions
Model
zai-org__GLM-5.2
Auth env
HUGGINGFACE_API_KEY

GLM-5.2 (Hugging Face) FAQ

How much does the GLM-5.2 (Hugging Face) API cost?

Through Hugging Face, GLM-5.2 (Hugging Face) costs $1.40 per 1M input tokens and $4.40 per 1M output tokens. The lowest input price in the catalog is $1.19 per 1M tokens on OpenRouter.

What is the context window of GLM-5.2 (Hugging Face)?

GLM-5.2 (Hugging Face) accepts up to 262.1K tokens of context and returns up to 131.1K output tokens on Hugging Face.

Which providers offer GLM-5.2 (Hugging Face)?

GLM-5.2 (Hugging Face) is available from NVIDIA NIM, OpenRouter, Fireworks AI, Hugging Face, Together AI and Z.AI. Everstack can route between them with automatic fallback when one is unavailable.

What can GLM-5.2 (Hugging Face) do?

GLM-5.2 (Hugging Face) supports chat, function calling and reasoning. It accepts text input.

How do I call GLM-5.2 (Hugging Face) through Everstack?

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