Back to models

GLM-5.3

z.ai/glm-5.3

The best tool-caller we carry, at a STANDARD price

GLM-5.3 is Z.ai's reasoning model for software engineering and long-horizon agent work. It scores higher on tool use than any other model in the catalogue, including rows costing ten times more, over a 1M context. Text only — if your request carries an image, use GLM-5.3 Flash or Gemini.

1.98 / 6.12cr / 1K2.2 / 6.8-10%

Offer ends December 31, 2027

Context 1M · Max output 131.1K

Prompt cache read: 0.418 cr / 1,000 tokens

In your currency, for 1 million input tokens: ≈ $1.10 (rate of Dec 1, 2026, operator fees not included).

Other currencies

660 F CFA · 2,553 CDF · 13 GHS · 143 KES · 1,914 MWK · 70 MZN · 1,634 RWF · 25 SLE · 2,923 TZS · 4,546 UGX · 23 ZMW

Capabilities
  • Tools
  • JSON mode
  • Streaming
  • Prompt caching

Last updated Nov 30, 2026

Read the full description

GLM-5.3 is Z.ai's reasoning model for software engineering and long-horizon agent work. It scores higher on tool use than any other model in the catalogue, including rows costing ten times more, over a 1M context. Text only — if your request carries an image, use GLM-5.3 Flash or Gemini.

What this model does well

  • Best-in-catalogue tool calling

    The highest tool-use score in the catalogue on published evaluations

  • 1M token context

    A whole repository or a long investigation in one call

  • Long-horizon agents

    Built for multi-step agent runs that have to recover from their own errors

  • Tools + structured output

    Function calling and JSON output, supported on every endpoint we route to

  • Context caching

    Repeated context is cached upstream, so long conversations stay cheap

Example prompts

  • Here is a failing integration test and the six files it touches. Work out the cause, then give me the patch and the test that proves it.

  • You have a shell, a repo and a broken build. Diagnose it step by step and fix it.

Good to know

What to know before you start: limits, settings and what we keep.
  • Text only. No image or document input — unlike GLM-5.3 Flash, which is multimodal.
  • Reasoning cannot be switched off. Z.ai documents `thinking.type: enabled` as the only supported value; `reasoning_effort` accepts low, high or max and defaults to max.
  • Max output is 128K. Some upstream hosts advertise 943K, but Z.ai's own specification says 128K and Tchavi routes to hosts that honour the documented figure.
We never save what you send to a model or what it returns. We log only your settings (like size or voice) and how much was used, for billing. Files you attach in the playground are deleted after 24 hours.

Frequently asked questions

How much does GLM-5.3 cost?

For 1,000 words sent and 1,000 words received, expect 10.53 credits (about 3.5 FCFA). Usage is counted in tokens, small pieces of words (in English, 1,000 words make about 1,300 tokens), so the exact price follows the length of your messages.

How much text does GLM-5.3 accept?

GLM-5.3 can read up to 1,048,576 tokens at once, about 810,000 words in English. That is its context window: how much text it keeps in mind during a conversation. A reply can run up to 131,072 tokens.

What can GLM-5.3 do?

GLM-5.3 works best for these jobs: agents that call many tools over many steps, debugging across a whole repository, and code review with the full project in context. On the technical side, it can show its reply as it is written (streaming), trigger your functions (tool calling), and answer in structured JSON (JSON mode).

Which model could I use instead of GLM-5.3?

If GLM-5.3 does not fit, you could try GLM 5.3 Flash, 0.862 credits (under 1 FCFA); Kimi K3, 42.653 credits (about 14 FCFA); DeepSeek V4 Pro, 9.048 credits (about 3 FCFA). Prices are for 1,000 words in and 1,000 words out.

See the 2 other questions
Can I pay with mobile money, without a bank card?

Yes. Top up your Tchavi account with Orange Money, MTN MoMo, M-Pesa or another mobile money operator. No bank card is needed. Credits land as soon as the payment is confirmed and are deducted as you use them.

Is the API compatible with OpenAI's?

Yes. Keep your current OpenAI SDK, just change the base URL to Tchavi's (shown in the API tab) and use your Tchavi key. The rest of your code stays the same.

API

import Tchavi from '@tchavi/sdk';

const client = new Tchavi({ apiKey: 'API_KEY' });

const response = await client.chat.completions.create({
  model: 'glm-5.3',
  messages: [
  {
    "role": "user",
    "content": "Hello!"
  }
],
});

console.log(response.choices[0].message.content);
console.log('Credits used:', response.tchavi.credits_used);

API parameters

Every parameter this model accepts on the API. Check the SDK for full typings.

modelRequired
string

ID of the chat model (e.g. `glm-5.3`).

messagesRequired
Array<{ role, content }>

Conversation messages. Each item has a `role` (system/user/assistant) and a `content` that's either a plain string or an array of content blocks (`text`, `image_url`, `document_url`).

temperature
number
Default: 1

Sampling temperature between 0 and 2. Higher values = more random.

max_tokens
integer

Maximum number of tokens to generate in the response.

max_completion_tokens
integer

Alias for `max_tokens`. Either field works; if both are sent, `max_completion_tokens` wins.

stream
boolean
Default: false

If true, partial message deltas are streamed as Server-Sent Events.

tools
Array<{ type, function }>

Function-calling toolbox. Pass an array of `{ type: "function", function: { name, description, parameters } }`. Returned tool calls land in `choices[].message.tool_calls`. Only models with `supportsTools: true` accept this.

tool_choice
"auto" | "none" | { type, function }

How the model picks among tools: `"auto"` (default), `"none"` to force a plain text reply, or `{ type: "function", function: { name } }` to force a specific tool. Only with `supportsTools: true`.

response_format
{ type: "json_object" | "text" }

Constrain the output. Pass `{ type: "json_object" }` to force valid JSON (the model still needs a JSON instruction in your prompt). Only models with `supportsJsonMode: true` honour this.

Pricing

-10%Limited offer: the discount applies to every price for this model until December 31, 2027.
per 1,000 tokens
1.98 credits
Input 2.2 · Output 6.8 cr/1K

How billing works

  • Billed per token used, down to a thousandth of a credit.
  • A typical message (500 in, 150 out) costs about —, or 1.908 credits.
  • Prompt cache reads: — per 1K tokens (0.377 credits).
Real-world scenarios
Per day
Per week
Per month

Estimated over 30 days, for a typical message: ~500 input + ~150 output tokens, billed to the thousandth of a credit.

A 10 000 F CFA top-up gives you about ~15 724 questions. Pay with Orange Money, MTN MoMo or M-Pesa, no Visa card needed.

Ready to use GLM-5.3?

Bonus credits on your first top-up · No card to sign up