TORAD LABS
Book a call

01

Which model

One 16 GB card, or two of 96.

each model's files, on one scale
Bonsai 2 27B 7.66GB
  • Cardsone RTX 50-series, 16 GB
  • Context262,144 tokens a conversation
  • At oncefour conversations
  • Speed104.8 tok/s, served
17.5×larger
GLM 5.3 Flash 134GB
  • Cardstwo RTX PRO 6000 Blackwell, 96 GB each
  • Context524,288 tokens, shared
  • At oncethree conversations
  • Speedup to 182.7 tok/s, one session

One square is 4 GBBonsai is 27 billion weights at 2.13 bits each.

02

Bonsai's speed

It keeps its speed as the context fills.

Measured September 24 · one RTX 5070 Ti
Writing, as the context fills Tokens a second, by tokens of context held
  • 67.3at 131K

    Torad's fork
  • 35.5at 131K

    PrismML's release
  1. 0
  2. 16K
  3. 64K
  4. 131K
Reading a promptWith 131K of context held

1,104tokens a second

  1. 1,104Torad's fork
  2. 547PrismML's release

03

Serve Bonsai

Three commands to a Bonsai server.

it answers on port 8080 of your machine
  1. 1
    Build
    git clone https://github.com/torad-labs/llama.cpp && cd llama.cpp
    cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release \
      -DGGML_CUDA=ON -DGGML_NATIVE=ON \
      -DGGML_CUDA_FA=ON -DGGML_CUDA_FA_ALL_QUANTS=OFF -DGGML_CUDA_GRAPHS=ON \
      -DLLAMA_BUILD_SERVER=ON -DLLAMA_BUILD_TOOLS=ON -DLLAMA_BUILD_EXAMPLES=OFF -DLLAMA_BUILD_TESTS=OFF
    cmake --build build --target llama-server llama-bench -j
  2. 2
    Fetch the model
    hf download ProCreations/Ternary-Bonsai-2-27B-MTP Ternary-Bonsai-2-27B-PQ2_0-MTP-Q8_0.gguf \
      --revision efffdea64c1f9e93cc7fa6bb24f72ae9d66ecf51 --local-dir models
  3. 3
    Serve
    build/bin/llama-server -m models/Ternary-Bonsai-2-27B-PQ2_0-MTP-Q8_0.gguf --alias bonsai-2-27b \
      -ngl 99 -fa on -c 294912 -np 4 --kv-unified --jinja \
      --cache-type-k q4_0 --cache-type-v q4_0 -cts q8_0 --attn-mask-bits \
      --chat-template-file docs/torad/bonsai-27b/chat-template.jinja --reasoning-format deepseek \
      --spec-type draft-mtp --spec-draft-n-max 2 -ctkd q4_0 -ctvd q4_0 \
      --checkpoint-every 16384 --cache-ram 8192 \
      --temp 1.0 --top-p 0.95 --top-k 20 --host 127.0.0.1 --port 8080
  • Cardone RTX 50-series, 16 GB
  • CUDA12.8 or newer
  • The model7.66 GB · Apache-2.0
  • The forkMIT · free

04

GLM 5.3 Flash's speed

Up to 183 tokens a second, across two cards.

Measured November 2 · two RTX PRO 6000 Blackwell
32K of contextOne session

182.7tokens a second

Draft head off 131.6
One token ahead 182.7
Two ahead 138.3
128K of contextOne session

162.4tokens a second

Draft head off 125.7
One token ahead 134.7
Two ahead 162.4
Three sessions at onceDraft head off

67.8tokens a second, each

32K each 67.8
128K each 51.9

05

Serve GLM 5.3 Flash

Two cards, one launcher.

it answers on port 8102 of your machine
  1. 1
    Build
    cmake -S . -B build -DGGML_CUDA=ON -DCMAKE_CUDA_ARCHITECTURES=120a \
      -DCMAKE_BUILD_TYPE=Release -DLLAMA_BUILD_TESTS=ON
    cmake --build build --target llama-server --parallel 4
  2. 2
    Launch
    python3 scripts/glm53/serve.py --profile tensor-2 \
      --server ./build/bin/llama-server \
      --model /models/GLM-5.3/IQ3_XXS/GLM-5.3-Flash-Uncensored-IQ3_XXS-00001-of-00003.gguf \
      --mmproj /models/GLM-5.3/mmproj-GLM-5.3-Flash-Uncensored-F16.gguf \
      --mtp-depth off
  3. 3
    Ask it
    curl http://127.0.0.1:8102/v1/chat/completions \
      -H 'Content-Type: application/json' \
      -d '{"model":"GLM-5.3-Flash-Uncensored-IQ3_XXS","messages":[{"role":"user","content":"Write a Python function that rejects duplicate JSON object keys."}],"max_tokens":32768,"stream":false}'
  • Cardstwo RTX PRO 6000 Blackwell
  • Free on each97,000 MiB
  • The packthree files, 134 GB
  • To see the plan firstadd --dry-run

06

What the fork adds

Six changes, each one commit.

each has its own off switch
llama.cppggml-org v1.0.0, with PrismML's 2-bit kernels
Torad's fork

07

Exact values

As the fork states them.

from its README and serving notes
Bonsai The filePrismML's weights, with a draft head Ternary-Bonsai-2-27B-PQ2_0-MTP-Q8_0.gguf 7,657,489,728 bytes
Bonsai Where it comes fromHugging Face, Apache-2.0 ProCreations/Ternary-Bonsai-2-27B-MTP 2.13 bits a weight
Bonsai The windowFour conversations share one pool -c 294912 -np 4 --kv-unified 262,144 tokens each
Bonsai The cardsWhere the fast path runs RTX 5070 Ti · 5080 · 5090 · RTX PRO Blackwell CUDA 12.8 or newer
Bonsai ElsewhereSlower, or not at all other NVIDIA cards, CPU, Metal: slower · Vulkan, SYCL: none 2-bit weights
GLM The packThree files, and a projector for images BoldingBuilds/orcarouter_GLM-5.3-Flash-Uncensored-GGUF revision 1bc0afadd92f4ff9fc2b1281a95a7921b058d35d 134.3 GB
GLM The windowThree conversations share one pool -c 524288 -np 3 --kv-unified 524,288 tokens in all
GLM The cardsOne server across both -sm tensor -ts 1,1 97,000 MiB free on each
Both The fork's licenceThe same as ggml-org's llama.cpp MIT free