GLM-5.3

Z.AI's top model for coding agents and security research

Z.AI trained GLM-5.3 to write and fix code over long, multi-step tasks, and to find software vulnerabilities. GLM-5.3 reads text only, unlike its multimodal sibling GLM-5.3 Flash.

As of November 2026, Artificial Analysis ranks GLM-5.3 fourth for intelligence among open-weight models of its size, but the most expensive to run per task. GLM-5.3 Flash scores close behind for about a ninth of the cost.

What it’s good for

Long coding jobs

Give GLM-5.3 large, multi-step coding work, like a refactor across a codebase or a long debugging session, where getting it right matters more than speed.

Security research

GLM-5.3 reviews code for vulnerabilities and helps analyse how they could be exploited, work that many models are trained to avoid.

Tool-heavy workflows

GLM-5.3 runs multi-step workflows across tools, like updating records, filing tickets and checking the results, over many turns.

Pricing

ModelInput / 1MCached / 1MOutput / 1MContextMax output
GLM-5.3$1.40$0.26$4.401M131K

Getting started

GLM-5.3 thinks at max effort by default. Set reasoning_effort to low or high for faster, cheaper answers.

from openai import OpenAI
import os

client = OpenAI(
    base_url="https://api.gradiated.com",
    api_key=os.environ["GRADIATED_API_KEY"],
)

response = client.chat.completions.create(
    model="z-ai/glm-5.3",
    messages=[{"role": "user", "content": "Summarize this document."}],
    reasoning_effort="high",
)