GLM 4.5
LiveZ.ai128K context · Text, Tools, ReasoningBenchmark price · $0.6 input / $2.2 output per 1M tokens
Best discount now99.0%offYou pay 1.0% of reference.
Median discount99.0%offAcross 107 live offers.
Realized · 7 days98.9%avgRequest-weighted average.
Requests · 24h1,403107 offers from 17 sellers.
Current offers
107 of 129 offers
Availability
Providers
ProviderDiscountPriceLatencyUptimeCacheSold
Z.ai
99%
$0.00588 in
$0.0216 out
3.0s
62.0%
45.4%
$1
Z.ai
99%
$0.00588 in
$0.0216 out
3.0s
62.0%
45.4%
$0.777
Z.ai
99%
$0.00588 in
$0.0216 out
3.0s
62.0%
45.4%
$0.163
Z.ai
99%
$0.00588 in
$0.0216 out
3.0s
62.0%
45.4%
$0.084
Z.ai
99%
$0.00588 in
$0.0216 out
3.0s
62.0%
45.4%
$0.021
Z.ai
99%
$0.00588 in
$0.0216 out
3.0s
62.0%
45.4%
$0.050
Z.ai
99%
$0.00588 in
$0.0216 out
3.0s
62.0%
45.4%
$0.029
Z.ai
99%
$0.00588 in
$0.0216 out
3.0s
62.0%
45.4%
-
Z.ai
99%
$0.00588 in
$0.0216 out
3.0s
62.0%
45.4%
-
Z.ai
99%
$0.00588 in
$0.0216 out
3.0s
62.0%
45.4%
-
Total
Cumulative offers
Sold
$3
Discount trend
Realized · 7 days99.5%+0.0 pts vs last week
Best, twice dailyMedian 99.0%
Recent fills
16:2432 tokensZ.ai direct100.0%
16:2432 tokensZ.ai direct100.0%
16:2432 tokensZ.ai direct100.0%
16:2432 tokensZ.ai direct100.0%
16:2232 tokensZ.ai direct100.0%
16:2232 tokensZ.ai direct100.0%
16:209 tokensZ.ai direct100.0%
16:2032 tokensZ.ai direct100.0%
16:1832 tokensZ.ai direct100.0%
16:1632 tokensZ.ai direct100.0%
16:1432 tokensZ.ai direct100.0%
16:1232 tokensZ.ai direct100.0%
16:1232 tokensZ.ai direct100.0%
16:1132 tokensZ.ai direct100.0%
16:1032 tokensZ.ai direct100.0%
16:1032 tokensZ.ai direct100.0%
16:109 tokensZ.ai direct100.0%
16:1032 tokensZ.ai direct100.0%
16:1032 tokensZ.ai direct100.0%
16:0832 tokensZ.ai direct100.0%
Times in UTCSettled on Base in USDC.
Performance by provider route · 24h
Measured on Surplus traffic| Route | p50 latency | p95 latency | Throughput | Success rate | ShareShare of traffic |
|---|---|---|---|---|---|
| Z.ai direct | 4.11 s | 150.53 s | 22 tok/s | 62.0% | 100% |
Z.ai direct100% of traffic
62.0% success
Use this modelChange your base URL.
Change your base URL.
Keep your code.
Any OpenAI-compatible client works. Add /min30 to the path to only buy at 30% off or better.
Read the quickstart ↗Parameters this model acceptsPOST /v1/chat/completions
- modelstringThis model’s id
- messagesarrayThe conversation, as role and content pairs
- streambooleanSend the answer as server-sent events
- max_tokensintegerMost output tokens to generate
- temperaturenumberSampling temperature
- top_pnumberNucleus sampling
- min_pnumberDrops tokens below this share of the top token’s probability
- stopstring | arrayStop sequences
- seedintegerDeterministic sampling
- toolsarrayFunctions the model may call, in the OpenAI format
- tool_choicestring | objectauto, required, none, or one named function
- response_formatobjectJSON mode or a JSON schema for structured output
- structured_outputsbooleanAccepts a JSON schema in response_format
- reasoningobjectReasoning options as an object, such as {"effort": "high"}
- include_reasoningbooleanStripped before the request reaches the provider
- frequency_penaltynumberPenalises tokens by how often they appeared
- presence_penaltynumberPenalises tokens that appeared at all
- repetition_penaltynumberPenalises repeated tokens
- logit_biasobjectPer-token bias on the logits
- logprobsbooleanReturn token log probabilities
- top_logprobsintegerHow many top tokens to return probabilities for
Context window 128K tokens · Max output 33K tokensOthers are passed through; most providers ignore what they don’t support. Parameter compatibility ↗
from openai import OpenAI client = OpenAI( api_key="inf_your_key_here", base_url="$SURPLUS_BASE_URL" ) response = client.chat.completions.create( model="glm-4.5", messages=[{"role": "user", "content": "Hello!"}] )
SURPLUS_BASE_URL
https://api.surplusintelligence.ai/v1