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 (batch)

z-ai/glm-5.3:batch
TextInput: textToolsReasoning1MAdded Aug 18, 2026

Try Z.ai: GLM 5.3 (batch) now

Runs on your balance at the prices above. New accounts start with free usage.

One API. Every model.

5 of 5 free messages left today. A free account adds free usage and an API key.Create free accountSign in

Session cost $0.00

Z.ai: GLM 5.3 (batch) at a glance

  • Input price is close to 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.00508.

About Z.ai: GLM 5.3 (batch)

GLM 5.3 (batch) is a text model from Z.ai, listed on api14 under the model id z-ai/glm-5.3:batch. Z.ai describes it as a large-scale reasoning model built for complex software engineering and long-horizon agent tasks. The batch variant is the version you call through this endpoint, and it keeps the same text-only input and output profile as the base model.

The model accepts text and returns text, so it fits text generation, analysis and transformation work rather than image or audio tasks. Its context window is 1,048,576 tokens, which is large enough to hold very long documents, extended conversation histories or sizeable codebases in a single request. The maximum output is 131,072 tokens, so long answers, multi-file code changes and extended reasoning traces are possible within one call. Reasoning behaviour is exposed through parameters such as reasoning, reasoning_effort and include_reasoning, which lets you control whether reasoning content is returned alongside the final answer.

Those capabilities point to a few practical uses. Software engineering tasks are a natural fit: reading across many files, tracing dependencies and producing patches or refactors that span a large codebase. Long-horizon agent work is another, where the model plans over many steps and calls tools as it goes. Because the context window is large, you can also use it for document-heavy work such as summarising or querying long reports, contracts or transcripts without chunking them first. Structured extraction and classification are supported too, since the model accepts response_format and structured_outputs.

Calling it through api14 works the same way as any OpenAI-compatible chat completion: send your request to the chat completions endpoint with the model field set to z-ai/glm-5.3:batch. The supported parameters are frequency_penalty, include_reasoning, logit_bias, max_tokens, min_p, presence_penalty, reasoning, reasoning_effort, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_k and top_p. Tool use is available through tools and tool_choice, and sampling can be tuned with temperature, top_p, top_k, min_p and the penalty parameters. Use max_tokens to cap output and seed when you need repeatable sampling.

Two limits are worth noting before you commit. Input and output are text only, so if your task depends on images, audio or other modalities, a different model will be needed. The batch designation also means this is the batch-oriented entry rather than an interactive one, so check that its latency profile suits your application. For workloads that fit text in and text out, though, the combination of a 1M-token context and a 131k-token output ceiling covers a wide range of long-context and agentic jobs.

How to call the Z.ai: GLM 5.3 (batch) API

  1. Create an API key in your dashboard.
  2. Install the official openai SDK for your language.
  3. Set baseURL to https://api14.com/api/v1 and model to "z-ai/glm-5.3:batch".
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:batch",
  "messages": [
    {
      "role": "user",
      "content": "Explain vector databases in two sentences."
    }
  ]
});
console.log(result.choices[0].message.content);

Supported parameters

frequency_penaltyinclude_reasoninglogit_biasmax_tokensmin_ppresence_penaltyreasoningreasoning_effortrepetition_penaltyresponse_formatseedstopstructured_outputstemperaturetool_choicetoolstop_ktop_p

Specifications

Context length
1,048,576
Max output
131,072
Input
text
Output
text

Requests on api14 · last 7 days

10-1610-1710-1810-1910-2010-2110-22

Z.ai: GLM 5.3 (batch): frequently asked questions

How much does the Z.ai: GLM 5.3 (batch) API cost?
Z.ai: GLM 5.3 (batch) costs Input $1.58 / 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 (batch)?
Z.ai: GLM 5.3 (batch) reads up to 1,048,576 tokens per request: prompt, history and documents together. It writes up to 131,072 output tokens per response.
What can Z.ai: GLM 5.3 (batch) do?
Z.ai: GLM 5.3 (batch) accepts text and returns text. It supports tool calling, structured JSON output, reasoning effort control.
How do I call Z.ai: GLM 5.3 (batch) from my code?
Point any OpenAI SDK at https://api14.com/api/v1 and set the model to "z-ai/glm-5.3:batch". No other code changes. Copy a ready example from the code panel on this page.
What are alternatives to Z.ai: GLM 5.3 (batch)?
Comparable Text models at a similar price: Qwen: Qwen3.5-27B, Mistral: Devstral 2 2512, Mistral: Mistral Medium 3.1. Each runs through the same API key, so switching is one string.

Z.ai: GLM 5.3 (batch) community

New topic

This community has no topics yet. Open the first one about Z.ai: GLM 5.3 (batch).