GLM-5.2’s 62.1 on SWE-bench Pro is the score that NVIDIA’s NGC catalog repeats from Z.ai’s upstream materials, in a listing dated June 30, 2026. Earlier versions of this page set it beside 58.6 for Kimi K2.6 and 55.4 for DeepSeek V4-Pro. The 55.4 was published before DeepSeek’s August 13, 2026 general-availability release of V4-Pro, and K2.6 has since been succeeded by Kimi K3 (July 16, 2026), so the 62.1 vs 58.6 vs 55.4 ranking no longer describes the lineup you would deploy now.
What follows: where each number came from, the three benchmarks on which GLM-5.2 and DeepSeek V4-Pro both publish scores, what Moonshot and DeepSeek have changed since July, weights-memory and decode arithmetic for anyone weighing self-hosting, and a break-even rule that turns a score gap into a price gap.
Don't miss new tech stories on Google
Add Tech Insider once in the Google app and our stories appear in your news suggestions.
Where 62.1, 58.6 and 55.4 come from, and how old each is
NVIDIA’s NGC listing says upstream GLM-5.2 materials report “62.1 on SWE-bench Pro and 81.0 on Terminal-Bench 2.1 Terminus-2”, and gives its own release date for the build as 06/30/2026, with SGLang as the runtime. The 62.1 is therefore a Z.ai figure relayed through NVIDIA’s catalog, and it is no newer than that June 30, 2026 listing. The other two scores come from the July 5, 2026 version of this page, so each of the three has a different vintage.
| Model | SWE-bench Pro | Where the number comes from | Release context | Since then |
|---|---|---|---|---|
| GLM-5.2 | 62.1 | NVIDIA NGC listing, citing upstream GLM-5.2 materials | NGC release 06/30/2026 | Planned to leave Cloudflare on November 20, 2026, per our companion comparison |
| Kimi K2.6 | 58.6 | July 5, 2026 version of this page | K2.6 released April 20, 2026 | Kimi K3 released July 16, 2026 |
| DeepSeek V4-Pro | 55.4 | July 5, 2026 version of this page | V4 Preview April 24, 2026 | General availability August 13, 2026; V4.1 Flash September 10, 2026 |
The ranking’s gaps are 3.5 points between GLM-5.2 and Kimi K2.6 (62.1 minus 58.6) and 6.7 points between GLM-5.2 and DeepSeek V4-Pro (62.1 minus 55.4). The second is the weaker comparison, because the 55.4 was set before DeepSeek’s August 13 release and DeepSeek has since published newer scores, covered in the next section. Moonshot’s own help page lists SWE-Bench Pro among K2.6’s headline benchmarks and says it matches or outperforms GPT-5.4, Claude Opus 4.6 and Gemini 3.1 Pro.
Do not set these three against scores reported on SWE-Bench Pro v2, such as the 89.7% in our report on the Flint coding model.
On the three benchmarks both labs report, DeepSeek V4-Pro leads GLM-5.2 by 5.2 to 16.5 points
DeepSeek’s August 13, 2026 entry for V4-Pro lists “Terminal Bench 2.1: 87.9”, NL2Repo 61.5 and DeepSWE 62.7 in its release notes. NVIDIA’s GLM-5.2 page lists scores on the same three benchmarks, plus ProgramBench 63.7 and a best-reported Terminal-Bench 2.1 of 82.7. Putting them side by side:
| Benchmark | GLM-5.2 | DeepSeek V4-Pro (GA) | DeepSeek lead |
|---|---|---|---|
| Terminal-Bench 2.1 | 81.0 (Terminus-2); 82.7 best reported | 87.9 | +6.9 (+5.2 against 82.7) |
| NL2Repo | 48.9 | 61.5 | +12.6 |
| DeepSWE | 46.2 | 62.7 | +16.5 |
DeepSeek is ahead on all three. The Terminal-Bench 2.1 gap is 6.9 points against GLM’s Terminus-2 score (87.9 minus 81.0) and 5.2 against its best-reported score (87.9 minus 82.7). On NL2Repo it is 12.6 points (61.5 minus 48.9), and on DeepSWE 16.5 points (62.7 minus 46.2), which makes DeepSeek’s DeepSWE score 1.36 times GLM’s.

Treat the comparison as indicative, not controlled. Both sets are self-reported, GLM’s arrive through NVIDIA’s catalog from upstream materials, and the harness behind each number may differ (GLM’s Terminal-Bench figure is labelled Terminus-2). DeepSeek’s later V4.1 Flash reports DeepSWE v1.1, a different version of that benchmark, so those scores are kept out of this table. ProgramBench is left out because only GLM’s 63.7 is listed. The two labs’ own framing fits the pattern: DeepSeek’s April 24, 2026 announcement called V4-Pro open-source state of the art on agentic coding benchmarks.
The 62.1 is a real score, but it speaks to SWE-bench Pro-style issue fixing, and the shared benchmarks for terminal work and whole-repository generation go the other way. Calling GLM-5.2 the best open coding model on the strength of the 62.1 alone no longer holds.
Kimi K2.6 after K3: what Moonshot and its partners actually compared
Moonshot released and open-sourced K2.6 on April 20, 2026. The same page now calls Kimi K3, released July 16, 2026 with 2.8 trillion parameters, Moonshot’s most powerful model, so the 58.6 describes a previous flagship.
What Moonshot published for K2.6 is mostly about agents. Its K2.6 blog says Agent Swarm scales to 300 sub-agents across 4,000 coordinated steps, up from K2.5’s 100 sub-agents and 1,500 steps. In a demo on local Qwen3.5-0.8B inference, K2.6 raised throughput from about 15 to about 193 tokens per second over 12 hours of continuous execution, 4,000+ tool calls and 14 iterations, ending about 20% faster than LM Studio. In an exchange-core matching-engine demo, Moonshot reports a 185% medium throughput gain (0.43 to 1.24 MT/s) and a 133% performance throughput gain (1.23 to 2.86 MT/s). The rounded medium endpoints work out to 188%, so quote 185% as Moonshot’s own figure; the 133% checks out.
The partner claims compare K2.6 with K2.5, not with GLM-5.2 or DeepSeek. Vercel reported more than 50% improvement on its Next.js benchmark, and CodeBuddy’s internal evaluation found 12% better code generation accuracy and 18% better long-context stability, with a 96.60% tool invocation success rate. All of these are vendor or partner figures. They show K2.6 improved on K2.5, and none of them ranks it against the other two models. If your agent loop already runs on K2.6, there is no benchmark here that forces a move. For a new build, evaluate K3 first.
DeepSeek since July: GA, V4.1 Flash, the 1017 build and the config changes they force
| Date | Change | What to check in your setup |
|---|---|---|
| April 24, 2026 | V4 Preview: V4-Pro at 1.6T total and 49B active parameters, V4-Flash at 284B total and 13B active, 1M context by default | Both models take 1M-token prompts |
| July 24, 2026 | Scheduled discontinuation of deepseek-chat and deepseek-reasoner, which pointed to deepseek-v4-flash in the interim | Replace both names with a current model name from DeepSeek’s docs |
| August 13, 2026 | V4-Pro general availability; thinking effort levels low, high and max; native OpenAI Responses API format; scores of 87.9, 61.5 and 62.7 on Terminal Bench 2.1, NL2Repo and DeepSWE | Pin one effort level per run when you compare models |
| August 16, 2026 | Peak and off-peak pricing, with off-peak at half the peak price | Batch work can be scheduled into off-peak hours |
| September 10, 2026 | V4.1 Flash: smallest model in the new architecture family, native multimodal visual understanding, Terminal-Bench 2.1 at 90.6 and DeepSWE v1.1 at 74.2 | A candidate to test against V4-Pro |
| September 14, 2026 | DeepSeek keeps serving V4 Pro through the API after this date, billing unchanged | No forced migration |
| October 17, 2026 | V4.1-Flash-1017, with DeepSWE v1.1 at 77.0; API calling and pricing unchanged | Same integration, newer build |
| November 13, 2026 | Application APIs on deepseek-flash (web search, file input, URL reading) in the Messages, Responses and Chat Completions APIs | New tool surface for agents |
The first thing to fix is any code still calling deepseek-chat or deepseek-reasoner. The second is billing: with off-peak at half the peak price, the hour a job runs changes its cost. DeepSeek’s API release notes carry every entry in the table.
V4.1 Flash’s 90.6 on Terminal-Bench 2.1 is above V4-Pro’s 87.9 and GLM-5.2’s 81.0. Its DeepSWE v1.1 scores (74.2, then 77.0 in the 1017 build) belong to a different version from the plain DeepSWE in the V4-Pro entry (62.7), so do not subtract one from the other. The sensible reading is a reason to test Flash on your own tasks, not proof that it beats V4-Pro.
What 744B, 1.6T and 284B parameters mean in gigabytes and tokens per second
GLM-5.2’s NGC page lists 744B total and 40B active parameters, 78 hidden layers, 256 routed experts plus 1 shared expert, and 8 experts selected per token, built on GLM-5.1 with a 1M-token context window. DeepSeek lists V4-Pro at 1.6T total and 49B active, V4-Flash at 284B total and 13B active, both with 1M context, and token-wise compression plus DeepSeek Sparse Attention. Moonshot’s parameter counts for K2.6 are on its model pages; for K3, 2.8 trillion parameters is 1,400 GB at 4-bit before anything else is loaded.
| Model | Total / active parameters | Context | Weights at 4-bit | Weights at 8-bit | Decode ceiling per 1 TB/s (4-bit) |
|---|---|---|---|---|---|
| GLM-5.2 | 744B / 40B | 1M tokens | 372 GB | 744 GB | 50 tokens/s |
| DeepSeek V4-Pro | 1.6T / 49B | 1M tokens | 800 GB | 1,600 GB | 40.8 tokens/s |
| DeepSeek V4-Flash | 284B / 13B | 1M tokens | 142 GB | 284 GB | 154 tokens/s |
The workings: weights take 0.5 bytes per parameter at 4-bit and 1 byte at 8-bit, so GLM-5.2’s 744B is 372 GB and 744 GB, V4-Pro’s 1.6T is 800 GB and 1,600 GB, and V4-Flash’s 284B is 142 GB and 284 GB. For decode, one token at batch size one reads the active parameters once. At 4-bit that is 20 GB for GLM-5.2 (40B times 0.5), 24.5 GB for V4-Pro and 6.5 GB for V4-Flash, and 1 TB/s of memory bandwidth is 1,000 GB/s, so the ceilings are 1,000 divided by 20, 24.5 and 6.5. This is a theoretical upper bound: it ignores batching, KV cache traffic and expert-routing overhead and is not a measurement. DeepSeek’s 800 GB figure is also derived in our report on Llama 4 Maverick, Mistral Large 3 and DeepSeek V4-Pro.
The July version of this page said a 1-bit GGUF build put GLM-5.2 on one consumer GPU. That claim is withdrawn, and with it the huggingface-cli download and llama-server commands that served it. The GLM-5.2 build linked here is NVIDIA’s NGC listing, tagged nvfp4, and even 1 bit per weight would be 93 GB (744B times 0.125 bytes) before KV cache. Self-hosting any of these models means a multi-GPU node, so the API is the default and the sensible way to try them. If you do run GLM-5.2 on your own nodes, this smoke test starts SGLang, sends one request and shuts the server down; set the three variables to your own paths and values.
#!/bin/sh
set -eu
: "${MODEL_PATH:?set to the directory with the downloaded GLM-5.2 weights}"
: "${TP_SIZE:?set to the number of GPUs to shard across}"
: "${PORT:?set to a free port}"
cleanup() { [ -z "${SERVER_PID:-}" ] || kill "$SERVER_PID" 2>/dev/null || true; }
trap cleanup EXIT INT TERM
python -m sglang.launch_server --model-path "$MODEL_PATH" --tp-size "$TP_SIZE" --host localhost --port "$PORT" &
SERVER_PID=$!
until curl -sf "http://localhost:$PORT/health" >/dev/null; do
kill -0 "$SERVER_PID"
sleep 5
done
curl -s "http://localhost:$PORT/v1/chat/completions" \
-H "Content-Type: application/json" \
-d '{"model":"default","messages":[{"role":"user","content":"Explain this stack trace."}]}'
Which model for which job, and the price gap a score gap is worth
| Job | Test first | Why |
|---|---|---|
| Terminal-style and whole-repository generation agents | DeepSeek V4-Pro, then V4.1 Flash | Leads GLM-5.2 on Terminal-Bench 2.1 and NL2Repo in the shared table; V4.1 Flash reports 90.6 on Terminal-Bench 2.1 |
| Single-issue fixes scored like SWE-bench Pro | GLM-5.2 | 62.1 is its headline score, and no newer figure for the other two sits beside it on this page |
| Long multi-agent runs | Kimi K3 before K2.6 | K2.6’s swarm figures are Moonshot’s own, and K3 is its current flagship |
| Self-hosting with the least memory | V4-Flash (142 GB at 4-bit), then GLM-5.2 (372 GB) | Weights-only arithmetic in the memory table above |
| An existing DeepSeek integration | Rename the model IDs | deepseek-chat and deepseek-reasoner were scheduled for discontinuation on July 24, 2026 |
If you plan to build on GLM-5.2 through a particular host, check that host’s catalog first: our GLM-5.2, Qwen3.8-Max and Kimi K3 comparison lists GLM-5.2 as planned to leave Cloudflare on November 20, 2026, and carries the current rate cards for all three routes.
A router that tries DeepSeek first and escalates to GLM-5.2 follows from the shared-benchmark evidence. Base URLs, keys and model IDs come from each vendor’s docs, so they are read from the environment here instead of hard-coded.
import os
from openai import OpenAI
def make_client(prefix: str) -> OpenAI:
client = OpenAI(
base_url=os.environ[f"{prefix}_BASE_URL"],
api_key=os.environ[f"{prefix}_API_KEY"],
)
return client
DEEPSEEK = make_client("DEEPSEEK")
GLM = make_client("GLM")
DEEPSEEK_MODEL = os.environ["DEEPSEEK_MODEL"]
GLM_MODEL = os.environ["GLM_MODEL"]
def complete(prompt: str, client: OpenAI, model: str) -> str:
resp = client.chat.completions.create(
model=model,
messages=[{"role": "user", "content": prompt}],
)
return resp.choices[0].message.content
def route(prompt: str, needs_harder_model) -> str:
draft = complete(prompt, DEEPSEEK, DEEPSEEK_MODEL)
if needs_harder_model(draft):
return complete(prompt, GLM, GLM_MODEL)
return draft
To turn a score gap into a price gap, use cost per resolved task, which is cost per attempt divided by resolve rate. At the SWE-bench Pro scores this page used, DeepSeek must cost no more than 55.4 / 62.1 = 0.892 of GLM-5.2’s per-attempt cost, about 10.8% cheaper, to win per resolved task. Kimi K2.6 must cost no more than 58.6 / 62.1 = 0.944 of GLM-5.2’s, about 5.6% cheaper. The rule flips with the benchmark: at the shared DeepSWE scores, GLM-5.2 would have to cost no more than 46.2 / 62.7 = 0.737 of DeepSeek’s per attempt, about 26.3% cheaper, just to tie. DeepSeek’s off-peak rate is 50% of its peak rate, so for batch work scheduled off-peak, DeepSeek clears a 10.8% hurdle on price alone, assuming equal tokens per attempt. Benchmark pass rates are not resolve rates on your repository, and token use per attempt differs by model and thinking effort, so run a replay on your own issues:
- Pull 20 issues from your own repository that were already resolved, each with a test that fails before the fix and passes after.
- Run each candidate on all 20 with the same agent harness and the same thinking-effort level (DeepSeek offers low, high and max).
- Record resolve rate, input and output tokens, and cost per attempt for each model.
- Divide total spend by the number of resolved issues to get cost per resolved task, and compare the ratios with the break-even figures above.





