theserverless.dev InferenceList

Models / Z.ai

Z.ai: GLM Flash Latest

~z-ai/glm-flash-latest

text image videoContext 1.0M

This model always redirects to the latest model in the GLM Flash family.

Price

Input$0.0489

per 1M tokens

Output$0.0701

per 1M tokens

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.

No provider prices yet.

Monthly bill

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

$0.12 at list price for this workload

Cache

Cache read$0.03

per 1M tokens

Every rate
UnitInputOutputFlatConfidence
token $0.0489/1M $0.0701/1M Not published— official

Price history

Z.ai: GLM Flash Latest
3.5 0 2026-09-15: $0.0752026-09-16: $0.0752026-09-17: $0.0752026-09-18: $0.0752026-09-19: $0.0752026-09-20: $0.0752026-09-21: $0.0752026-09-22: $0.0752026-09-23: $0.0752026-09-24: $0.0452026-09-25: $0.0452026-09-26: $0.042026-09-27: $0.0452026-09-28: $0.0452026-09-29: $0.022026-09-30: $0.022026-10-01: $0.022026-10-02: $0.02622026-10-03: $0.0352026-10-04: $0.03522026-10-05: $0.03522026-10-06: $0.02782026-10-07: $0.042026-10-08: $0.0322026-10-09: $0.0322026-10-10: $0.042026-10-11: $0.042026-10-12: $0.02322026-10-13: $0.02612026-10-14: $0.0362026-10-15: $0.0362026-10-16: $0.01512026-10-17: $0.062026-10-18: $0.0482026-10-19: $0.0482026-10-20: $0.0482026-10-21: $0.05172026-10-22: $0.00522026-10-23: $0.00522026-10-24: $0.05092026-10-25: $0.05132026-10-26: $0.04132026-10-27: $0.03452026-10-28: $0.02592026-10-29: $0.05032026-10-30: $0.0489 2026-09-15 2026-10-30

input or flat output

Daily snapshots
UTC dateUnitInputOutputFlat
2026-09-15 token $0.075 $0.25 Not published—
2026-09-16 token $0.075 $0.25 Not published—
2026-09-17 token $0.075 $0.25 Not published—
2026-09-18 token $0.075 $0.25 Not published—
2026-09-19 token $0.075 $0.25 Not published—
2026-09-20 token $0.075 $0.25 Not published—
2026-09-21 token $0.075 $0.25 Not published—
2026-09-22 token $0.075 $0.25 Not published—
2026-09-23 token $0.075 $0.25 Not published—
2026-09-24 token $0.045 $0.14 Not published—
2026-09-25 token $0.045 $0.14 Not published—
2026-09-26 token $0.04 $0.5 Not published—
2026-09-27 token $0.045 $0.14 Not published—
2026-09-28 token $0.045 $0.14 Not published—
2026-09-29 token $0.02 $0.3 Not published—
2026-09-30 token $0.02 $0.2475 Not published—
2026-10-01 token $0.02 $0.3 Not published—
2026-10-02 token $0.0262 $0.9 Not published—
2026-10-03 token $0.035 $0.5 Not published—
2026-10-04 token $0.0352 $0.5 Not published—
2026-10-05 token $0.0352 $0.5 Not published—
2026-10-06 token $0.0278 $0.5 Not published—
2026-10-07 token $0.04 $0.5 Not published—
2026-10-08 token $0.032 $3.172 Not published—
2026-10-09 token $0.032 $0.1563 Not published—
2026-10-10 token $0.04 $0.5 Not published—
2026-10-11 token $0.04 $0.5 Not published—
2026-10-12 token $0.0232 $1.2 Not published—
2026-10-13 token $0.0261 $0.9 Not published—
2026-10-14 token $0.036 $0.9 Not published—
2026-10-15 token $0.036 $0.9 Not published—
2026-10-16 token $0.0151 $0.7988 Not published—
2026-10-17 token $0.06 $1.6 Not published—
2026-10-18 token $0.048 $0.2 Not published—
2026-10-19 token $0.048 $0.16 Not published—
2026-10-20 token $0.048 $0.12 Not published—
2026-10-21 token $0.0517 $0.12 Not published—
2026-10-22 token $0.0052 $0.1985 Not published—
2026-10-23 token $0.0052 $0.1985 Not published—
2026-10-24 token $0.0509 $0.0702 Not published—
2026-10-25 token $0.0513 $0.0701 Not published—
2026-10-26 token $0.0413 $0.0758 Not published—
2026-10-27 token $0.0345 $0.0823 Not published—
2026-10-28 token $0.0259 $0.1042 Not published—
2026-10-29 token $0.0503 $0.0708 Not published—
2026-10-30 token $0.0489 $0.0701 Not published—

Alternatives

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-flash-latest. 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-flash-latest","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-flash-latest",
    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-flash-latest", "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