Skip to main content

Z.ai: GLM 5.3 FlashX Legal

No live offers
Z.ai · glm-5.3-flashx-legal · 1M contextBenchmark price · $0.37 input / $1.25 output per 1M tokens
Use this model
Best discount nowNone liveNo seller has capacity.
Median discountNone liveNo live offers to compare.
Realized · 7 days20.2%avgFrom 12 requests this week.
Requests · 24h120 offers.
No live offers right now.Sellers list this model when they have spare capacity. Until one does, requests for it can't be routed.
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