Skip to main content

GLM 4.5 Air

Live
Zhipu AI128K context · Text, Tools, ReasoningBenchmark price · $0.13 input / $0.85 output per 1M tokens
Use this model
Best discount now99.9%offYou pay 0.1% of reference.
Median discount99.9%offAcross 108 live offers.
Realized · 7 days99.8%avgRequest-weighted average.
Requests · 24h532108 offers from 22 sellers.
Current offers
108 of 124 offers
Availability
Providers
ProviderDiscountPriceLatencyUptimeCacheSold
Z.ai
99%
$0.00013 in
$0.00084 out
1.7s
71.5%
20.9%
$0.223
Z.ai
99%
$0.00013 in
$0.00084 out
1.7s
71.5%
20.9%
$0.020
Z.ai
99%
$0.00013 in
$0.00084 out
1.7s
71.5%
20.9%
$0.021
Z.ai
99%
$0.00013 in
$0.00084 out
1.7s
71.5%
20.9%
$0.034
Z.ai
99%
$0.00013 in
$0.00084 out
1.7s
71.5%
20.9%
$0.021
Z.ai
99%
$0.00013 in
$0.00084 out
1.7s
71.5%
20.9%
$0.048
Z.ai
99%
$0.00013 in
$0.00084 out
1.7s
71.5%
20.9%
$0.048
Z.ai
99%
$0.00013 in
$0.00084 out
1.7s
71.5%
20.9%
$0.028
Z.ai
99%
$0.00013 in
$0.00084 out
1.7s
71.5%
20.9%
$0.021
Z.ai
99%
$0.00013 in
$0.00084 out
1.7s
71.5%
20.9%
$0.039
Total
Cumulative offers
Sold
$0.590

Discount trend

Realized · 7 days
99.9%+0.0 pts vs last week
Best, twice dailyMedian 99.9%

Recent fills

17:3929 tokensZ.ai direct100.0%
17:39141 tokensZ.ai direct100.0%
17:369 tokensZ.ai direct100.0%
17:369 tokensZ.ai direct100.0%
17:309 tokensZ.ai direct100.0%
17:209 tokensZ.ai direct100.0%
17:109 tokensZ.ai direct100.0%
17:0958 tokensZ.ai direct100.0%
17:0013 tokensZ.ai direct100.0%
16:5729 tokensZ.ai direct100.0%
16:5012 tokensZ.ai direct100.0%
16:4427 tokensZ.ai direct100.0%
16:4018 tokensZ.ai direct100.0%
16:3864 tokensZ.ai direct100.0%
16:3429 tokensZ.ai direct100.0%
16:309 tokensZ.ai direct100.0%
16:209 tokensZ.ai direct100.0%
16:1930 tokensZ.ai direct100.0%
16:1923 tokensZ.ai direct100.0%
16:1923 tokensZ.ai direct100.0%
Times in UTCSettled on Base in USDC.

Performance by provider route · 24h

Measured on Surplus traffic
Z.ai direct100% of traffic
71.5% success
p50 2.25 s · p95 203.21 s · 22 tok/s
Use this model

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-air",
    messages=[{"role": "user",
               "content": "Hello!"}]
)

SURPLUS_BASE_URL
https://api.surplusintelligence.ai/v1

Related models