Zhipu (GLM) / glm-5.2-fast-preview
GLM 5.2 Fast stands out for Low-latency GLM 5.2 variant and 1M context for responsive coding workflows. It is best suited to interactive coding assistance and long-context Chinese tasks.
Context
1M
token
Input
$2.38
/ 1M tokens
Output
$7.48
/ 1M tokens
Quality
#52
Elo 1185
Overview
GLM 5.2 Fast stands out for Low-latency GLM 5.2 variant and 1M context for responsive coding workflows. It is best suited to interactive coding assistance and long-context Chinese tasks.
Tool calling
Can call tools or functions, so product flows can connect model output to backend actions.
Streaming
Supports streamed responses for chat, assistants, and interfaces that need visible incremental output.
Prompt cache
Supports prompt caching patterns for repeated context and longer production conversations.
Reasoning
Better suited for multi-step analysis, planning, and tasks that need deliberate reasoning.
Structured output
Can return machine-readable structures for extraction, automation, and application logic.
Model maker
Zhipu (GLM)
Called through SeaLink's unified account, balance, and OpenAI-compatible API.
Protocol
OpenAI-compatible Chat Completions
Base URL: https://api.sealink.io/v1
Pricing
Light production run
100K input + 25K output
$0.425
Higher-volume run
1M input + 250K output
$4.25
The final charge follows generated usage and the applicable selector, such as resolution, duration, input type, or provider unit.
API
model
glm-5.2-fast-previewbase_url
https://api.sealink.io/v1Auth
Bearer $SEALINK_API_KEYcurl https://api.sealink.io/v1/chat/completions \-H "Authorization: Bearer $SEALINK_API_KEY" \-H "Content-Type: application/json" \-d '{"model": "glm-5.2-fast-preview","messages": [{"role": "user", "content": "Hello."}]}'
from openai import OpenAIclient = OpenAI(base_url="https://api.sealink.io/v1", api_key="<your-sealink-key>")resp = client.chat.completions.create(model="glm-5.2-fast-preview",messages=[{"role": "user", "content": "Hello."}],)print(resp.choices[0].message.content)
import OpenAI from "openai";const client = new OpenAI({baseURL: "https://api.sealink.io/v1",apiKey: process.env.SEALINK_API_KEY,});const resp = await client.chat.completions.create({model: "glm-5.2-fast-preview",messages: [{ role: "user", content: "Hello." }],});console.log(resp.choices[0].message.content);