migtissera · vision language

Tess-4-9B

migtissera/Tess-4-9B

Tess-4-9B at Q4_K_M is exactly 5,629,112,704 bytes (5.24 GiB / 5.63 GB) — an effective 4.665 bits per weight, not the nominal 4. Its KV cache at 32K is 1.00 GiB.

From the file· summed from 2 file(s)From the file· KV per layer
Parameters
9.7B
Architecture
qwen35
32 layers
Context
262,144
native (config.json)
License
apache-2.0

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
IQ2_M3.64 GiB3,906,351,1683.237bartowski
I1-Q2_K3.65 GiB3,914,969,5683.244mradermacher
Q2_K3.91 GiB4,201,197,6323.482bartowski
I1-Q3_K_S4.06 GiB4,364,022,2403.617mradermacher
IQ3_XXS4.11 GiB4,412,944,4483.657bartowski
I1-IQ3_S4.17 GiB4,475,990,4963.709mradermacher
I1-IQ3_M4.21 GiB4,522,783,2003.748mradermacher
IQ3_XS4.37 GiB4,697,452,6083.893bartowski
I1-Q3_K_M4.41 GiB4,737,610,2083.926mradermacher
Q3_K_S4.48 GiB4,806,242,3683.983bartowski
IQ3_M4.53 GiB4,859,457,6004.027bartowski
I1-Q3_K_L4.70 GiB5,048,512,9924.184mradermacher
Q3_K_M4.71 GiB5,057,114,1764.191bartowski
Q2_K_L4.84 GiB5,194,477,6324.305bartowski
Q3_K_L4.89 GiB5,247,955,0084.349bartowski
I1-IQ4_XS4.96 GiB5,326,418,4004.414mradermacher
IQ4_XS5.01 GiB5,379,567,6804.458bartowski
I1-Q4_05.09 GiB5,462,864,3524.527mradermacher
I1-Q4_K_S5.11 GiB5,488,554,4644.549mradermacher
I1-IQ4_NL5.17 GiB5,555,663,3284.604mradermacher
IQ4_NL5.23 GiB5,615,824,9604.654bartowski
Q4_05.23 GiB5,619,757,1204.657bartowski
Q4_K_M2 shards5.24 GiB5,629,112,7044.665migtissera
Q4_K_S5.34 GiB5,735,100,4804.753bartowski
I1-Q4_K_M5.38 GiB5,780,091,3604.790mradermacher
I1-Q4_15.55 GiB5,961,462,2404.941mradermacher
Q4_K_M5.63 GiB6,047,707,2005.012bartowski
Q4_15.66 GiB6,081,785,9205.040bartowski
I1-Q5_K_S6.03 GiB6,472,643,0405.364mradermacher
I1-Q5_K_M6.19 GiB6,642,545,1205.505mradermacher
Q5_K_S6.21 GiB6,663,352,3845.522bartowski
Q4_K_L6.34 GiB6,802,600,0005.638bartowski
Q5_K_M6.51 GiB6,989,852,7365.793bartowski
Q6_K2 shards6.85 GiB7,359,263,1046.099migtissera
I1-Q6_K7.04 GiB7,558,902,2406.264mradermacher
Q5_K_L7.09 GiB7,617,605,6966.313bartowski
Q6_K7.30 GiB7,837,184,0646.495bartowski
Q6_K_L7.76 GiB8,329,850,9446.903bartowski
Q8_02 shards8.87 GiB9,527,505,2807.896migtissera
Q8_09.13 GiB9,804,542,0168.126bartowski

KV cache by context

computed per layer
ContextKV cache (f16)Flat formulaOverstated byFull / windowed / recurrent
4,0960.13 GiB0.50 GiB4.00×8 / 0 / 24
8,1920.25 GiB1.00 GiB4.00×8 / 0 / 24
16,3840.50 GiB2.00 GiB4.00×8 / 0 / 24
32,7681.00 GiB4.00 GiB4.00×8 / 0 / 24
65,5362.00 GiB8.00 GiB4.00×8 / 0 / 24
131,0724.00 GiB16.00 GiB4.00×8 / 0 / 24

24 of 32 layers use linear attention, which keeps a fixed-size recurrent state instead of a per-token cache. Those layers do not grow with context at all — treating them as ordinary attention, as a flat formula does, overstates this model's cache by roughly 4.0× at long context.

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 5.06 GiB. The real file is 5.24 GiB, because a quantization is a mixture and some tensors are always kept at higher precision.

Architecture

from config.json
Layers
32
Attention heads
16
KV heads
4
Head dim
256
Hidden size
4096
Vocab
248,320
Sliding window
none
SWA period
MLA
no
Experts
Experts per token
use_sliding_window

Questions people ask

How much VRAM does Tess-4-9B need?
Q4_K_M is exactly 5,629,112,704 bytes (5.24 GiB) in weights. Add the KV cache, which depends on your context length, plus roughly half a gigabyte of runtime overhead.
How large is Tess-4-9B's KV cache?
1.00 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 Tess-4-9B 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.