JetBrains · text

deepseek-coder-6.7B-kexer

JetBrains/deepseek-coder-6.7B-kexer

deepseek-coder-6.7B-kexer at Q4_K_M is exactly 4,082,886,560 bytes (3.80 GiB / 4.08 GB) — an effective 4.846 bits per weight, not the nominal 4. Its KV cache at 32K is 16.00 GiB.

From the file· summed from 1 file(s)From the file· KV per layer
Parameters
6.7B
Architecture
llama
32 layers
Context
16,384
native (config.json)
License
apache-2.0

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
I1-IQ1_S1.42 GiB1,530,080,6401.816mradermacher
I1-IQ1_M1.54 GiB1,652,469,1201.961mradermacher
I1-IQ2_XXS1.73 GiB1,856,449,9202.203mradermacher
I1-IQ2_XS1.90 GiB2,036,411,7762.417mradermacher
I1-IQ2_S2.05 GiB2,198,171,0082.609mradermacher
I1-IQ2_M2.20 GiB2,361,355,6482.803mradermacher
Q2_K2.36 GiB2,534,500,2563.008QuantFactory
I1-Q2_K2.36 GiB2,534,501,7603.008mradermacher
I1-IQ3_XXS2.41 GiB2,586,996,0963.070mradermacher
I1-IQ3_XS2.61 GiB2,798,267,7763.321mradermacher
Q3_K_S2.75 GiB2,950,047,6483.501QuantFactory
I1-Q3_K_S2.75 GiB2,950,049,1523.501mradermacher
I1-IQ3_S2.75 GiB2,950,049,1523.501mradermacher
IQ3_M2.90 GiB3,116,607,6803.699lmstudio-community
I1-IQ3_M2.90 GiB3,116,608,8963.699mradermacher
Q3_K_M3.07 GiB3,299,747,7443.916QuantFactory
I1-Q3_K_M3.07 GiB3,299,749,2483.916mradermacher
Q3_K_L3.35 GiB3,598,854,0484.271QuantFactory
I1-Q3_K_L3.35 GiB3,598,855,5524.271mradermacher
I1-IQ4_XS3.37 GiB3,621,186,9444.298mradermacher
Q4_03.56 GiB3,827,689,3764.543QuantFactory
I1-Q4_03.58 GiB3,838,963,0724.556mradermacher
Q4_K_S3.59 GiB3,858,622,3684.580QuantFactory
I1-Q4_K_S3.59 GiB3,858,623,8724.580mradermacher
Q4_K_M3.80 GiB4,082,886,5604.846QuantFactory
Q4_K_M3.80 GiB4,082,886,8484.846lmstudio-community
I1-Q4_K_M3.80 GiB4,082,888,0644.846mradermacher
Q4_13.95 GiB4,240,697,2485.033QuantFactory
Q5_K_S4.33 GiB4,653,705,1205.523QuantFactory
Q5_04.33 GiB4,653,705,1205.523QuantFactory
I1-Q5_K_S4.33 GiB4,653,706,6245.523mradermacher
Q5_K_M4.46 GiB4,785,170,3365.679QuantFactory
I1-Q5_K_M4.46 GiB4,785,171,8405.679mradermacher
Q5_14.72 GiB5,066,712,9926.013QuantFactory
Q6_K5.15 GiB5,531,346,8486.565QuantFactory
Q6_K5.15 GiB5,531,347,1366.565lmstudio-community
I1-Q6_K5.15 GiB5,531,348,3526.565mradermacher
Q8_06.67 GiB7,163,750,3048.502QuantFactory
Q8_06.67 GiB7,163,750,5928.502lmstudio-community

KV cache by context

computed per layer
ContextKV cache (f16)Flat formulaOverstated byFull / windowed / recurrent
4,0962.00 GiB2.00 GiB32 / 0 / 0
8,1924.00 GiB4.00 GiB32 / 0 / 0
16,3848.00 GiB8.00 GiB32 / 0 / 0
32,76816.00 GiB16.00 GiB32 / 0 / 0
65,53632.00 GiB32.00 GiB32 / 0 / 0
131,07264.00 GiB64.00 GiB32 / 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 Q4_K_M at roughly 3.53 GiB. The real file is 3.80 GiB, because a quantization is a mixture and some tensors are always kept at higher precision.

Architecture

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

Questions people ask

How much VRAM does deepseek-coder-6.7B-kexer need?
Q4_K_M is exactly 4,082,886,560 bytes (3.80 GiB) in weights. Add the KV cache, which depends on your context length, plus roughly half a gigabyte of runtime overhead.
How large is deepseek-coder-6.7B-kexer's KV cache?
16.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 deepseek-coder-6.7B-kexer 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.