IQuestLab · text

IQuest-Coder-V1-40B-Instruct

IQuestLab/IQuest-Coder-V1-40B-Instruct

IQuest-Coder-V1-40B-Instruct at I1-IQ1_S is exactly 8,496,100,544 bytes (7.91 GiB / 8.50 GB) — an effective 1.708 bits per weight, not the nominal 1. Its KV cache at 32K is 10.00 GiB.

From the file· summed from 1 file(s)From the file· KV per layer
Parameters
39.8B
Architecture
llama
80 layers
Context
131,072
native (config.json)
License
other

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
I1-IQ1_S7.91 GiB8,496,100,5441.708mradermacher
I1-IQ1_M8.68 GiB9,318,167,7441.873mradermacher
I1-IQ2_XXS9.95 GiB10,688,279,7442.149mradermacher
I1-IQ2_XS11.04 GiB11,849,905,3442.382mradermacher
I1-IQ2_S11.48 GiB12,328,522,9442.478mradermacher
I1-IQ2_M12.50 GiB13,424,612,5442.699mradermacher
I1-Q2_K_S12.79 GiB13,738,366,1442.762mradermacher
I1-Q2_K13.76 GiB14,769,738,9442.969mradermacher
I1-IQ3_XXS14.38 GiB15,445,578,9443.105mradermacher
I1-IQ3_XS15.32 GiB16,451,351,7443.307mradermacher
I1-IQ3_S16.17 GiB17,365,578,9443.491mradermacher
I1-Q3_K_S16.17 GiB17,365,578,9443.491mradermacher
I1-IQ3_M16.61 GiB17,832,113,3443.585mradermacher
I1-Q3_K_M17.92 GiB19,236,631,7443.867mradermacher
I1-Q3_K_L19.40 GiB20,825,879,7444.187mradermacher
I1-IQ4_XS19.86 GiB21,324,567,7444.287mradermacher
I1-Q4_021.03 GiB22,578,762,9444.539mradermacher
I1-Q4_K_S21.16 GiB22,719,665,3444.567mradermacher
I1-Q4_K_M22.38 GiB24,030,385,3444.831mradermacher
I1-Q4_123.24 GiB24,952,804,5445.016mradermacher
I1-Q5_K_S25.53 GiB27,415,319,7445.511mradermacher
I1-Q5_K_M26.26 GiB28,195,198,1445.668mradermacher
I1-Q6_K30.41 GiB32,648,164,5446.563mradermacher

KV cache by context

computed per layer
ContextKV cache (f16)Flat formulaOverstated byFull / windowed / recurrent
4,0961.25 GiB1.25 GiB80 / 0 / 0
8,1922.50 GiB2.50 GiB80 / 0 / 0
16,3845.00 GiB5.00 GiB80 / 0 / 0
32,76810.00 GiB10.00 GiB80 / 0 / 0
65,53620.00 GiB20.00 GiB80 / 0 / 0
131,07240.00 GiB40.00 GiB80 / 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 20.85 GiB. The real file is 7.91 GiB, because a quantization is a mixture and some tensors are always kept at higher precision.

Architecture

from config.json
Layers
80
Attention heads
40
KV heads
8
Head dim
128
Hidden size
5120
Vocab
76,800
Sliding window
none
SWA period
MLA
no
Experts
Experts per token
use_sliding_window
false

Questions people ask

How much VRAM does IQuest-Coder-V1-40B-Instruct need?
I1-IQ1_S is exactly 8,496,100,544 bytes (7.91 GiB) in weights. Add the KV cache, which depends on your context length, plus roughly half a gigabyte of runtime overhead.
How large is IQuest-Coder-V1-40B-Instruct's KV cache?
10.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 IQuest-Coder-V1-40B-Instruct 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.