GLM-5.3 vs Claude Sonnet 5.5: 255 Runs Across 17 Bench Problems
Published · 6 min read
Sonnet 5.5 and Opus 5.5 passed all 51 runs of a 17-task suite. GLM-5.3 passed 45, Kimi K3 49, DeepSeek V4 Pro 42. The gap sits almost entirely in four hard tasks, where GLM-5.3 took 8 of 12 and Sonnet took 12 of 12. On the other thirteen GLM-5.3 tied Sonnet: 3.7 second median response, 513 output tokens against 507, $1.22 against $1.71 per 1,000 tasks at the test endpoint prices. At Anthropic's list price Sonnet costs $6.84. Run Sonnet where a wrong answer is expensive, GLM-5.3 for extraction, latency and agent loops that need live web search.
In this article
Five models, seventeen tasks, three attempts each, 255 requests in total. Claude Sonnet 5.5 and Claude Opus 5.5 finished every task. GLM-5.3 finished 45 of 51 and matched Sonnet on response time. The suite ran on October 20, 2026. The pass rate is only part of the result. The rest is where GLM-5.3 lost points, how it broke its own output format, and what the run cost.
Everything below comes from one published test run. Nothing here is a rerun on our own hardware, and the FAQ at the end lists what the suite did not cover.
What the 255 runs actually measured
One published test run picked seventeen tasks that a script can grade on its own, then ran each one three times against five models: Kimi K3, GLM-5.3, DeepSeek V4 Pro, Claude Sonnet 5.5 and Claude Opus 5.5. Fifty-one requests per model, 255 across the set, all on October 20, 2026.
The seventeen tasks split into two groups. Thirteen routine ones: six small Python functions, three JSON extraction tasks built from an email, a meeting transcript and a log file, and four short math and logic questions. Four hard ones: a shell-style tokenizer with quoting rules, an order state buried in a chat log that keeps changing its mind, a Josephus-style counting problem needing about forty careful steps, and a count of integers under 100,000 whose digits sum to 20.
Grading was strict: code had to pass fixed unit tests, JSON had to match the expected object exactly, math answers had to match exactly. Every call went through an OpenAI-compatible /v1/chat/completions endpoint with one user message, no system prompt, no temperature, no streaming and max_tokens set to 8,000.
One detail changes how you read every number that follows. Under those default settings the three Chinese models reason first and answer afterwards, and the reasoning tokens are billed as output. The two Claude models answered directly, with extended thinking off. This is default settings against default settings.
Sonnet 5.5 passed 51 of 51
| Measure | Kimi K3 | GLM-5.3 | DeepSeek V4 Pro | Claude Sonnet 5.5 | Claude Opus 5.5 |
|---|---|---|---|---|---|
| Routine tasks passed | 39 / 39 | 37 / 39 | 35 / 39 | 39 / 39 | 39 / 39 |
| Hard tasks passed | 10 / 12 | 8 / 12 | 7 / 12 | 12 / 12 | 12 / 12 |
| Total | 49 / 51 | 45 / 51 | 42 / 51 | 51 / 51 | 51 / 51 |
| Median response time | 26.6 s | 3.7 s | 110.5 s | 3.7 s | 5.2 s |
| Slowest 10 percent of runs | 140 s | 10 s | 370 s | 7.0 s | 9.4 s |
| Average output tokens | 1,312 | 513 | 2,631 | 507 | 580 |
GLM-5.3's median response time matched Sonnet 5.5 to the tenth of a second, and its average answer was 513 output tokens against Sonnet's 507. Kimi K3 was seven times slower at the median. DeepSeek V4 Pro sat at 110 seconds and returned eight empty answers out of 51: it spent the whole token budget on reasoning and stopped before writing anything. Five of those eight hit the 8,000-token ceiling.
Where GLM-5.3 lost the points
The forty-step counting task does most of the separating. Sonnet 5.5 and Opus 5.5 got all six attempts right. Kimi K3 and GLM-5.3 each got one of three, and the two wrong GLM answers were 37 and 13 instead of the right count. DeepSeek V4 Pro got it wrong every time.
On the routine set GLM-5.3 missed two runs out of 39. One treated an empty string as a valid Roman numeral. One refused a legitimate quoted string in the shell tokenizer. Both are small, and both are the kind of edge case a unit test catches and a loose prompt does not.
A third failure shows up in the JSON tasks. One GLM-5.3 run wrote a correct JSON object and then kept going with a paragraph of reasoning after it. If your parser reads the response and trips over trailing content, that run breaks. A strict response format setting, or a check that the body parses as JSON on its own, catches it.
What a thousand tasks cost
The tokens a model thinks with are tokens you pay for. That is where the price card comes in, and where the source of the price matters even more.
| Model | Input / output per 1M at the test endpoint | Cost per 1,000 tasks at the test endpoint | Cost per 1,000 tasks at vendor list price |
|---|---|---|---|
| GLM-5.3 | $0.60 / $2.20 | $1.22 | $2.23 on the SiAPI.ai catalog, $2.47 on the Z.ai list |
| Claude Sonnet 5.5 | $0.50 / $2.50 | $1.71 | $6.84 |
| Claude Opus 5.5 | $1.00 / $5.00 | $3.80 | $15.20 |
| DeepSeek V4 Pro | $0.70 / $2.10 | $5.68 | Not restated here |
| Kimi K3 | $2.55 / $12.75 | $17.31 | Not restated here |
The endpoint that ran the test sold the two Claude models at a quarter of Anthropic's list price. Multiply those two rows by four and the ranking changes: Sonnet moves from second place to fourth, behind both Chinese models.
GLM-5.3's own number depends on whose price card you read. Z.ai lists $1.40 input and $4.40 output per million tokens. The SiAPI.ai catalog lists $1.20 input, $0.50 cached input and $4.00 output. Run the same 513 output tokens through the catalog rate and you get $2.05 per 1,000 tasks. Add the roughly 150 input tokens the test used, and you get about $2.23. Either way it sits well under what Sonnet 5.5 costs at Anthropic's list price.
Two adjustments will move these numbers in your own pipeline. Cached input is billed at a fraction of the input rate, and an agent loop that resends the same context every turn is mostly cache reads. Retry rate does the rest: GLM-5.3's two code misses and one malformed JSON run mean a small amount of rework on top of every thousand tasks.
GLM-5.3 is priced at $1.20 input, $0.50 cached input and $4.00 output per million tokens on the SiAPI.ai catalog, on the same OpenAI-compatible endpoint and the same API key as the rest of the catalog. The cached input rate is what matters for agent loops, where most of the context is re-sent on every turn.
GLM-5.3 reaches live data on its own
GLM-5.3 is a text and JSON endpoint. It does not open a browser for you and there is no hosted code interpreter. It does have three routes to outside information.
The first is a built-in web search tool. Z.ai documents a web_search tool type for ordinary chat requests on GLM-5.3. You add it to the tools array, the API runs the search, hands the results to the model and attaches them to the response in a web_search field, so your interface can turn them into links. The tool takes enable, search_engine, count from 1 to 50, search_recency_filter, content_size, search_prompt, search_query and require_search. Set require_search to true and the model answers from the results instead of from memory, which is the setting you want for prices and release notes. Z.ai bills the tool at $0.01 per call on top of the model's own token cost, and the results add input tokens because they are passed to the model.
The second route puts the same engine behind a plain endpoint you call yourself. POST /paas/v4/web_search returns titles, links, summaries, site names and publication dates with no model in the loop, so you get data and you write the prompt. POST /paas/v4/reader pulls one page back as markdown or plain text, which is what you want for documentation, changelogs and long articles where a search summary is too thin.
The third is function calling, which is where most agent work happens. Tools are declared with a JSON schema, tool_choice lists auto, every tool result has to carry the matching tool_call_id after the assistant message that asked for it, and tool_stream returns the arguments incrementally so you can show progress in the interface. On GLM-5.3 tool_stream is on by default. Reasoning is interleaved, so the model can think between a call and its result.
One flag catches people out. clear_thinking defaults to true on GLM-5.3, which drops the previous turn's reasoning from the context. That shortens the prompt and the bill, and it also removes part of what the model remembers about its own earlier thinking. Switch it to false when a long agent session depends on that continuity.
On the Coding Plan, every tier also includes remote MCP servers for web search, page reading, repository reading and vision. They speak HTTP, so there is nothing to install, and each search or reader call costs 1.2 credits from the plan quota.
Anthropic's side of the comparison works the same way at the top level. Claude ships its own server-side web search tool and a computer use tool, and the Sonnet 5.5 launch table reports Chartography at 61.6 percent with no tools at all, which tells you how much of that model comes from training rather than from a search service. Both vendors put search behind the API rather than behind a script you have to run yourself.
Which one to run
The suite points at a split, not a winner.
| Your task | Run | Because |
|---|---|---|
| Extraction, tagging, routing | GLM-5.3 | All three JSON tasks went 9 for 9 for the Chinese models; cheapest per 1,000 tasks. |
| Latency-sensitive interactive calls | GLM-5.3 | 3.7 second median, identical to Sonnet 5.5, with a 10 second worst-decile ceiling. |
| Long chains of arithmetic or state | Claude Sonnet 5.5 | 12 of 12 on the hard set; GLM-5.3 took 8 of 12. |
| Output you cannot afford to re-check | Claude Sonnet 5.5 | Every wrong answer in the suite was still well formed, which no schema check will catch. |
| Agent loops that need live web data | Either | GLM-5.3 has a server-side web_search tool and Coding Plan MCP servers; Claude has its own. |
A workable setup for most teams is to run GLM-5.3 for the bulk of the traffic and keep Sonnet 5.5 for the tasks where a wrong answer is expensive. The failure modes here make that practical. Every miss in the coding and extraction tasks was a miss a test would have caught: a wrong Roman numeral, a rejected quoted string, a paragraph of trailing text after valid JSON. The counting task is the exception, and it is the one worth watching. There the answer was simply wrong and still well formed, and no amount of output validation finds it.
Before you commit, run the same test on your own work. The harness behind the test is about twenty lines of OpenAI SDK code, the model ID is the only thing that changes, and completion_tokens tells you how much each model thought. Your own task mix will move the numbers more than any vendor benchmark does.
FAQ
Is Claude Sonnet 5.5 better than GLM-5.3?
On this suite, yes: 51 of 51 graded runs against 45 of 51. Almost the whole gap sits in four hard tasks, where GLM-5.3 took 8 of 12 and Sonnet took 12 of 12. On extraction, latency and cost per task GLM-5.3 was equal or better. Seventeen tasks three times each is a small sample, and both sides ran on default settings rather than on their best reasoning settings.
What does GLM-5.3 cost compared with Claude Sonnet 5.5?
At the prices the test endpoint charged, $1.22 per 1,000 tasks against $1.71 for Sonnet 5.5 and $3.80 for Opus 5.5. That endpoint sold the Claude models at a quarter of Anthropic's list price. At Anthropic's own rates Sonnet 5.5 costs $6.84 per 1,000 tasks and Opus 5.5 $15.20. On the SiAPI.ai catalog GLM-5.3 works out at about $2.23 per 1,000 tasks at the token counts this test used. Reasoning tokens are billed as output, so a model that thinks longer costs more whatever the headline rate.
Can GLM-5.3 search the web and call tools?
Yes. Z.ai documents a built-in web_search tool for chat requests on GLM-5.3, billed at $0.01 per call, plus a standalone web search API and a web reader API for when you want to drive the loop yourself. Function calling follows the OpenAI schema: tool_choice lists auto, tool_stream returns arguments incrementally and every tool result carries the matching tool_call_id. GLM Coding Plan tiers include remote MCP servers for search, page reading, repository reading and vision. On GLM-5.3-Flash the multimodal request accepts function tools only, so there you wrap the search API as a function yourself.
Is the 255-run test conclusive?
No. Seventeen tasks attempted three times each gives 51 runs per model, so one failure moves the pass rate by about two points, and only four tasks were hard. Every prompt was a short single-turn English request. Long context, tool use, coding agents and Chinese prompts were not tested, and latency came from one client on one day. Treat the numbers as a well-built snapshot rather than a verdict.