China's 6 GB Models Just Matched Your API Bill

China's 6 GB Models Just Matched Your API Bill
Last week, PrismML shipped Ternary Bonsai 2.5 27B — a 5.9 GB ternary-quantized derivative of Alibaba's Qwen 3.8 27B that scores 75.6 on SWE-bench Verified and runs at 204 tokens per second on a single RTX 4090. Five days earlier, SenseTime released SenseNova Loop-9B, a looped-architecture model with 9 billion stored parameters that claims to match Qwen 3.8 27B on agentic benchmarks despite being one-third its size. And threading through the week's AI news roundups, Zhipu's GLM lineage keeps surfacing as the third leg of a compact-model offensive that shows no sign of slowing.
📖 Read the full version with charts and embedded sources on ComputeLeap →
The pattern is hard to miss. Three different compression strategies — ternary quantization, looped architectures, and distillation-first post-training — all converged in the same two-week window, all targeting the same use case: frontier-class agentic coding that fits on hardware you already own. This isn't a coincidence. It's the competitive axis shifting from "who trains the biggest model" to "who ships the smallest one that still passes the bar."
HuggingFace CEO Clement Delangue captured the meta-trend: distillation "is one of the few things limiting extreme concentration of power, capabilities and wealth." The compact-model wave isn't just a technical achievement — it's a structural threat to the API pricing moat that funds frontier labs.
Bonsai 2.5 27B: Ternary Weights, Frontier Scores
PrismML's approach is surgical. Take Alibaba's already-capable Qwen 3.8 27B (the same base model behind a half-dozen open-weight releases this year), compress its weights from 16-bit floating point to ternary values — literally {-1, 0, +1} at roughly 1.76 bits per weight — and ship a 5.9 GB GGUF file that fits in the VRAM of a single consumer GPU.
The November 24 announcement positions Bonsai 2.5 as a significant upgrade over Bonsai 2 (September 2026), and the benchmark table backs that up:
| Benchmark | Qwen 3.8 27B (FP16) | Bonsai 2 27B | Bonsai 2.5 27B |
|---|---|---|---|
| SWE-bench Verified | 80.6 | 60.8 | 75.6 |
| DeepSWE v1.1 | 30.1 | 0 | 27.0 |
| Terminal-Bench 2.1 | 70.8 | 52.8 | 60.1 |
| AppWorld | 93.2 | 51.2 | 90.5 |
The jump from Bonsai 2 to 2.5 is dramatic. SWE-bench Verified went from 60.8 to 75.6 — a 24% improvement that closes most of the gap to the full-precision original. AppWorld recovered from a catastrophic 51.2 to 90.5, essentially matching FP16 performance. PrismML attributes this to better handling of multi-turn agentic loops: the model completes tasks in fewer turns and burns fewer tokens, which matters enormously when you're running inference locally and every token costs wall-clock time.
The speed numbers are equally striking. On an NVIDIA H100, PrismML reports 291 tokens/second with multi-token prediction (MTP) and 3,200 tokens/second for prompt processing. On a consumer RTX 4090, that drops to 204 tok/s generation — still fast enough for interactive coding sessions with zero API latency and zero per-token cost.
ℹ️ The "Opus-level" framing in WorldofAI's viral video title is provocative but imprecise. PrismML itself does not claim parity with Claude Opus — the official comparison is strictly against Qwen 3.8 27B at full precision. SWE-bench Verified 75.6 is competitive with many frontier models from earlier this year, but the agentic benchmarks that matter most don't have standardized cross-lab comparisons. Take the headline with salt; take the compression ratio seriously.
The gotcha that r/LocalLLaMA spotted first: the native PTQ1_0 GGUF format requires PrismML's own llama.cpp fork. Stock llama.cpp users need the larger Q2_0 file (~7.7 GB), which still fits a 12 GB GPU but loses the extreme compression advantage. And a 5.9 GB model on 6 GB of VRAM leaves essentially zero headroom for KV cache — meaning real-world context windows will be severely limited unless you have 8+ GB available. The benchmarks were run on an H100 and RTX 4090 (24 GB), not on a 6 GB card.
SenseNova Loop-9B: Smaller Models Run Their Layers Twice
SenseTime took a completely different path to the same destination. Instead of compressing a larger model, they built SenseNova Loop-9B around a "looped" architecture with manifold-constrained hyper-connections (mHC) — a design where the model's 32 unique layers are executed 56 times during inference, creating ~14.6 billion "inference-equivalent" parameters from only 9 billion stored weights.
The result, per SenseTime's benchmarks: GAIA jumped from 37.86 (preview) to 69.90 (final), NL2Repo from 19.91 to 41.36, and AutomationBench from 14.33 to 36.67. The claim that it matches Qwen 3.8 27B — a model three times its parameter count — rests on a narrow set of three head-to-head comparisons where the numbers are close (AIDABench 65.31 vs 65.01, AutomationBench tied at 36.67).
The practical appeal is real: Loop-9B fits in 8 GB of VRAM with 104K context, runs under Apache 2.0, and targets exactly the agentic workloads — tool use, multi-step coding, long-context retrieval — where local inference eliminates API latency and cost entirely.
But the caveats apply doubly here. Every benchmark number is vendor-reported and unverified by third parties. The looped architecture means inference compute is roughly 1.75x what you'd expect from a 9B model (56 layer passes vs 32 unique layers), so the speed advantage over simply running a larger quantized model isn't as clear as the parameter count suggests. And on Terminal-Bench 2.1 — a coding benchmark that matters — Qwen 3.8 27B scores 73.0 to Loop-9B's 59.55. The "matches a 27B model" headline dissolves when you pick the benchmark.
Three Compression Strategies, One Direction
What makes this week interesting isn't any single model. It's the convergence of three distinct approaches:
1. Ternary quantization (Bonsai 2.5): Crush the bits per weight from 16 to ~1.76. Extreme compression, proven engineering, requires custom inference stacks.
2. Looped architectures (SenseNova Loop-9B): Reuse layers at inference time to get more compute from fewer stored parameters. Novel architecture, strong theoretical basis, unverified in practice.
3. Distillation-first post-training (GLM 5.x, Qwen 3.5 lineage): Start with an open-weight base, distill frontier capabilities down through supervised fine-tuning. The workhorse approach that most Chinese labs use.
All three are responses to the same constraint: US export controls on high-end GPUs mean Chinese developers and enterprises can't simply throw more H100s at the problem. Efficiency isn't a nice-to-have — it's the entire strategy. As Brookings noted, Chinese AI models lean heavily on mixture-of-experts architectures and aggressive quantization specifically because compute is scarce relative to ambition.
⚠️ These models aren't "Chinese" in the way the geopolitical framing implies. Bonsai 2.5 is built by PrismML (a US company) on top of Alibaba's Qwen base. Loop-9B uses a Chinese base (Qwen 3.5-9B) with a novel architecture from SenseTime. The compression techniques themselves — ternary quantization, looped transformers — are published research with global contributors. Framing this as a "China vs US" race obscures the real dynamic: open-weight ecosystems don't have nationalities. The models are on HuggingFace. Anyone can download them.
What the Markets Say
Polymarket's "Best Chinese AI Company end of November" contract has Xiaomi at 95% — pricing the thesis that hardware-software integration matters more than pure model capability. Alibaba, whose Qwen models underpin both Bonsai 2.5 and Loop-9B, sits at just 4%.
Meanwhile, the "US x China AI safety agreement" contract trades at 30% probability and fell 13% today. The market is skeptical that cooperation will emerge while both sides are racing to ship.
As Dwarkesh Patel framed it on X: "Let's say the US wins. We get our superintelligence. Then what?" The question haunts the entire AI race framing. If Chinese open-weight models keep closing the gap at the efficiency frontier — running frontier-class workloads on consumer hardware, for free, under Apache 2.0 — the concept of "winning" an AI race becomes increasingly meaningless. You can't embargo weights that are already on HuggingFace.
Community Reaction
The developer community response has been a mix of excitement and healthy skepticism. Chinese open-weight models now account for 41% of HuggingFace downloads compared to 36.5% for American models — a lead that widens every quarter. The practical developer community is voting with their downloads.
On r/LocalLLaMA, the reaction to Bonsai 2.5 echoes earlier skepticism about Bonsai 2: users flagged that PrismML's headline benchmarks may be cherry-picked, that the custom llama.cpp fork requirement adds friction, and that real-world agentic performance often lags synthetic benchmarks. One user reported that in Terminal-Bench testing on 8 GB of VRAM, the model produced a single 14,000+ token completion that never emitted a stop token — the kind of degenerate behavior that benchmarks don't capture.
But the broader sentiment is pragmatic optimism. As CSIS analysis notes, open-weight models "spread through hosting platforms and local deployments" — and that diffusion mechanism means even imperfect models find their niche. The developer who needs agentic coding for private repos, air-gapped environments, or simply wants to stop paying per-token has a growing menu of options that now includes frontier-adjacent performance.
💡 If you're running agentic coding workflows through API calls today, it's worth benchmarking Bonsai 2.5 against your specific use case this weekend. The setup (download the GGUF, install PrismML's llama.cpp fork, run with --gpu-layers 99) takes under 15 minutes. The worst case is you learn where the compression breaks for your workload. The best case is you eliminate a recurring API bill. We covered the broader local-inference setup in our Gemma 4 12B local coding guide — the hardware requirements overlap significantly.
What to Watch Next
Three signals will tell you whether this compact-model wave has real staying power:
1. Independent SWE-bench reproduction. PrismML's 75.6 and SenseTime's GAIA 69.90 are vendor numbers. When BigCodeBench or someone from the community reproduces them (or doesn't), that's the signal that matters.
2. Context window reality. Both models claim long context (Bonsai 2.5 inherits Qwen's 128K, Loop-9B claims 104K on 8 GB). Real-world testing at those context lengths on consumer GPUs will reveal whether the KV cache fits or whether you're stuck at 4K effective context.
3. The next Qwen base drop. Both Bonsai 2.5 and Loop-9B are built on Qwen 3.x foundations. When Alibaba ships its next base model, the entire compression ecosystem gets a free upgrade. The cycle time between base model and compressed derivative is now measured in weeks, not months.
The race to the bottom of the hardware stack is accelerating. The models that matter most in 2027 might not be the ones with the highest benchmark scores — they might be the ones that run on the GPU you already have.
For more on the open-weight frontier, see our coverage of the GLM 5.2 vs Opus showdown, China's Nvidia-free AI stack, and the open-weight counteroffensive.
Originally published at ComputeLeap
原文:https://www.a8q9.cn/en/article/china-s-6-gb-models-just-matched-your-api-bill-1d41fc.html


