- 1M context
- Responses API
GLM 5.2 on QuickSilver Pro
GLM 5.2 is Z.ai's large-scale reasoning flagship: a 1M-token context window tuned for long-horizon agent workflows and project-level software engineering. On QuickSilver Pro it is $0.70 input / $2.20 output per million tokens, at parity with the OpenRouter endpoint selected by this route, with no markup or discount. QuickSilver Pro serves it in non-thinking mode, so replies are direct with no reasoning trace.
- 1M context
- Tools
- Streaming
- JSON Schema output
You pay · input / output per 1M
$0.70 / $2.20
At list price
same rates as OpenRouter
Pricing comparison ($/1M tokens)
Bar length = price relative to the highest price shown
| Provider | Input | Output | vs QSP |
|---|---|---|---|
| QuickSilver Pro | $0.70 | $2.20 | — |
| OpenRouter(z-ai/glm-5.2) | $0.70 | $2.20 | same |
| OpenAI (GPT-4o) | $2.50 | $10.00 | 78% lower |
OpenRouter list source: openrouter.ai/api/v1/models/z-ai/glm-5.2/endpoints
At a glance
- Context
- 1M tokens
- Input / 1M
- $0.70
- Output / 1M
- $2.20
- Thinks by default
- No
- Latency · live
- —
Long-horizon agents and project-level coding — Z.ai's reasoning flagship with a 1M-token context window.
When is GLM 5.2 the right call?
Curated from catalog capabilities and published prices, not a benchmark.
When to use
Reach for GLM 5.2 on long-horizon agent loops and repo-scale software engineering: multi-step refactors, plan-then-act agents coordinating many tool calls, and tasks that need to hold a large working set in its 1M-token context.
- Long documents and codebases, up to 1M tokens of context
- Agents that call tools, with strict JSON Schema output
- Responses API clients as well as Chat Completions
When to use something else
For routine chat, short-context codegen, or single-shot tasks, the per-token price and reasoning overhead are overkill — DeepSeek V4 Flash ($0.06/$0.18) or V4 Pro ($0.70/$2.10) land most of those for less. For pure mathematical reasoning, DeepSeek V4 Pro. For agentic coding specifically, A/B against Kimi K2.7 Code.
Quickstart (curl)
Get an API key →curl https://api.quicksilverpro.io/v1/chat/completions \
-H "Authorization: Bearer $QSP_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "glm-5.2",
"messages": [{"role": "user", "content": "Hello!"}]
}'import os
from openai import OpenAI
client = OpenAI(
base_url="https://api.quicksilverpro.io/v1",
api_key=os.environ["QSP_KEY"],
)
response = client.chat.completions.create(
model="glm-5.2",
messages=[{"role": "user", "content": "Hello!"}],
)
print(response.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api.quicksilverpro.io/v1",
apiKey: process.env.QSP_KEY,
});
const response = await client.chat.completions.create({
model: "glm-5.2",
messages: [{ role: "user", content: "Hello!" }],
});
console.log(response.choices[0].message.content);curl https://api.quicksilverpro.io/v1/responses \
-H "Authorization: Bearer $QSP_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "glm-5.2",
"input": "Hello!"
}'import os
from openai import OpenAI
client = OpenAI(
base_url="https://api.quicksilverpro.io/v1",
api_key=os.environ["QSP_KEY"],
)
response = client.chat.completions.create(
model="glm-5.2",
messages=[{"role": "user", "content": "Hello!"}],
)
print(response.choices[0].message.content)OpenAI-compatible. One-line migration via base_url.
Gateway behavior
Compatibility notes for this model.
prompt- Prompts up to 1M tokens.
- /v1/chat/completions: Supported
- /v1/responses: Supported
- streaming: Supported
- tools: Supported
- image input: Not listed for this model
- JSON Schema: Supported
- reasoning: Not listed for this model
Where the price comes from
- Provider reference
- $0.70 / $2.20openrouter.ai/api/v1/models/z-ai/glm-5.2/endpoints
- Catalog verified
- Prompt cache · not compared
- $0.105 read
usage.cost = prompt_tokens × $0.70/1M + completion_tokens × $2.20/1M
FAQ
Common questions
GLM 5.2 is a reasoning-capable model, but QuickSilver Pro serves it in non-thinking mode: you get a direct reply and never bill a hidden reasoning trace. A reasoning field in the request does not turn it on. If a task needs step-by-step reasoning in the same family, use GLM 5.3, where reasoning is always on.
Yes — GLM 5.2 is an OpenAI-compatible chat completions endpoint on QuickSilver Pro. Set base_url=https://api.quicksilverpro.io/v1, paste your QSP key, and use model="glm-5.2". Streaming, tool calling, json_schema strict mode, and usage.cost accounting all work.
$0.70 input / $2.20 output and $0.105 cache read per million tokens, matching the route-selected OpenRouter endpoint (digitalocean) with no markup or discount. The route uses its pinned provider order or the cheapest eligible endpoint under sort: price and its quantization filters; the /models headline can differ. More expensive fallback hosts do not change your price. Use base_url=https://api.quicksilverpro.io/v1 and model="glm-5.2".