GLM 4.7 Flash
LiveZ.ai198K context · TextBenchmark price · $0.0605 input / $0.4 output per 1M tokens
Best discount now99.5%offYou pay 0.5% of reference.
Median discount75.2%offAcross 153 live offers.
Realized · 7 days99.3%avgRequest-weighted average.
Requests · 24h1,759153 offers from 31 sellers.
Current offers
153 of 243 offers
Availability
Providers
ProviderDiscountPriceLatencyUptimeCacheSold
Amazon Bedrock
99%
$0.00031 in
$0.00204 out
916ms
81.7%
39.4%
$0.163
Amazon Bedrock
99%
$0.00031 in
$0.00204 out
916ms
81.7%
39.4%
$0.092
Amazon Bedrock
99%
$0.00031 in
$0.00204 out
916ms
81.7%
39.4%
$0.033
Amazon Bedrock
99%
$0.00031 in
$0.00204 out
916ms
81.7%
39.4%
$0.008
Amazon Bedrock
99%
$0.00031 in
$0.00207 out
916ms
81.7%
39.4%
$0.008
Amazon Bedrock
99%
$0.00060 in
$0.00400 out
916ms
81.7%
39.4%
-
Amazon Bedrock
94%
$0.00360 in
$0.0240 out
916ms
81.7%
39.4%
-
Amazon Bedrock
94%
$0.00360 in
$0.0240 out
916ms
81.7%
39.4%
-
Amazon Bedrock
94%
$0.00360 in
$0.0240 out
916ms
81.7%
39.4%
-
Amazon Bedrock
94%
$0.00360 in
$0.0240 out
916ms
81.7%
39.4%
-
Total
Cumulative offers
Sold
$0.304
Discount trend
Realized · 7 days99.8%+0.0 pts vs last week
Best, twice dailyMedian 75.2%
Recent fills
17:24383 tokensAWS Bedrock100.0%
17:2422 tokensAWS Bedrock100.0%
17:241,963 tokensAWS Bedrock99.4%
17:2012 tokensAWS Bedrock100.0%
17:20458 tokensAWS Bedrock100.0%
17:1713,923 tokensAWS Bedrock99.5%
17:1713,860 tokensAWS Bedrock99.5%
17:176,864 tokensAWS Bedrock99.5%
17:176,810 tokensAWS Bedrock99.6%
17:1646,761 tokensAWS Bedrock99.5%
17:1646,352 tokensAWS Bedrock99.5%
17:16554 tokensAWS Bedrock100.0%
17:1651,288 tokensAWS Bedrock99.5%
17:1651,167 tokensAWS Bedrock99.5%
17:1640,067 tokensAWS Bedrock99.5%
17:1635,289 tokensAWS Bedrock99.6%
17:1529,354 tokensAWS Bedrock99.5%
17:1528,461 tokensAWS Bedrock99.5%
17:1528,354 tokensAWS Bedrock99.5%
17:1528,283 tokensAWS Bedrock99.5%
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 |
|---|---|---|---|---|---|
| AWS Bedrock | 1.24 s | 24.87 s | 599 tok/s | 81.7% | 96% |
| Cloudflare Workers AI | 13.64 s | - | - | 96.0% | 3% |
| Z.ai direct | - | - | - | 32.0% | 1% |
AWS Bedrock96% of traffic
81.7% success
Cloudflare Workers AI3% of traffic
96.0% success
Z.ai direct1% of traffic
32.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
- 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
Context window 198K tokens · Max output 4K 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.7-flash", messages=[{"role": "user", "content": "Hello!"}] )
SURPLUS_BASE_URL
https://api.surplusintelligence.ai/v1