GLM-5.3 Explained: What Z.AI's New Model Gets Right

GLM-5.3's pricing, context window, and output limits compared against Gemini 3.7 Flash and Qwen3.8 Max, with real numbers for picking a model to route to.

Carlo Zuercher
Carlo Zuercher
Staff Engineer, Platform
19 August 20261 min read

If you're choosing between GLM-5.3, Gemini 3.7 Flash, and Qwen3.8 Max this week, here's what actually differs: price per token, how much context each one holds onto, and whether the weights are yours to keep. Those three questions decide which model sits behind your API calls, not the launch-day benchmark charts.

This isn't a launch recap. Z.AI shipped GLM-5.3 on August 14, 2026, which puts it several days past the point where it counts as news. Gemini 3.7 Flash and Qwen3.8 Max landed within the same two-week window. All three have had enough time for real pricing pages, independent benchmark runs, and (in two of three cases) actual weights to show up. This is a comparison for someone deciding where to route traffic, not a rewrite of an announcement.

What GLM-5.3 actually is

GLM-5.3 runs on the same base model as GLM-5.2. Z.AI's own documentation is explicit about this: every improvement in 5.3 comes from post-training, not a larger or retrained base. The model supports a 1 million token context window and a maximum output length of 128,000 tokens, always runs with reasoning enabled, and offers three reasoning effort levels: low, high, and max. It currently takes text input only, no images or audio.

Z.AI is positioning it as a coding and agentic model first. The company reports a 50 percent gain over GLM-5.2 on its internal Z.ai Code Bench, plus state-of-the-art results among open-source models on Terminal-Bench 3.0 and Agents' Last Exam (CLI). It also claims the best score to date on CyberGym, a vulnerability-discovery benchmark, with exploitation scores more than double GLM-5.2's. That cybersecurity angle is a real part of the pitch, not a side note.

One thing GLM-5.3 does not have yet: open weights. GLM-5.2 landed on Hugging Face under an MIT license within days of its own launch. GLM-5.3's weights are not on Hugging Face as of this writing and Z.AI has said they're expected roughly two weeks after launch, once a safety evaluation is complete. If you're deciding based on preview status versus a fully general-availability release, GLM-5.3's API access is live and billable now, but the self-hostable version is still pending.

The comparison table

Numbers below come from each vendor's own pricing and model documentation, checked this week. Where a figure only shows up in third-party tracking rather than a vendor's primary page, it's noted separately below the table.

Model

Vendor / released

Context window

Max output

Input $ / 1M tokens

Output $ / 1M tokens

Open weights

GLM-5.3

Z.AI, Aug 14, 2026

1,000,000 tokens

128,000 tokens

$1.40 ($0.26 cached)

$4.40

Not yet; expected ~2 weeks post-launch

Gemini 3.7 Flash

Google, Aug 13, 2026

1,048,576 tokens

65,536 tokens

$0.75 (thru Dec 31, 2026), then $1.50

$3.75 (thru Dec 31, 2026), then $7.50

No, closed weights

Qwen3.8-Max

Alibaba, Aug 3, 2026

~991,000 tokens (983,000 with thinking on)

131,000 tokens

$2.00 (third-party reported)

$6.00 (third-party reported)

Partial: 27B variant is Apache 2.0; 2.4T Max checkpoint is a custom license

GLM-5.3's pricing isn't in Z.AI's launch post itself. It shows up in Z.AI's developer pricing documentation, where it matches GLM-5.2's rate exactly: $1.40 per million input tokens, $0.26 for cached input, $4.40 per million output tokens. Qwen3.8-Max's $2 / $6 figures are consistently reported across multiple independent trackers (OpenRouter, DataCamp, CloudPrice) but weren't listed on Alibaba Cloud's own Model Studio pricing page at the time of this check, so treat that pair as well-corroborated rather than vendor-confirmed.

GLM-5.3 vs Gemini 3.7 Flash

On paper Gemini 3.7 Flash is cheaper: $0.75 input and $3.75 output against GLM-5.3's $1.40 and $4.40. That gap closes on January 1, 2027, when Google's introductory pricing expires and Gemini jumps to $1.50 and $7.50, roughly matching or exceeding GLM-5.3's flat rate. If you're budgeting past the end of the year, don't anchor on the promo price.

The output ceiling matters more than most people notice. GLM-5.3 caps at 128,000 output tokens, Gemini 3.7 Flash caps at 65,536. For a single large diff, a long generated report, or a big batch of structured output in one response, GLM-5.3 has twice the headroom. For chat-style interactions where output is naturally short, the difference won't show up.

Gemini 3.7 Flash is multimodal (text, image, audio, video); GLM-5.3 is text only right now. If your pipeline needs to read a screenshot or a PDF page as an image, Gemini 3.7 Flash is the only one of these two that does that natively. Reasoning controls differ too: Gemini offers low, medium, and high thinking levels, GLM-5.3 offers low, high, and max, and always runs with reasoning on, which you can't fully disable even for latency-sensitive calls.

GLM-5.3 vs Qwen3.8 Max

Qwen3.8-Max is the one of the three that actually shipped open weights on schedule. A 27B variant went up under Apache 2.0, and a 2.4T-parameter Max-class checkpoint followed under a custom license, both within the same week as the API launch. That's a genuine advantage if self-hosting or fine-tuning is part of your plan: Qwen3.8-Max's open-weight release is available today, while GLM-5.3's weights are still a promise with a rough date attached.

On price, GLM-5.3 is meaningfully cheaper: $1.40/$4.40 versus Qwen's roughly $2/$6 per million tokens. Context windows land in the same neighborhood, GLM-5.3's clean 1M against Qwen's ~991K (983K with thinking mode on), and output ceilings are close too, 128,000 versus 131,000. Neither model has a real advantage there.

Benchmark claims don't line up cleanly enough to call a winner. Qwen3.8-Max's headline number is 86.1 on OSWorld-Verified, a computer-use benchmark. GLM-5.3's headline numbers are on Terminal-Bench 3.0, CyberGym, and Z.AI's own Code Bench. Different test suites measuring different skills, which is itself the honest answer: if your workload is computer-use agents, look at OSWorld results directly; if it's coding and terminal tasks, GLM-5.3's numbers are the more relevant ones.

Which one to route to

  • Need open weights today, not in two weeks: Qwen3.8-Max is the only one of the three with downloadable weights right now.

  • Need the cheapest per-token rate with a price that won't jump on you in January: GLM-5.3's flat $1.40/$4.40 beats Gemini's post-promo rate and undercuts Qwen's reported pricing.

  • Need long single-response output, over 65K tokens in one call: GLM-5.3's 128,000-token ceiling clears Gemini 3.7 Flash's 65,536 by a wide margin.

  • Need multimodal input, images or video in the same call: Gemini 3.7 Flash is the only one of the three that handles that natively today.

  • Deciding whether self-hosting is worth the operational cost at all: that's a broader question than any single model release, and worth working through against the open-weight versus closed model trade-offs that apply regardless of which specific model you pick.

None of these are wrong choices. They're optimized for different constraints, and the constraint that matters most to your project, cost ceiling, output length, multimodal input, or weight ownership, should pick the model, not the other way around.

Where this data is thin

GLM-5.3's parameter count is widely reported as a 743B total model with roughly 40B active parameters per token, matching GLM-5.2's mixture-of-experts architecture. Z.AI's own documentation doesn't state that figure directly, it only says GLM-5.3 "uses the same base model as GLM-5.2." Treat the specific parameter numbers as well-sourced secondary reporting, not a vendor-confirmed spec. Qwen3.8-Max's per-token pricing has the same caveat: it's consistent across independent trackers but wasn't showing on Alibaba Cloud's own Model Studio pricing page as of this check. Both gaps are worth a second look before you commit budget at scale.

If you're tracking model releases as a habit rather than a one-off decision, that's basically the job description behind keeping up with AI news without drowning in launch posts: most of the value is in the comparison you build after the noise settles, not the announcement itself.

FAQ

Is GLM-5.3 open weight?

Not yet. Z.AI says GLM-5.3's weights are expected roughly two weeks after the August 14, 2026 launch, following a safety evaluation. GLM-5.2's weights are open under an MIT license on Hugging Face, but as of this writing GLM-5.3 isn't there.

How much does GLM-5.3 cost per token?

Z.AI's developer pricing documentation lists GLM-5.3 at $1.40 per million input tokens, $0.26 per million cached input tokens, and $4.40 per million output tokens, the same rate as GLM-5.2. It's also available through Z.AI's GLM Coding Plan subscription tiers rather than pure API billing.

Is GLM-5.3 better than Gemini 3.7 Flash for coding?

GLM-5.3 reports a 50 percent gain over GLM-5.2 on Z.AI's own Code Bench and leads open-source models on Terminal-Bench 3.0. Gemini 3.7 Flash markets itself as Google's coding-and-agents workhorse with a lower promotional price through 2026. Neither vendor publishes results on the other's benchmark suite, so a direct head-to-head number doesn't exist yet; test both against your own workload before committing.

What context window does GLM-5.3 support?

1 million tokens of context with a maximum output of 128,000 tokens, per Z.AI's model documentation.

When will GLM-5.3 weights be released?

Z.AI has said roughly two weeks after the August 14, 2026 launch, which points to around late August 2026, pending safety review. No exact date or license has been confirmed as of this writing.

How did this land?

About the author

Carlo Zuercher
Carlo Zuercher

Staff Engineer, Platform

Carlo works on the platform that turns prompts into running apps. He writes the engineering deep dives and the changelog notes worth reading.

Share

Get the next post in your inbox

One email a month. Product updates, engineering posts, and the best of Built with Swarmz.

I agree to receive emails about AI building tips and Swarmz product news. Unsubscribe any time.