DavidAU · text · mixture of experts

gemma-4-19B-A4B-it-The-DECKARD-Heretic-Uncensored-Thinking

DavidAU/gemma-4-19B-A4B-it-The-DECKARD-Heretic-Uncensored-Thinking

gemma-4-19B-A4B-it-The-DECKARD-Heretic-Uncensored-Thinking at Q4_K_M is exactly 12,291,399,456 bytes (11.45 GiB / 12.29 GB) — an effective 5.169 bits per weight, not the nominal 4. Its KV cache at 32K is 1.54 GiB, not the 7.50 GiB a flat formula predicts.

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

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
I1-IQ1_S5.70 GiB6,123,351,6482.575mradermacher
I1-IQ1_M5.96 GiB6,395,799,6482.690mradermacher
I1-IQ2_XXS6.38 GiB6,849,879,6482.881mradermacher
I1-IQ2_XS6.73 GiB7,225,759,3283.039mradermacher
I1-IQ2_S6.78 GiB7,282,529,8883.063mradermacher
I1-IQ2_M7.12 GiB7,645,793,8883.215mradermacher
Q2_K7.28 GiB7,815,502,6243.287mradermacher
I1-Q2_K7.28 GiB7,815,502,9443.287mradermacher
I1-Q2_K_S7.29 GiB7,828,997,2163.292mradermacher
I1-IQ3_XXS7.74 GiB8,311,271,0083.495mradermacher
I1-IQ3_XS7.98 GiB8,572,207,2003.605mradermacher
Q3_K_S8.38 GiB8,996,110,6243.783mradermacher
I1-Q3_K_S8.38 GiB8,996,110,9443.783mradermacher
I1-IQ3_S8.38 GiB8,996,110,9443.783mradermacher
I1-IQ3_M8.51 GiB9,138,014,8163.843mradermacher
Q3_K_M9.10 GiB9,773,225,2484.110mradermacher
I1-Q3_K_M9.10 GiB9,773,225,5684.110mradermacher
Q3_K_L9.48 GiB10,174,437,6644.279mradermacher
I1-Q3_K_L9.48 GiB10,174,437,9844.279mradermacher
I1-IQ4_XS9.53 GiB10,232,363,1044.303mradermacher
IQ4_XS9.63 GiB10,336,070,4324.347mradermacher
I1-IQ4_NL9.88 GiB10,612,748,3844.463mradermacher
I1-Q4_09.92 GiB10,647,317,6004.478mradermacher
Q4_K_S10.56 GiB11,341,585,1844.770mradermacher
I1-Q4_K_S10.56 GiB11,341,585,5044.770mradermacher
I1-Q4_110.91 GiB11,719,211,1044.928mradermacher
Q4_K_M11.45 GiB12,291,399,4565.169mradermacher
I1-Q4_K_M11.45 GiB12,291,399,7765.169mradermacher
Q5_K_S12.27 GiB13,171,365,6645.539mradermacher
I1-Q5_K_S12.27 GiB13,171,365,9845.539mradermacher
Q5_K_M13.03 GiB13,987,938,0805.883mradermacher
I1-Q5_K_M13.03 GiB13,987,938,4005.883mradermacher
Q6_K15.38 GiB16,516,463,9046.946mradermacher
I1-Q6_K15.38 GiB16,516,464,2246.946mradermacher
Q8_018.29 GiB19,643,232,0328.261mradermacher

KV cache by context

computed per layer — this model uses sliding-window attention
ContextKV cache (f16)Flat formulaOverstated byFull / windowed / recurrent
4,0960.45 GiB0.94 GiB2.09×5 / 25 / 0
8,1920.61 GiB1.88 GiB3.10×5 / 25 / 0
16,3840.92 GiB3.75 GiB4.09×5 / 25 / 0
32,7681.54 GiB7.50 GiB4.86×5 / 25 / 0
65,5362.79 GiB15.00 GiB5.37×5 / 25 / 0
131,0725.29 GiB30.00 GiB5.67×5 / 25 / 0

25 of 30 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 Q4_K_M at roughly 9.97 GiB. The real file is 11.45 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 7.50 GiB at 32K context where the real figure is 1.54 GiB, because most of this model's layers cache a fixed window rather than the whole context.

Architecture

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

Questions people ask

How much VRAM does gemma-4-19B-A4B-it-The-DECKARD-Heretic-Uncensored-Thinking need?
Q4_K_M is exactly 12,291,399,456 bytes (11.45 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-19B-A4B-it-The-DECKARD-Heretic-Uncensored-Thinking's KV cache?
1.54 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.
Is gemma-4-19B-A4B-it-The-DECKARD-Heretic-Uncensored-Thinking a mixture-of-experts model?
Yes — 90 experts, null routed per token. Every expert must be resident, but only the routed ones are read per token, which is why its memory requirement and its speed behave very differently.
Which quantization of gemma-4-19B-A4B-it-The-DECKARD-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.