GLM 5.1
LiveZ.ai200K context · Text, Tools, ReasoningBenchmark price · $1.4 input / $4.4 output per 1M tokens
Best discount now98.9%offYou pay 1.1% of reference.
Median discount98.9%offAcross 455 live offers.
Realized · 7 days96.2%avgRequest-weighted average.
Requests · 24h8,538455 offers from 64 sellers.
Current offers
455 of 585 offers
Availability
Providers
ProviderDiscountPriceLatencyUptimeCacheSold
Alibaba DashScope — China
98%
$0.0150 in
$0.0471 out
-
-
-
$7
Z.ai
98%
$0.0152 in
$0.0479 out
3.0s
51.8%
33.3%
$57
Z.ai
98%
$0.0152 in
$0.0479 out
3.0s
51.8%
33.3%
$19
Z.ai
98%
$0.0152 in
$0.0479 out
3.0s
51.8%
33.3%
$56
Z.ai
98%
$0.0152 in
$0.0479 out
3.0s
51.8%
33.3%
$6
Z.ai
98%
$0.0152 in
$0.0479 out
3.0s
51.8%
33.3%
$2
Z.ai
98%
$0.0152 in
$0.0479 out
3.0s
51.8%
33.3%
$1
Z.ai
98%
$0.0152 in
$0.0479 out
3.0s
51.8%
33.3%
$1
Z.ai
98%
$0.0152 in
$0.0479 out
3.0s
51.8%
33.3%
$0.462
Total
Cumulative offers
Sold
$150
Discount trend
Realized · 7 days99.6%+0.0 pts vs last week
Best, twice dailyMedian 98.9%
Recent fills
23:0929 tokensZ.ai direct98.9%
23:0918,737 tokensZ.ai direct98.9%
23:084,166 tokensZ.ai direct98.9%
23:0817,795 tokensZ.ai direct98.9%
23:063,707 tokensZ.ai direct99.3%
23:0631,243 tokensZ.ai direct98.9%
23:052,243 tokensZ.ai direct98.9%
23:0532 tokensZ.ai direct98.9%
23:0429 tokensZ.ai direct100.0%
23:0329 tokensZ.ai direct100.0%
23:0323,741 tokensZ.ai direct99.3%
23:023,379 tokensZ.ai direct99.3%
23:022,037 tokensZ.ai direct99.3%
23:01277 tokensZ.ai direct99.3%
23:012,954 tokensZ.ai direct99.3%
23:0198 tokensAlibaba DashScope99.1%
23:013,887 tokensAlibaba DashScope99.0%
23:0032 tokensZ.ai direct100.0%
23:009 tokensAlibaba DashScope100.0%
22:5918,924 tokensZ.ai direct98.9%
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 | 33.57 s | 150.53 s | 40 tok/s | 51.8% | 94% |
| Venice AI direct | 1.24 s | 10.11 s | 99 tok/s | 99.2% | 6% |
Z.ai direct94% of traffic
51.8% success
Venice AI direct6% of traffic
99.2% 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
- top_kintegerTop-k 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 200K tokens · Max output 24K 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-5.1", messages=[{"role": "user", "content": "Hello!"}] )
SURPLUS_BASE_URL
https://api.surplusintelligence.ai/v1