prism-ml · text

Bonsai-8B-unpacked

prism-ml/Bonsai-8B-unpacked

Bonsai-8B-unpacked at Q4_K_M is exactly 5,198,494,208 bytes (4.84 GiB / 5.20 GB) — an effective 5.079 bits per weight, not the nominal 4. Its KV cache at 32K is 4.50 GiB.

From the file· summed from 1 file(s)From the file· KV per layer
Parameters
8.2B
Architecture
qwen3
36 layers
Context
65,536
native (config.json)
License
apache-2.0

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
IQ2_M3.13 GiB3,363,096,7683.286bartowski
Q2_K3.19 GiB3,429,106,4963.350bartowski
IQ3_XXS3.30 GiB3,547,711,6803.466bartowski
IQ3_XS3.52 GiB3,778,855,2643.692bartowski
Q3_K_S3.62 GiB3,886,203,2323.797bartowski
IQ3_M3.76 GiB4,032,086,3683.939bartowski
Q2_K_L3.76 GiB4,035,782,4963.943bartowski
Q3_K_M3.96 GiB4,249,141,6004.151399bartowski
Q3_K_L4.17 GiB4,472,488,2884.370bartowski
IQ4_XS4.35 GiB4,667,703,1684.560399bartowski
Q4_04.53 GiB4,863,670,7844.752399bartowski
Q4_K_S4.55 GiB4,885,690,8804.773bartowski
IQ4_NL4.55 GiB4,890,016,2564.777bartowski
Q4_K_M4.84 GiB5,198,494,2085.079399bartowski
Q4_14.94 GiB5,305,151,2325.183bartowski
Q4_K_L5.27 GiB5,659,567,9685.529bartowski
Q5_K_S5.36 GiB5,759,214,5925.627bartowski
Q5_K_M5.58 GiB5,989,835,7765.852399bartowski
Q5_K_L5.94 GiB6,373,255,0086.226bartowski
Q6_K6.52 GiB6,998,367,3926.837399bartowski
Q6_K_L6.80 GiB7,299,278,6887.131bartowski
Q8_08.11 GiB8,707,188,5768.507399bartowski
BF1615.26 GiB16,383,663,16816.006bartowski

KV cache by context

computed per layer
ContextKV cache (f16)Flat formulaOverstated byFull / windowed / recurrent
4,0960.56 GiB0.56 GiB36 / 0 / 0
8,1921.13 GiB1.13 GiB36 / 0 / 0
16,3842.25 GiB2.25 GiB36 / 0 / 0
32,7684.50 GiB4.50 GiB36 / 0 / 0
65,5369.00 GiB9.00 GiB36 / 0 / 0
131,07218.00 GiB18.00 GiB36 / 0 / 0

Compare with

same modality, comparable size

Will it run on your card?

full quant x context sweep

Why other calculators give a different number

A parameters × bits ÷ 8 estimate puts Q4_K_M at roughly 4.29 GiB. The real file is 4.84 GiB, because a quantization is a mixture and some tensors are always kept at higher precision.

Architecture

from config.json
Layers
36
Attention heads
32
KV heads
8
Head dim
128
Hidden size
4096
Vocab
151,669
Sliding window
none
SWA period
MLA
no
Experts
Experts per token
use_sliding_window
false

Questions people ask

How much VRAM does Bonsai-8B-unpacked need?
Q4_K_M is exactly 5,198,494,208 bytes (4.84 GiB) in weights. Add the KV cache, which depends on your context length, plus roughly half a gigabyte of runtime overhead.
How large is Bonsai-8B-unpacked's KV cache?
4.50 GiB at 32K context with an f16 cache, computed per layer. Quantizing the cache to q8_0 roughly halves it, which is often the difference between a context length fitting and not.
Which quantization of Bonsai-8B-unpacked should I use?
Q4_K_M is the usual default. Pick the largest quantization that fits your card at the context you actually need — the table above gives exact sizes for every one published.