2026-11-26 15:50 UTC

Community ds4 branch reports 37–38 tokens/s for GLM-5.3-Flash Q4 at 300K context on M3 Ultra

state: corroboratedheat: mediumuncertainty: mediumrelevance: mediumlocal-inference inference-optimization coding-agentsIngeniousIdiocy

What is this?

IngeniousIdiocy reports that a public, M3 Ultra-specific ds4 branch accelerates GLM-5.3-Flash Q4 inference through fused Metal kernels and changes to long-context attention search. The author reports 29→40 tokens/s at short context, 24→38 at 62K, and 21.6→37.4 at 300K; the Reddit post also describes a Claude Code workload around 200K context averaging over 38 output tokens/s. These are author-reported results, not independent benchmark findings.

Why it matters

The reported speedup could make a large open-weight coding model more practical for interactive, long-context local use on an M3 Ultra. The useful headline is workload-specific: the author reports about 37–38 tokens/s at 300K context and in a roughly 200K-context Claude Code session, while 60 tokens/s applies to SQL generation—not general agent work. This is a hardware-specific community optimization, not an independent benchmark or evidence of comparable gains on other Macs.

Current assessment

IngeniousIdiocy’s public ds4 branch targets GLM-5.3-Flash Q4 on M3 Ultra. The author attributes the gains to fused Metal dispatches and a revised long-context attention-search path, reporting short-context decode rising from 29 to 40 tokens/s, 24 to 38 at 62K, and 21.6 to 37.4 at 300K; prefill at 62K is reported to rise from 366 to 550 tokens/s. The Reddit post describes over 38 output tokens/s in a Claude Code workload around 200K context, with many tool calls. The 60-token/s headline is qualified by the author as achievable on SQL generation; speculative decoding varies by output type and reportedly adds only about 4% over serial decoding on a multi-request agent session. The author also reports near-identical QA NLL and 90/100 first-token matches, but the supplied evidence is self-reported and does not include independent replication. The branch is explicitly tuned for one chip, model and Q4 weights, so results should not be generalized to other hardware, quantizations, workloads or concurrent serving. Subsequent community reports point to active competition and further local-inference optimization, but do not independently validate this branch’s figures. For an M3 Ultra owner considering local coding agents, the branch may be worth testing; compare at the same context length and workload, and check memory fit and output quality.

Measured heat

now 0 pts/hpeak 0 pts/hcomments 0/hpeers p0momentum: steady2 platformsage 1875h
points/hour across evidence · reading as of 2026-11-27 02:23:58.509736+11:00 · deterministic, not a model opinion

How the heat travelled

09-09 13:24 (minted)⭐ origin echo-reconstructedThe author links this ds4 branch as the implementation behind reported GLM-5.3 Flash Q4 throughput on M3 Ultra, distinguishing over 38 token
IngeniousIdiocy on github (echo) · attributed from reddit.post.1wbkpnw · published time unknown
—
09-09 12:51first on r/LocalLLaMA · published · lag ?GLM 5.3 Flash Q4 @ 60tps / 550tps on M3 Ultra
IngeniousIdiocy
—
09-09 12:51amplified on r/LocalLLaMA 👑reddit.post.1wbkpnw
IngeniousIdiocy
peak 131 · 38 comments · 27% of case engagement
09-15 11:51amplified on r/LocalLLaMAreddit.post.1wgy6tm
IngeniousIdiocy
peak 44 · 21 comments · 10% of case engagement
10-04 20:00amplified on r/LocalLLaMAreddit.post.1wxp21n
-dysangel-
peak 62 · 22 comments · 13% of case engagement
10-04 21:53amplified on r/LocalLLaMAreddit.post.1wxrozq
swiebertjee
peak 56 · 32 comments · 14% of case engagement
10-05 13:27amplified on r/LocalLLaMAreddit.post.1wy8k3m
cryotic
peak 121 · 37 comments · 25% of case engagement
10-08 15:56amplified on r/LocalLLaMAreddit.post.1x0unn5
challis88ocarina
peak 7 · 13 comments · 3% of case engagement
1 more amplifiers in ainews.case_chain
09-09 13:20our radar first saw it · lag ?discovery anchor: reddit.post.1wbkpnw—

Evidence (8) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟠 redditGLM 5.3 Flash Q4 @ 60tps / 550tps on M3 Ultra
LocalLLaMA
IngeniousIdiocy12438
🟧 echo.github ⭐The author links this ds4 branch as the implementation behind reported GLM-5.3 Flash Q4 throughput on M3 Ultra, distinguishing over 38 tokenIngeniousIdiocy——
🟠 redditDeepSeek V4.1F Q4 on M3 Ultra with native DSpark MTP (40tps / 800tps)
LocalLLaMA
IngeniousIdiocy4321
🟠 redditFully local little parkour sim
LocalLLaMA
-dysangel-6221
🟠 redditFor dual DGX spark users; GLM 5.3 flash got a 50%+ performance boost
LocalLLaMA
swiebertjee5632
🟠 redditM5 Ultra 256 running GLM 5.3 Flash 68.8 tok/s
LocalLLaMA
cryotic12137
🟠 redditMTP in llama.cpp now decodes competitively with ds4 using GLM 5.3 Flash
LocalLLaMA
challis88ocarina713
🟠 redditInstead of waiting for an M5 Ultra 512 GB: pairing a new M5 Ultra 256 GB with my M3 Ultra 512 GB for disaggregated prefill/decode (GLM-5.3-Flash, MLX, Thunderbolt 5 RDMA)
LocalLLaMA
Usual_Tackle58922615

Interpretation history

Decision trace