fremko · text

glm4.1v-9b-base-sft

fremko/glm4.1v-9b-base-sft

glm4.1v-9b-base-sft at I1-IQ1_S is exactly 3,117,807,648 bytes (2.90 GiB / 3.12 GB) — an effective 2.423 bits per weight, not the nominal 1. Its KV cache at 32K is 1.25 GiB.

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

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
I1-IQ1_S2.90 GiB3,117,807,6482.423mradermacher
I1-IQ1_M3.02 GiB3,239,704,6082.518mradermacher
I1-IQ2_XXS3.21 GiB3,442,866,2082.676mradermacher
I1-IQ2_XS3.38 GiB3,626,367,0082.819mradermacher
I1-IQ2_S3.52 GiB3,783,784,4802.941mradermacher
I1-IQ2_M3.68 GiB3,946,313,7603.067mradermacher
I1-Q2_K_S3.70 GiB3,973,249,0563.088mradermacher
I1-Q2_K3.73 GiB4,006,344,7363.114mradermacher
I1-IQ3_XXS3.94 GiB4,226,807,8403.285mradermacher
I1-IQ3_XS4.10 GiB4,406,409,2483.425mradermacher
I1-Q3_K_S4.28 GiB4,592,039,9683.569mradermacher
I1-IQ3_S4.28 GiB4,597,610,5283.574mradermacher
I1-IQ3_M4.40 GiB4,721,801,2483.670mradermacher
I1-Q3_K_M4.63 GiB4,974,508,0643.866mradermacher
I1-Q3_K_L4.84 GiB5,196,609,5684.039mradermacher
I1-IQ4_XS4.90 GiB5,262,276,6404.090mradermacher
I1-IQ4_NL5.09 GiB5,465,176,0964.248mradermacher
I1-Q4_05.10 GiB5,477,464,0964.257mradermacher
I1-Q4_K_S5.36 GiB5,758,482,4644.476mradermacher
I1-Q4_15.60 GiB6,008,600,6084.670mradermacher
I1-Q4_K_M5.74 GiB6,166,575,1364.793mradermacher
I1-Q5_K_S6.24 GiB6,697,515,0405.206mradermacher
I1-Q5_K_M6.57 GiB7,050,917,9205.480mradermacher
I1-Q6_K7.70 GiB8,266,643,4886.425mradermacher

KV cache by context

computed per layer
ContextKV cache (f16)Flat formulaOverstated byFull / windowed / recurrent
4,0960.16 GiB0.16 GiB40 / 0 / 0
8,1920.31 GiB0.31 GiB40 / 0 / 0
16,3840.63 GiB0.63 GiB40 / 0 / 0
32,7681.25 GiB1.25 GiB40 / 0 / 0
65,5362.50 GiB2.50 GiB40 / 0 / 0
131,0725.00 GiB5.00 GiB40 / 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 I1-IQ1_S at roughly 5.39 GiB. The real file is 2.90 GiB, because a quantization is a mixture and some tensors are always kept at higher precision.

Architecture

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

Questions people ask

How much VRAM does glm4.1v-9b-base-sft need?
I1-IQ1_S is exactly 3,117,807,648 bytes (2.90 GiB) in weights. Add the KV cache, which depends on your context length, plus roughly half a gigabyte of runtime overhead.
How large is glm4.1v-9b-base-sft's KV cache?
1.25 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 glm4.1v-9b-base-sft 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.