NetSphere

Field report · 17 October 2026

Gemma 4 vs Ternary Bonsai 2 on five GPUs: Bonsai decodes 1.6–2.8× faster; with drafters the gap shrinks to 0.8–1.4×.

We ran Google's Gemma 4 E2B, E4B and 12B against PrismML's Ternary Bonsai 2 2B, 4B and 9B on five GPUs, paired by size, with the same engine builds, tests and prompts — on the bare engine, and served the way each family is meant to be served, with and without its multi-token-prediction drafter. This is a speed comparison only: the quality half was put on hold before it ran.

Models: google/gemma-4-{E2B,E4B,12B}-it-qat-q4_0-gguf · prism-ml/Ternary-Bonsai-2-{2B,4B,9B}-ggufRuns: 16–17 Oct 2026PrismML llama.cpp prism-b10743 · prism-b10777
Download PDFEngine speedWith draftersWhat to run
Bottom line

1What we ran

Two families of small models with public weights, paired by the size in their names: Ternary Bonsai 2 from PrismML (2B, 4B and 9B, in PrismML's 2-bit PQ2_0 format) and Gemma 4 from Google (E2B, E4B and 12B, in Google's quantization-aware-trained Q4_0 files). The same engine builds, tests and prompts for both, on five GPUs.

PairModel and fileRevisionParametersWeightsBits per parameterDrafter
2B classTernary Bonsai 2 2B · PQ2_090fa37ad1.88 B0.51 GB2.15none published
Gemma 4 E2B · QAT Q4_0675cff424.63 B3.33 GB5.76Google's MTP drafter, 59 MB
4B classTernary Bonsai 2 4B · PQ2_0c4169eab4.21 B1.14 GB2.16MTP head (Q8_0) in PrismML's 13 Oct file @ e9fe290d
Gemma 4 E4B · QAT Q4_04b4a2c1d7.46 B5.14 GB5.51Google's MTP drafter, 60 MB
9B classTernary Bonsai 2 9B · PQ2_04df660378.95 B2.41 GB2.15MTP head (Q8_0) in PrismML's 13 Oct file @ c507c837
Gemma 4 12B · QAT Q4_029d0977711.91 B6.96 GB4.68Google's MTP drafter, 254 MB

Parameters and weights as llama-bench counts them (weights = the bytes loaded, GB of 109 bytes); bits per parameter = weights × 8 ÷ parameters, over the whole file. Google's E names count effective parameters: the E2B and E4B files hold 4.63 B and 7.46 B. Repositories: prism-ml/Ternary-Bonsai-2-{2B,4B,9B}-gguf and google/gemma-4-{E2B,E4B,12B}-it-qat-q4_0-gguf; Gemma's drafters from ggml-org/gemma-4-{E2B,E4B,12B}-it-GGUF, sizes from our download receipts. Bonsai's engine and no-drafter rows used PrismML's 6 October files; its drafter rows the 13 October release, which carries retrained weights of the same shapes and types plus the MTP head.

CardArchMemory, GiBPower limitCondition
RTX 5080sm_12015.5360 Wour second host, one card at a time
RTX PRO 4500 Blackwellsm_12031.4165 Wsame host; power-capped
RTX 3090sm_8623.6370 Wsame host
DGX Spark (GB10)sm_121121.7 (unified)—unified memory shared with the CPU; its resident server stopped for both runs
RTX 5070sm_12011.9250 Wdesktop display card: screen on, apps open, Windows

Architecture and memory as the engine reports them. All five at stock clocks; one card at a time, with no other job on it (the RTX 5070 also drives the screen). Builds: CUDA 12.9 for sm_86 and sm_120 in containers (RTX 5080, RTX PRO 4500, RTX 3090); a native CUDA 13.0 build on the DGX Spark; MSVC with CUDA 12.9 on Windows for the RTX 5070.

2Engine speed

Decode, empty context

CardBonsai 2BGemma E2B×Bonsai 4BGemma E4B×Bonsai 9BGemma 12B×
RTX 5080636.0338.31.88×365.3204.71.78×254.1104.72.43×
RTX PRO 4500 Blackwell529.9282.11.88×301.8172.21.75×209.088.12.37×
RTX 3090482.8264.91.82×285.9166.51.72×190.591.62.08×
DGX Spark287.5127.32.26×142.170.02.03×88.831.32.84×
RTX 5070399.4246.51.62×225.3114.81.96×154.459.42.60×

Tokens per second, one stream. llama-bench from PrismML's llama.cpp fork prism-b10743 (build adfffbe), every layer on the GPU, flash attention on, mean of 5 runs. Bonsai 2 = PrismML's 2-bit PQ2_0 files; Gemma 4 = Google's QAT Q4_0 files. × = Bonsai ÷ Gemma on the same card. Stock clocks; the RTX PRO 4500 runs at a 165 W limit; the RTX 5070 is a desktop display card with the screen on; the DGX Spark is unified memory.

Decode with 8,192 tokens of context

CardBonsai 2BGemma E2B×Bonsai 4BGemma E4B×Bonsai 9BGemma 12B×
RTX 5080555.4302.01.84×310.9185.71.67×227.697.82.33×
RTX PRO 4500 Blackwell467.3254.21.84×259.4156.61.66×189.782.52.30×
RTX 3090454.5245.91.85×263.0155.71.69×180.585.52.11×
DGX Spark255.6116.42.20×122.563.81.92×80.529.32.75×
RTX 5070359.3229.01.57×198.9105.61.88×141.656.22.52×

Prefill, 512-token prompt

CardBonsai 2BGemma E2B×Bonsai 4BGemma E4B×Bonsai 9BGemma 12B×
RTX 508021,24115,5041.37×11,47010,4261.10×7,6895,8361.32×
RTX PRO 4500 Blackwell16,64712,4011.34×8,6578,1311.06×5,7184,1291.38×
RTX 309012,81710,5651.21×6,7516,9560.97×4,4633,4191.31×
DGX Spark9,4398,3531.13×4,6324,9190.94×3,1912,1921.46×
RTX 507014,04512,3061.14×6,3425,9181.07×4,1543,0281.37×

3Real use, with and without each family's drafter

The engine figures leave out everything a server adds: sampling, the chat template, a growing context. In real use each answer runs through llama-server at the family's own sampling, with thinking on — once plain, and once with the family's drafter.

Bonsai 2 4B and Gemma 4 E4B

CardBonsai 4B+ MTP headGemma E4B+ drafter, 2+ drafter, 4
RTX 5080257.1292.9193.1335.1367.0
RTX PRO 4500 Blackwell224.2253.3162.9272.8279.9
RTX 3090217.0242.2158.2249.9249.9
DGX Spark121.0153.164.2122.7139.0
RTX 5070196.8209.6113.4192.4200.1

Tokens per second, one stream. llama-server from PrismML's llama.cpp fork prism-b10777 (commit e3de715), 24 prompts × up to 1,024 tokens, thinking on, each family's own sampling; decode from the server's timings. Bonsai 2 = PQ2_0 (the MTP column: PrismML's PQ2_0 file with its Q8_0 MTP head); Gemma 4 = QAT Q4_0 with Google's Q4_0 drafter allowed 2 or 4 drafted tokens. Same card conditions as section 2.

Bonsai 2 9B and Gemma 4 12B

CardBonsai 9B+ MTP headGemma 12B+ drafter, 2+ drafter, 4
RTX 5080196.6241.298.0194.3224.6
RTX PRO 4500 Blackwell168.6201.382.9163.4185.5
RTX 3090159.0192.485.6157.8173.7
DGX Spark80.0103.629.661.674.0
RTX 5070145.7167.359.5135.5157.6

Gemma 4 E2B (no Bonsai 2B row)

CardGemma E2B+ drafter, 2+ drafter, 4Drafter gainEngine: Bonsai 2BEngine: Gemma E2B
RTX 5080310.5479.2485.71.56×636.0338.3
RTX PRO 4500 Blackwell261.5396.6384.01.52×529.9282.1
RTX 3090246.5347.1342.71.41×482.8264.9
DGX Spark118.5212.3199.81.79×287.5127.3
RTX 5070231.6359.5337.41.55×399.4246.5

Real use as above; the last two columns are llama-bench decode from section 2 for reference. The Bonsai 2B has no MTP head, and the 16 October run measured it on the engine only, so there is no served comparison for this pair.

How the gap moves

Card4B ÷ E4B, engineservedwith drafters9B ÷ 12B, engineservedwith drafters
RTX 50801.78×1.33×0.80×2.43×2.01×1.07×
RTX PRO 4500 Blackwell1.75×1.38×0.90×2.37×2.03×1.09×
RTX 30901.72×1.37×0.97×2.08×1.86×1.11×
DGX Spark2.03×1.88×1.10×2.84×2.70×1.40×
RTX 50701.96×1.74×1.05×2.60×2.45×1.06×

Bonsai ÷ Gemma. Engine = llama-bench decode (prism-b10743, PQ2_0 / QAT Q4_0); served = llama-server (prism-b10777) without drafters; with drafters = Bonsai with its MTP head against the faster of Gemma's two drafter settings. Below 1 = Gemma faster.

  1. The server takes more from Bonsai than from Gemma. Without drafters Bonsai kept 70–94% of its engine decode, Gemma 92–100%, so the 4B's lead over E4B falls from 1.72–2.03× on the engine to 1.33–1.88× served. We have not isolated the cause: the two families differ in architecture and in their recommended sampling (Bonsai's adds a presence penalty and a top-k of 20).
  2. Gemma's drafter is worth far more than Bonsai's (table below). At the same setting of up to 2 drafted tokens, Gemma E2B and E4B accept about the same share of drafts as Bonsai (58–62% against 60–63%) yet gain 1.41–1.91× against Bonsai's 1.07–1.30×; the 12B accepts more (72–74%) and gains 1.84–2.28×. Our reading, not traced in the engine: a Bonsai step is so cheap that the head's own cost is a large share of it, while Gemma's slower step leaves more room for verifying several tokens at once.
  3. With drafters on both sides, Gemma E4B is the faster on the RTX 5080, RTX PRO 4500 Blackwell and RTX 3090, the Bonsai 4B on the DGX Spark and RTX 5070; the Bonsai 9B stays ahead of the 12B everywhere (1.06–1.40×). Like for like at 2 drafted tokens the same cards fall the same way (4B ÷ E4B 0.87–1.25×).
ModelDrafterDrafted tokens, maxAcceptedGain over no drafter
Bonsai 2 4BMTP head260–62%1.07–1.27×
Bonsai 2 9BMTP head262–63%1.15–1.30×
Gemma 4 E2BGoogle's MTP drafter258–60%1.41–1.79×
442–43%1.39–1.69×
Gemma 4 E4BGoogle's MTP drafter260–62%1.58–1.91×
444–46%1.58–2.17×
Gemma 4 12BGoogle's MTP drafter272–74%1.84–2.28×
457–60%2.03–2.65×

Range over the five cards. Accepted = accepted ÷ drafted tokens, summed over the 24 answers. llama-server prism-b10777; Bonsai PQ2_0 with its Q8_0 head, Gemma QAT Q4_0 with its Q4_0 drafter (59–254 MB).

4What to run

This is a speed reading only; choose the family on quality first, which we did not measure. PrismML has published newer Bonsai files since these runs (section 5).

5Caveats

Every figure on this page was computed from the raw rows of runs made on 16 and 17 October 2026 on our own machines. Run directories: bench/runs/20261017-gemma4-speed (Gemma 4: the scripts, every llama-bench and server row, telemetry and download receipts) and bench/runs/20261016-bonsai2-speed (Ternary Bonsai 2 on the same instruments). The rows are kept; to see them, or to send a model you want measured, write to hello@netsphere.com.ai. How we measure: Method.