Skip to main content

Z.ai: GLM 5.3 FlashX Legal

Live
Z.ai1M context · Text, Vision, Video, Tools, ReasoningBenchmark price · $0.37 input / $1.25 output per 1M tokens
Use this model
Best discount now30.2%offYou pay 69.8% of reference.
Median discount22.0%offAcross 4 live offers.
Realized · 7 days17.9%avgRequest-weighted average.
Requests · 24h1364 offers from 4 sellers.
Current offers
4 of 21 offers
Availability
Providers
ProviderDiscountPriceLatencyUptimeCacheSold
Z.ai
30%
$0.26 in
$0.87 out
1.2s
52.8%
7.0%
-
Z.ai
30%
$0.26 in
$0.88 out
1.2s
52.8%
7.0%
$0.143
OpenRouter
14%
$0.32 in
$1.07 out
-
-
-
-
OpenRouter
1%
$0.37 in
$1.24 out
-
-
-
-
Total
Cumulative offers
Sold
$0.143

Discount trend

Realized · 7 days
50.0%
Best, twice dailyMedian 22.0%

Recent fills

15:5829 tokensZ.ai direct32.0%
15:39142 tokensZ.ai direct29.8%
15:2829 tokensZ.ai direct32.0%
14:5729 tokensZ.ai direct32.0%
14:551,561 tokensZ.ai direct30.2%
14:551,561 tokensZ.ai direct30.1%
14:421,294 tokensZ.ai direct30.0%
14:39144 tokensZ.ai direct30.1%
14:381,136 tokensZ.ai direct30.0%
14:351,391 tokensZ.ai direct30.0%
14:30873 tokensZ.ai direct29.9%
14:27771 tokensZ.ai direct29.9%
14:2329 tokensZ.ai direct32.0%
14:231,391 tokensZ.ai direct30.0%
13:5829 tokensZ.ai direct32.0%
13:39146 tokensZ.ai direct30.6%
13:1829 tokensZ.ai direct32.0%
12:5729 tokensZ.ai direct32.0%
12:551,560 tokensZ.ai direct29.7%
12:551,560 tokensZ.ai direct29.9%
Times in UTCSettled on Base in USDC.

Performance by provider route · 24h

Measured on Surplus traffic
Z.ai direct100% of traffic
52.8% success
p50 1.24 s · p95 7.49 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
  • top_kintegerTop-k 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
  • reasoning_effortstringHow hard to think, as a string such as "high"
  • reasoningobjectReasoning options as an object, such as {"effort": "high"}
  • include_reasoningbooleanStripped before the request reaches the provider
Context window 1M tokens · Max output 131K 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.3-flashx-legal",
    messages=[{"role": "user",
               "content": "Hello!"}]
)

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

Related models