GLM 5.3 API
Updated
GLM 5.3 runs on BroadNet Inference as broadnet/glm-5.3 through the OpenAI-compatible https://inference.broadnet.ai/v1. It costs $0.78 input, $0.173 cached input and $3.46 output per 1M tokens, with a 1,048,576-token context. It needs a qualifying top-up (not the starting credit), and inference content is not retained.
At a glance
- Text
- Tool calling
- Reasoning
- Structured output
- 1,048,576-token context
- Tool calling and structured output
- Reasoning model
- Text input
| Model ID | broadnet/glm-5.3 |
|---|---|
| Endpoint | /v1/chat/completions |
| Supported inputs | text |
| Context | 1,048,576 tokens, prompt and answer together |
| Input | $0.78 per 1M tokens |
| Cached input | $0.173 per 1M tokens (reported cache hits only) |
| Output | $3.46 per 1M tokens |
| Pay-as-you-go limits | 30 requests a minute, 4 in flight per key |
| Access | Top-up required: opens after a qualifying top-up; the starting credit does not cover it |
Prices on this page are from BroadNet's price feed snapshot dated , not checked live here. See official pricing for current rates.
official pricingReport a wrong price or number (email to info@broadnet.ai, with this page's link filled in).
Published benchmark results
BroadNet did not run these benchmarks; results are as published by the Z.ai model card and Epoch AI and may use different settings. BroadRouter is BroadNet's site. They refer to the published model zai-org/GLM-5.3; not measured on BroadNet's serving.
| Benchmark | Result | Setting or note | Source |
|---|---|---|---|
| Terminal Bench 2.1 | 88.2 | Default reasoning_effort max, per the card; Claude Code harness | Z.ai model card, checked 2026-11-16 |
| DeepSWE (v1.1) | 66.9 | Default reasoning_effort max, per the card; mini-swe-agent harness | Z.ai model card, checked 2026-11-16 |
| HLE w/ Tools | 62.5 | Default reasoning_effort max, per the card | Z.ai model card, checked 2026-11-16 |
| Toolathlon Verified | 73.0 | Pass@1 averaged over 3 runs | Z.ai model card, checked 2026-11-16 |
| CyberGym | 84.5 | Max reasoning effort, Claude Code harness | Z.ai model card, checked 2026-11-16 |
| GPQA Diamond | 0.909 | Max reasoning setting; Epoch run glm-5.3_max, mean score on a 0 to 1 scale | Epoch AI, checked 2026-11-16 |
| SimpleQA Verified | 0.41 | Max reasoning setting; Epoch run glm-5.3_max, mean score on a 0 to 1 scale | Epoch AI, checked 2026-11-16 |
| OTIS Mock AIME 2024-2025 | 0.911 | Max reasoning setting; Epoch run glm-5.3_max, mean score on a 0 to 1 scale | Epoch AI, checked 2026-11-16 |
Epoch AI rows: Epoch AI, Capabilities & benchmarking, licensed CC BY 4.0, shown as the mean score on a 0 to 1 scale, rounded to three decimals (hover a value for the exact figure in Epoch's data file).
Side by side: GLM 5.3 vs DeepSeek V4.1 Flash, GLM 5.3 vs Qwen3.8 27B and GLM 5.3 vs BroadNet Gemma 4 VL 26B, with prices, context and workload costs. GLM 5.3 is also sold by 24 other providers, from $0.5625 input and $2.50 output per 1M tokens on their own pricing pages: GLM 5.3 API pricing by provider. The same text is a different number of tokens on each model: see how GLM 5.3's tokenizer compares on Arabic, English and code in the tokenizer efficiency dataset.
Call it in Python
Install the OpenAI SDK with pip install openai, export BROADNET_API_KEY, then run:
from openai import OpenAI
import os
client = OpenAI(base_url="https://inference.broadnet.ai/v1", api_key=os.environ["BROADNET_API_KEY"])
response = client.chat.completions.create(
model="broadnet/glm-5.3",
max_tokens=2000, # reasoning counts toward max_tokens: leave room
messages=[{"role": "user", "content": "Write a SQL query for monthly active users."}],
)
print(response.choices[0].message.content)Or with curl
curl https://inference.broadnet.ai/v1/chat/completions \
-H "Authorization: Bearer $BROADNET_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"broadnet/glm-5.3","messages":[{"role":"user","content":"Reply with one short sentence."}]}'GLM 5.3 reasons before it answers. The reasoning counts toward max_tokens and is reported as usage.completion_tokens_details.reasoning_tokens, inside the completion (output) token count, so budget for it as output. Leave 1,000 tokens or more, or set reasoning_effort to low, or the answer can come back empty. Why answers come back empty.
Guides for GLM 5.3
- Use the OpenAI Python SDK with BroadNet Inference
- Use the OpenAI Node.js SDK with BroadNet Inference
- First request to BroadNet Inference with curl
- Stream chat completions and handle dropped connections
- Why a reasoning model returns an empty answer
- Use LangChain with BroadNet Inference
- Use Cline with BroadNet Inference (OpenAI Compatible provider)
- Use Roo Code with BroadNet Inference (OpenAI Compatible)
- Use Continue with BroadNet Inference (config.yaml and apiBase)
- Add BroadNet Inference to opencode as a custom provider
- Connect Open WebUI to BroadNet Inference
- Add BroadNet Inference to LibreChat as a custom endpoint
- Use BroadNet Inference in n8n (OpenAI credential, Base URL)
- Use the Vercel AI SDK with BroadNet Inference
- Route LiteLLM to BroadNet Inference (SDK and proxy)
- Run the OpenAI Agents SDK on BroadNet Inference
- Use Zed with BroadNet Inference as an OpenAI-compatible provider
- Use Kilo Code with BroadNet Inference (OpenAI Compatible provider)
- Add BroadNet Inference to goose as a custom provider
- Use Pydantic AI with BroadNet Inference (OpenAICompatibleProvider)
- Use CrewAI with BroadNet Inference as a custom OpenAI endpoint
- Use LlamaIndex with BroadNet Inference through OpenAILike
- Add BroadNet Inference to Dify with the OpenAI-API-compatible plugin
- Use Jan with BroadNet Inference as a custom OpenAI-compatible provider
- Connect SillyTavern to BroadNet Inference (Custom OpenAI-compatible)
- Use Spring AI with BroadNet Inference (OpenAI base-url)
- Call BroadNet Inference from Go with the openai-go SDK
- Build LangGraph agents on BroadNet Inference
- Use Haystack pipelines and agents with BroadNet Inference
- Use Semantic Kernel with BroadNet Inference
- Use Mastra agents with BroadNet Inference
- Get structured output with Instructor on BroadNet Inference
- Use DSPy with BroadNet Inference (set model_type="chat")
- Evaluate BroadNet models with promptfoo
- Run smolagents on BroadNet Inference with OpenAIModel
- Connect Flowise to BroadNet Inference (OpenAI Custom Model)
- Connect Langflow to BroadNet Inference
Use GLM 5.3 in the console
The BroadNet console on inference.broadnet.ai manages accounts and keys. It does not receive your choice from this page, so:
- Sign in or create an account.
- Add a qualifying top-up (the starting credit does not cover this model), then create a pay-as-you-go key.
- Send this model ID as
modelto/v1/chat/completions:broadnet/glm-5.3
Open the BroadNet consoleEstimate the costRead the API reference
Compare GLM 5.3
Questions
What is the model ID for GLM 5.3?
Pass broadnet/glm-5.3 as model to /v1/chat/completions. The base URL is https://inference.broadnet.ai/v1.
How much does GLM 5.3 cost?
$0.78 input, $0.173 cached input and $3.46 output per 1M tokens, from your account balance.
What is the context window of GLM 5.3?
1,048,576 tokens per request, prompt and answer together.
Can I use GLM 5.3 without a top-up?
No. GLM 5.3 opens after a qualifying top-up. The starting credit covers BroadNet Gemma 4 VL 26B, BroadNet Transcribe Arabic, BroadNet Transcribe and Gemma hourly keys.
How does GLM 5.3 score on benchmarks?
As published, the Z.ai model card reports 88.2 on Terminal Bench 2.1 and 66.9 on DeepSWE (v1.1); Epoch AI measured 0.909 on GPQA Diamond in its own run, as a mean score on a 0 to 1 scale (checked 2026-11-16). BroadNet did not run these benchmarks, and sources may use different settings, so the figures are not directly comparable. Every published result we found, with its setting and source.
Is my data stored?
Inference content is not retained: prompts, images and answers are processed for the request only. Necessary account, billing and security metadata, such as timings, token counts and cost, is retained as described in BroadNet's privacy statement. Read how.