DavidAU · vision language

gemma-4-31B-it-Mystery-Fine-Tune-HERETIC-UNCENSORED-Thinking

DavidAU/gemma-4-31B-it-Mystery-Fine-Tune-HERETIC-UNCENSORED-Thinking

gemma-4-31B-it-Mystery-Fine-Tune-HERETIC-UNCENSORED-Thinking at I1-IQ1_S is exactly 7,156,485,248 bytes (6.66 GiB / 7.16 GB) — an effective 1.831 bits per weight, not the nominal 1. Its KV cache at 32K is 6.17 GiB, not the 30.00 GiB a flat formula predicts.

From the file· summed from 1 file(s)From the file· KV per layer
Parameters
31.3B
Architecture
gemma4
60 layers
Context
262,144
native (config.json)
License
apache-2.0

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
I1-IQ1_S6.66 GiB7,156,485,2481.831mradermacher
I1-IQ1_M7.20 GiB7,725,868,1601.976mradermacher
I1-IQ2_XXS8.08 GiB8,674,839,6802.219mradermacher
I1-IQ2_XS8.88 GiB9,530,354,8162.438mradermacher
I1-IQ2_S9.46 GiB10,157,884,5442.599mradermacher
I1-IQ2_M10.17 GiB10,917,061,7602.793mradermacher
I1-Q2_K_S10.22 GiB10,976,584,8322.808mradermacher
I1-Q2_K11.10 GiB11,916,309,6323.048mradermacher
I1-IQ3_XXS11.25 GiB12,077,503,6163.090mradermacher
I1-IQ3_XS12.17 GiB13,072,364,6723.344mradermacher
I1-IQ3_S12.82 GiB13,761,352,8323.520mradermacher
I1-Q3_K_S12.82 GiB13,761,352,8323.520mradermacher
I1-IQ3_M13.43 GiB14,424,493,1843.690mradermacher
I1-Q3_K_M14.24 GiB15,287,104,6403.911mradermacher
I1-Q3_K_L15.49 GiB16,628,266,1124.254mradermacher
I1-IQ4_XS15.59 GiB16,735,786,1124.281mradermacher
I1-Q4_016.49 GiB17,701,573,7604.528mradermacher
I1-Q4_K_S16.54 GiB17,763,161,2164.544mradermacher
I1-Q4_K_M17.40 GiB18,687,059,0724.780mradermacher
I1-Q4_118.14 GiB19,481,416,8324.984mradermacher
I1-Q5_K_S19.85 GiB21,311,837,3125.452mradermacher
I1-Q5_K_M20.35 GiB21,845,566,5925.588mradermacher
I1-Q6_K23.47 GiB25,201,480,8326.447mradermacher
Q4_K_S2 shards33.09 GiB35,526,318,8169.088DavidAU
Q4_K_S2 shards33.09 GiB35,526,318,8169.088Jackxuanxuan
Q6_K2 shards46.94 GiB50,402,958,04812.894DavidAU
Q6_K2 shards46.94 GiB50,402,958,04812.894Jackxuanxuan

KV cache by context

computed per layer — this model uses sliding-window attention
ContextKV cache (f16)Flat formulaOverstated byFull / windowed / recurrent
4,0961.80 GiB3.75 GiB2.09×10 / 50 / 0
8,1922.42 GiB7.50 GiB3.10×10 / 50 / 0
16,3843.67 GiB15.00 GiB4.09×10 / 50 / 0
32,7686.17 GiB30.00 GiB4.86×10 / 50 / 0
65,53611.17 GiB60.00 GiB5.37×10 / 50 / 0
131,07221.17 GiB120.00 GiB5.67×10 / 50 / 0

50 of 60 layers cache only a 1,024-token window rather than the full context, on a period of . Figures assume the default configuration; --swa-full disables the saving entirely.

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 I1-IQ1_S at roughly 16.38 GiB. The real file is 6.66 GiB, because a quantization is a mixture and some tensors are always kept at higher precision. The larger discrepancy is the cache: a flat formula gives 30.00 GiB at 32K context where the real figure is 6.17 GiB, because most of this model's layers cache a fixed window rather than the whole context.

Architecture

from config.json
Layers
60
Attention heads
32
KV heads
16
Head dim
256
Hidden size
5376
Vocab
262,144
Sliding window
1024
SWA period
MLA
no
Experts
Experts per token
use_sliding_window

Questions people ask

How much VRAM does gemma-4-31B-it-Mystery-Fine-Tune-HERETIC-UNCENSORED-Thinking need?
I1-IQ1_S is exactly 7,156,485,248 bytes (6.66 GiB) in weights. Add the KV cache, which depends on your context length, plus roughly half a gigabyte of runtime overhead.
How large is gemma-4-31B-it-Mystery-Fine-Tune-HERETIC-UNCENSORED-Thinking's KV cache?
6.17 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 gemma-4-31B-it-Mystery-Fine-Tune-HERETIC-UNCENSORED-Thinking 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.