Console

GLM 5

Context
205K
Max output
131K
Input → output
text → text
Weights
Open
Providers
2
01

Providers

2 providers · list price, latency and uptime
ProviderInput /1MCached /1MOutput /1MTTFB p50Uptime 24hRetention
1
Inference.net
$0.95$0.20$2.55– – none
Context
205K
Max output
131K
Precision
–
Regions
default
Headquarters
–
Data retention
Zero retention
2
StreamLake
$1.00$0.20$3.20– – may retain
Context
205K
Max output
131K
Precision
–
Regions
default
Headquarters
–
Data retention
May retain prompts

By default the router tries our listings in routing order and fails over before the first byte — never mid-answer. Pin, exclude or order providers with a routing policy. Each provider charges its own price: name one with provider.only and you pay its price; otherwise you pay the price of the provider that serves the request ($0.95 in / $2.55 out per 1M where routing starts, unless it fails over). provider.sort: "price" tries the provider with the lowest input + output price first, and provider.max_price leaves out a provider above your limit. Uptime is our own 24h measurement; a dash means too few requests to measure yet. Open a row for its specs, parameters and policies.

02

Quickstart

any SDK — only the base URL changes
curl -N https://dev-api.routerplus.com/v1/chat/completions \
  -H "Authorization: Bearer $TM_API_KEY" -H "content-type: application/json" \
  -d '{"model":"z-ai/glm-5","stream":true,"max_tokens":256,
       "messages":[{"role":"user","content":"hi"}]}'
03

Pricing

per 1M tokens
prompt$0.95
cached prompt$0.2
completion$2.55

Every billed response carries usage.cost — recompute your bill from the wire.