theserverless.dev InferenceList

Models / Z.ai

Z.ai: GLM 5.1

z-ai/glm-5.1

textContext 205K

GLM-5.1 delivers a major leap in coding capability, with particularly significant gains in handling long-horizon tasks. Unlike previous models built around minute-level interactions, GLM-5.1 can work independently and continuously on...

Price

Input$1.4

per 1M tokens

Output$4.4

per 1M tokens

Cheaper on Chutes (−34.9%) versus the lab price

Compare this model

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.

ProviderTagQuant InputOutput ContextUptimeStatusSource
Chutes chutes/fp8 fp8 $0.9/1M $2.9/1M 203K 100% Live openrouter-endpoints
StreamLake streamlake/fp8 fp8 $0.966/1M $3.036/1M 200K 100% Live openrouter-endpoints
SiliconFlow siliconflow/fp8 fp8 $1.19/1M $3.74/1M 205K 100% Live openrouter-endpoints
AtlasCloud — fp8 $1.26/1M $3.96/1M 203K — Listed atlascloud
AtlasCloud atlas-cloud/fp8 fp8 $1.26/1M $3.96/1M 203K 100% Live openrouter-endpoints
Phala — — $1.21/1M $4.2/1M 203K — Listed phala
Phala phala — $1.21/1M $4.2/1M 203K — Live openrouter-endpoints
Io Net — fp8 $1.372/1M $4.312/1M 203K — Listed ionet
Novita — — $1.38/1M $4.4/1M 205K — Listed novita
Novita novita/fp8 fp8 $1.38/1M $4.4/1M 205K — Live openrouter-endpoints
Baidu baidu/fp8 fp8 $1.4/1M $4.4/1M 203K 100% Live openrouter-endpoints
Friendli — — $1.4/1M $4.4/1M 203K — Listed friendli
Friendli friendli — $1.4/1M $4.4/1M 203K 100% Live openrouter-endpoints
GMICloud gmicloud/fp8 fp8 $1.4/1M $4.4/1M 203K — Live openrouter-endpoints
Nebius nebius/fp8 fp8 $1.4/1M $4.4/1M 203K 100% Live openrouter-endpoints
Together — — $1.4/1M $4.4/1M 203K — Listed together
Z.ai z-ai/fp8 fp8 $1.4/1M $4.4/1M 203K 100% Live openrouter-endpoints
Venice venice/fp8 fp8 $1.401/1M $4.404/1M 200K — Live openrouter-endpoints
Alibaba alibaba/fp8 fp8 $1.33/1M $4.18/1M 203K — Down openrouter-endpoints

Monthly bill

Token models use the token counts. Image, video, and audio models use units times the flat rate.

$5.80 at list price for this workload

Cache

Cache read$0.26

per 1M tokens

Every rate
UnitInputOutputFlatConfidence
token $1.4/1M $4.4/1M Not published— official

Price history

Z.ai: GLM 5.1
5 0 2026-09-15: $0.9662026-09-16: $0.9662026-09-17: $0.9662026-09-18: $0.9662026-09-19: $0.9662026-09-20: $0.9662026-09-21: $0.9662026-09-22: $0.9662026-09-23: $0.9662026-09-24: $0.9662026-09-25: $0.96462026-09-26: $0.96462026-09-27: $0.96462026-09-28: $0.96462026-09-29: $0.96462026-09-30: $0.96462026-10-01: $0.96462026-10-02: $0.96462026-10-03: $1.42026-10-04: $1.42026-10-05: $1.42026-10-06: $1.42026-10-07: $0.9662026-10-08: $0.9662026-10-09: $0.9662026-10-10: $0.9662026-10-11: $0.9662026-10-12: $0.9662026-10-13: $0.9662026-10-14: $1.332026-10-15: $0.9662026-10-16: $0.9662026-10-17: $0.9662026-10-18: $0.9662026-10-19: $0.9662026-10-20: $0.9662026-10-21: $1.42026-10-22: $1.42026-10-23: $1.42026-10-24: $1.42026-10-25: $1.42026-10-26: $1.42026-10-27: $0.9662026-10-28: $1.42026-10-29: $1.42026-10-30: $1.4 2026-09-15 2026-10-30

input or flat output

Daily snapshots
UTC dateUnitInputOutputFlat
2026-09-15 token $0.966 $3.036 Not published—
2026-09-16 token $0.966 $3.036 Not published—
2026-09-17 token $0.966 $3.036 Not published—
2026-09-18 token $0.966 $3.036 Not published—
2026-09-19 token $0.966 $3.036 Not published—
2026-09-20 token $0.966 $3.036 Not published—
2026-09-21 token $0.966 $3.036 Not published—
2026-09-22 token $0.966 $3.036 Not published—
2026-09-23 token $0.966 $3.036 Not published—
2026-09-24 token $0.966 $3.036 Not published—
2026-09-25 token $0.9646 $3.032 Not published—
2026-09-26 token $0.9646 $3.032 Not published—
2026-09-27 token $0.9646 $3.032 Not published—
2026-09-28 token $0.9646 $3.032 Not published—
2026-09-29 token $0.9646 $3.032 Not published—
2026-09-30 token $0.9646 $3.032 Not published—
2026-10-01 token $0.9646 $3.032 Not published—
2026-10-02 token $0.9646 $3.032 Not published—
2026-10-03 token $1.4 $4.4 Not published—
2026-10-04 token $1.4 $4.4 Not published—
2026-10-05 token $1.4 $4.4 Not published—
2026-10-06 token $1.4 $4.4 Not published—
2026-10-07 token $0.966 $3.036 Not published—
2026-10-08 token $0.966 $3.036 Not published—
2026-10-09 token $0.966 $3.036 Not published—
2026-10-10 token $0.966 $3.036 Not published—
2026-10-11 token $0.966 $3.036 Not published—
2026-10-12 token $0.966 $3.036 Not published—
2026-10-13 token $0.966 $3.036 Not published—
2026-10-14 token $1.33 $4.18 Not published—
2026-10-15 token $0.966 $3.036 Not published—
2026-10-16 token $0.966 $3.036 Not published—
2026-10-17 token $0.966 $3.036 Not published—
2026-10-18 token $0.966 $3.036 Not published—
2026-10-19 token $0.966 $3.036 Not published—
2026-10-20 token $0.966 $3.036 Not published—
2026-10-21 token $1.4 $4.4 Not published—
2026-10-22 token $1.4 $4.4 Not published—
2026-10-23 token $1.4 $4.4 Not published—
2026-10-24 token $1.4 $4.4 Not published—
2026-10-25 token $1.4 $4.4 Not published—
2026-10-26 token $1.4 $4.4 Not published—
2026-10-27 token $0.966 $3.036 Not published—
2026-10-28 token $1.4 $4.4 Not published—
2026-10-29 token $1.4 $4.4 Not published—
2026-10-30 token $1.4 $4.4 Not published—

Alternatives

Parameters (19)
frequency_penaltyinclude_reasoninglogit_biaslogprobsmax_tokensmin_ppresence_penaltyreasoningrepetition_penaltyresponse_formatseedstopstructured_outputstemperaturetool_choicetoolstop_ktop_logprobstop_p
Call this model

OpenRouter id z-ai/glm-5.1. 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.1","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.1",
    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.1", "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())

JSON · History JSON