We use cookies. Cookies and browser storage keep you signed in and remember your preferences. With your permission we also measure how the site is used. You can any time. See our cookie policy.
Z.ai: GLM 5.3
z-ai/glm-5.3Try Z.ai: GLM 5.3 now
Runs on your balance at the prices above. New accounts start with free usage.
One API. Every model.
Session cost $0.00
Settings
Advanced parameters
Z.ai: GLM 5.3 at a glance
- Input price is 56% higher than the median of 434 Text models.
- Context window of 1,048,576 tokens, enough for long documents and multi-turn conversations.
- Supports tool (function) calling for agents and integrations.
- Supports structured JSON output with a schema.
- Supports reasoning effort control.
- A typical request (1,000 input / 500 output tokens) costs about $0.00630.
About Z.ai: GLM 5.3
Z.ai: GLM 5.3 is a large-scale reasoning model from Z.ai. It is a text model, listed under the text category, and it is built for complex software engineering and long-horizon agent tasks. If you are choosing a model for work that involves sustained reasoning rather than short one-off prompts, this is the class of model Z.ai is targeting with GLM 5.3.
The model takes text as input and produces text as output. Its context window is 1,048,576 tokens, and the maximum output is 943,718 tokens. That combination matters for workloads where the input is large and the answer itself is long, such as reading a big repository snapshot or a long document set and then writing an extended response. Reasoning is part of the model's design, and the API exposes controls for it, so you can decide how much reasoning effort you want the model to spend.
The practical use cases follow from those properties. Complex software engineering tasks fit well: working across many files, tracing dependencies, and producing substantial code or explanations. Long-horizon agent tasks also fit, since the model can hold a large working context and keep going across many steps, and it supports tool calling so an agent loop can call functions and use the results. Long document analysis, structured extraction from large inputs, and multi-step reasoning over text are other natural fits.
You call it through api14's OpenAI-compatible API using the model id "z-ai/glm-5.3". Because the interface is OpenAI-compatible, you can use existing OpenAI SDKs and point them at api14. The model supports a wide set of request parameters: frequency_penalty, include_reasoning, logit_bias, logprobs, max_tokens, min_p, parallel_tool_calls, presence_penalty, reasoning, reasoning_effort, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_k, top_logprobs and top_p. Tool use is covered by tools, tool_choice and parallel_tool_calls, and structured outputs are available through response_format and structured_outputs. If you need reproducible sampling, seed is supported, and logprobs plus top_logprobs let you inspect token-level probabilities.
The main thing to weigh is scope. This is a text-only model: it accepts text and returns text, so if your task depends on images, audio or other input modalities, you will need a different model. It is also aimed at reasoning-heavy and agentic work, so for simple, high-volume text transformations a smaller or faster model may be a better fit. Within text workloads, though, the large context window, the large maximum output, the reasoning controls and the tool and structured output support make it a reasonable candidate for software engineering and long-horizon agent tasks.
How to call the Z.ai: GLM 5.3 API
- Create an API key in your dashboard.
- Install the official openai SDK for your language.
- Set baseURL to https://api14.com/api/v1 and model to "z-ai/glm-5.3".
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api14.com/api/v1",
apiKey: process.env.API14_API_KEY,
});
const result = await client.chat.completions.create({
"model": "z-ai/glm-5.3",
"messages": [
{
"role": "user",
"content": "Explain vector databases in two sentences."
}
]
});
console.log(result.choices[0].message.content);
Supported parameters
frequency_penaltyinclude_reasoninglogit_biaslogprobsmax_tokensmin_pparallel_tool_callspresence_penaltyreasoningreasoning_effortrepetition_penaltyresponse_formatseedstopstructured_outputstemperaturetool_choicetoolstop_ktop_logprobstop_pSpecifications
- Context length
- 1,048,576
- Max output
- 262,144
- Input
- text
- Output
- text
Requests on api14 · last 7 days
Z.ai: GLM 5.3: frequently asked questions
- How much does the Z.ai: GLM 5.3 API cost?
- Z.ai: GLM 5.3 costs Input $2.45 / 1M tokens. It is charged from your USD balance only for successful requests; failed requests are free.
- What is the context window of Z.ai: GLM 5.3?
- Z.ai: GLM 5.3 reads up to 1,048,576 tokens per request: prompt, history and documents together. It writes up to 262,144 output tokens per response.
- What can Z.ai: GLM 5.3 do?
- Z.ai: GLM 5.3 accepts text and returns text. It supports tool calling, structured JSON output, reasoning effort control.
- How do I call Z.ai: GLM 5.3 from my code?
- Point any OpenAI SDK at https://api14.com/api/v1 and set the model to "z-ai/glm-5.3". No other code changes. Copy a ready example from the code panel on this page.
- What are alternatives to Z.ai: GLM 5.3?
- Comparable Text models at a similar price: MoonshotAI: Kimi K2 0711, NVIDIA: Nemotron 3 Ultra, Moondream: Moondream 3 Preview. Each runs through the same API key, so switching is one string.
Z.ai: GLM 5.3 community
New topicThis community has no topics yet. Open the first one about Z.ai: GLM 5.3.