per 1M tokens
Z.ai: GLM 5.2
z-ai/glm-5.2
GLM 5.2 is a large-scale reasoning model from Z.ai. It supports text input and output with a 1M-token context window, and is suited for long-horizon agent workflows, project-level software engineering,...
Price
per 1M tokens
Cheaper on Morph (−75.9%) versus the lab price
Providers
Each row is one seller. Prices are the published rate from that source. A dash means that source did not publish the amount. Sorted by a 3:1 blend of input and output.
| Provider | Tag | Quant | Input | Output | Context | Uptime | Status | Source |
|---|---|---|---|---|---|---|---|---|
| Morph | morph/fp8 | fp8 | $0.176/1M | $1.544/1M | 1.0M | 100% | Live | openrouter-endpoints |
| DeepInfra Price differs from the host list |
deepinfra/fp4/flex | fp4 | $0.45/1M | $1.44/1M | 1.0M | 100% | Live | openrouter-endpoints |
| DeepInfra Price differs from the host list |
deepinfra/fp4 | fp4 | $0.5625/1M | $1.8/1M | 1.0M | 100% | Live | openrouter-endpoints |
| StreamLake | streamlake/fp8 | fp8 | $0.6131/1M | $1.927/1M | 1.0M | 100% | Live | openrouter-endpoints |
| Ambient | ambient/fp8 | fp8 | $0.6/1M | $2/1M | 203K | 100% | Live | openrouter-endpoints |
| Novita Price differs from the host list |
novita/fp8 | fp8 | $0.6496/1M | $2.042/1M | 1.0M | 100% | Live | openrouter-endpoints |
| CoreWeave | coreweave/fp4 | fp4 | $0.62/1M | $2.42/1M | 1.0M | 100% | Live | openrouter-endpoints |
| DigitalOcean | digitalocean | — | $0.7/1M | $2.2/1M | 1.0M | 100% | Live | openrouter-endpoints |
| SiliconFlow | siliconflow/fp8 | fp8 | $0.7/1M | $2.2/1M | 1.0M | 100% | Live | openrouter-endpoints |
| DeepInfra Price differs from OpenRouter |
— | — | $0.75/1M | $2.4/1M | 1.0M | — | Listed | deepinfra |
| AtlasCloud Price differs from the host list |
atlas-cloud/fp8 | fp8 | $0.938/1M | $2.948/1M | 1.0M | 100% | Live | openrouter-endpoints |
| Alibaba | alibaba/fp8 | fp8 | $0.966/1M | $3.036/1M | 1M | 100% | Live | openrouter-endpoints |
| Phala | — | — | $1.26/1M | $3/1M | 1.0M | — | Listed | phala |
| Alibaba | alibaba/fp8/us-east-1 | fp8 | $1.12/1M | $3.52/1M | 1M | — | Live | openrouter-endpoints |
| Wafer | wafer/us | fp4 | $0.006/1M | $7/1M | 1.0M | 100% | Live | openrouter-endpoints |
| Relace | relace | — | $0.0065/1M | $7.906/1M | 1.0M | 100% | Live | openrouter-endpoints |
| Inceptron | inceptron/fp4 | fp4 | $1.2/1M | $4.4/1M | 1.0M | 100% | Live | openrouter-endpoints |
| Inference.net | — | — | $1.3/1M | $4.4/1M | 1.0M | — | Listed | inferencenet |
| Cloudflare Price differs from the host list |
cloudflare | — | $0.19/1M | $8/1M | 262K | 100% | Live | openrouter-endpoints |
| Wafer | wafer | fp4 | $0.19/1M | $8/1M | 1.0M | 100% | Live | openrouter-endpoints |
| AtlasCloud Price differs from OpenRouter |
— | fp8 | $1.4/1M | $4.4/1M | 1.0M | — | Listed | atlascloud |
| Baidu | baidu/fp8 | fp8 | $1.4/1M | $4.4/1M | 1.0M | 100% | Live | openrouter-endpoints |
| BaseTen | baseten/fp8 | fp8 | $1.4/1M | $4.4/1M | 1.0M | 100% | Live | openrouter-endpoints |
| BaseTen | baseten/fp8/us | fp8 | $1.4/1M | $4.4/1M | 1.0M | 100% | Live | openrouter-endpoints |
| Cloudflare Price differs from OpenRouter |
— | — | $1.4/1M | $4.4/1M | — | — | Listed | cloudflare-pricing |
| Friendli | — | — | $1.4/1M | $4.4/1M | 1.0M | — | Listed | friendli |
| Friendli | friendli | — | $1.4/1M | $4.4/1M | 1.0M | 100% | Live | openrouter-endpoints |
| GMICloud | gmicloud/fp8 | fp8 | $1.4/1M | $4.4/1M | 1.0M | — | Live | openrouter-endpoints |
| Mistral AI | mistral/zdr | nvfp4 | $1.4/1M | $4.4/1M | 1.0M | 100% | Live | openrouter-endpoints |
| Nebius | nebius/fp4 | fp4 | $1.4/1M | $4.4/1M | 1.0M | — | Live | openrouter-endpoints |
| Novita Price differs from OpenRouter |
— | — | $1.4/1M | $4.4/1M | 1.0M | — | Listed | novita |
| Parasail | parasail/fp4 | fp4 | $1.4/1M | $4.4/1M | 262K | 100% | Live | openrouter-endpoints |
| Together | — | — | $1.4/1M | $4.4/1M | 1.0M | — | Listed | together |
| Together | together | — | $1.4/1M | $4.4/1M | 1.0M | 100% | Live | openrouter-endpoints |
| Venice | venice/fp8 | fp8 | $1.4/1M | $4.4/1M | 1M | 100% | Live | openrouter-endpoints |
| Z.ai | z-ai/fp8 | fp8 | $1.4/1M | $4.4/1M | 1.0M | 100% | Live | openrouter-endpoints |
| Mistral AI | mistral/eu | — | $1.54/1M | $4.84/1M | 1.0M | — | Live | openrouter-endpoints |
| Io Net | — | fp4 | $1.484/1M | $5.604/1M | 262K | — | Listed | ionet |
| Decart | decart/fast | fp4 | $1.2/1M | $8/1M | 1.0M | 100% | Live | openrouter-endpoints |
| BaseTen | baseten/fast | fp8 | $2.1/1M | $6.6/1M | 1.0M | 100% | Live | openrouter-endpoints |
| BaseTen | baseten/us/fast | fp8 | $2.1/1M | $6.6/1M | 1.0M | 100% | Live | openrouter-endpoints |
| Alibaba | alibaba/fast | fp8 | $2.31/1M | $7.26/1M | 1M | 100% | Live | openrouter-endpoints |
| Baidu | baidu/fast | fp4 | $2.25/1M | $7.88/1M | 1.0M | 100% | Live | openrouter-endpoints |
Monthly bill
Token models use the token counts. Image, video, and audio models use units times the flat rate.
$7.01 at list price for this workload
Cache
per 1M tokens
Every rate
| Unit | Input | Output | Flat | Confidence |
|---|---|---|---|---|
| token | $0.006/1M | $7/1M | Not published— | official |
Price history
input or flat output
Daily snapshots
| UTC date | Unit | Input | Output | Flat |
|---|---|---|---|---|
| 2026-09-15 | token | $1.4 | $4.4 | Not published— |
| 2026-09-16 | token | $1.4 | $4.4 | Not published— |
| 2026-09-17 | token | $1.4 | $4.4 | Not published— |
| 2026-09-18 | token | $0.5544 | $1.742 | Not published— |
| 2026-09-19 | token | $0.5544 | $1.742 | Not published— |
| 2026-09-20 | token | $0.6496 | $2.042 | Not published— |
| 2026-09-21 | token | $0.6496 | $2.042 | Not published— |
| 2026-09-22 | token | $0.6496 | $2.042 | Not published— |
| 2026-09-23 | token | $0.6496 | $2.042 | Not published— |
| 2026-09-24 | token | $0.6496 | $2.042 | Not published— |
| 2026-09-25 | token | $0.6496 | $2.042 | Not published— |
| 2026-09-26 | token | $0.6496 | $2.042 | Not published— |
| 2026-09-27 | token | $0.6496 | $2.042 | Not published— |
| 2026-09-28 | token | $0.6496 | $2.042 | Not published— |
| 2026-09-29 | token | $0.2339 | $4.4 | Not published— |
| 2026-09-30 | token | $0.432 | $3.99 | Not published— |
| 2026-10-01 | token | $0.41 | $3.99 | Not published— |
| 2026-10-02 | token | $0.41 | $3.99 | Not published— |
| 2026-10-03 | token | $0.41 | $3.99 | Not published— |
| 2026-10-04 | token | $0.0792 | $8 | Not published— |
| 2026-10-05 | token | $0.032 | $16 | Not published— |
| 2026-10-06 | token | $0.152 | $12 | Not published— |
| 2026-10-07 | token | $0.171 | $7.2 | Not published— |
| 2026-10-08 | token | $0.07 | $4.3 | Not published— |
| 2026-10-09 | token | $0.06 | $6 | Not published— |
| 2026-10-10 | token | $0.06 | $7 | Not published— |
| 2026-10-11 | token | $0.06 | $7 | Not published— |
| 2026-10-12 | token | $0.06 | $7 | Not published— |
| 2026-10-13 | token | $0.06 | $7 | Not published— |
| 2026-10-14 | token | $0.06 | $7 | Not published— |
| 2026-10-15 | token | $0.2 | $10 | Not published— |
| 2026-10-16 | token | $0.62 | $2.42 | Not published— |
| 2026-10-17 | token | $0.62 | $2.42 | Not published— |
| 2026-10-18 | token | $0.62 | $2.42 | Not published— |
| 2026-10-19 | token | $0.62 | $2.42 | Not published— |
| 2026-10-20 | token | $0.62 | $2.42 | Not published— |
| 2026-10-21 | token | $0.0341 | $7 | Not published— |
| 2026-10-22 | token | $0.0341 | $7 | Not published— |
| 2026-10-23 | token | $0.0341 | $7 | Not published— |
| 2026-10-24 | token | $0.0341 | $7 | Not published— |
| 2026-10-25 | token | $0.0341 | $7 | Not published— |
| 2026-10-26 | token | $0.0341 | $7 | Not published— |
| 2026-10-27 | token | $0.0341 | $7 | Not published— |
| 2026-10-28 | token | $0.0106 | $7 | Not published— |
| 2026-10-29 | token | $0.006 | $7 | Not published— |
| 2026-10-30 | token | $0.006 | $7 | Not published— |
Alternatives
- Document Digitization API$0.0052/page · Compare
- BAAI/bge-base-en-v1.5$0.005/1M · Compare
- BAAI: bge-base-en-v1.5$0.005/1M · Compare
- intfloat/e5-base-v2$0.005/1M · Compare
- Intfloat: E5-Base-v2$0.005/1M · Compare
- Sentence Transformers: all-MiniLM-L12-v2$0.005/1M · Compare
Parameters (21)
frequency_penaltyinclude_reasoninglogit_biaslogprobsmax_tokensmin_pparallel_tool_callspresence_penaltyreasoningreasoning_effortrepetition_penaltyresponse_formatseedstopstructured_outputstemperaturetool_choicetoolstop_ktop_logprobstop_p
Call this model
OpenRouter id z-ai/glm-5.2. InferenceList does not send the request.
curl
curl https://openrouter.ai/api/v1/chat/completions \
-H "Authorization: Bearer $OPENROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"z-ai/glm-5.2","messages":[{"role":"user","content":"Hello"}]}'
JavaScript
await fetch("https://openrouter.ai/api/v1/chat/completions", {
method: "POST",
headers: {
Authorization: "Bearer " + process.env.OPENROUTER_API_KEY,
"Content-Type": "application/json",
},
body: JSON.stringify({
model: "z-ai/glm-5.2",
messages: [{ role: "user", content: "Hello" }],
}),
});
Python
import os, json, urllib.request
req = urllib.request.Request(
"https://openrouter.ai/api/v1/chat/completions",
data=json.dumps({"model": "z-ai/glm-5.2", "messages": [{"role": "user", "content": "Hello"}]}).encode(),
headers={"Authorization": "Bearer " + os.environ["OPENROUTER_API_KEY"], "Content-Type": "application/json"},
)
print(urllib.request.urlopen(req).read().decode())