deepseek-ai · text

deepseek-llm-7b-chat

deepseek-ai/deepseek-llm-7b-chat

deepseek-llm-7b-chat at Q4_K_M is exactly 4,223,768,032 bytes (3.93 GiB / 4.22 GB) — an effective 4.890 bits per weight, not the nominal 4. Its KV cache at 32K is 15.00 GiB.

From the file· summed from 1 file(s)From the file· KV per layer
Parameters
6.9B
Architecture
llama
30 layers
Context
4,096
native (config.json)
License
other

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
Q2_K2.53 GiB2,718,832,0963.147second-state
Q2_K2.79 GiB2,993,594,1443.466TheBloke
Q3_K_S2.92 GiB3,138,426,3363.633second-state
Q3_K_S2.92 GiB3,138,428,7043.633TheBloke
Q3_K_M3.22 GiB3,461,600,7364.007second-state
Q3_K_M3.23 GiB3,467,239,2004.014TheBloke
Q3_K_L3.49 GiB3,746,682,3364.338second-state
Q3_K_L3.49 GiB3,746,684,7044.338TheBloke
Q4_03.73 GiB4,000,470,4964.631second-state
Q4_03.73 GiB4,000,472,8644.631TheBloke
Q4_K_S3.75 GiB4,025,767,3924.661second-state
Q4_K_S3.75 GiB4,031,405,8564.667TheBloke
Q4_K_M3.93 GiB4,223,768,0324.890second-state
Q4_K_M3.93 GiB4,223,770,4004.890TheBloke
Q5_K_S4.48 GiB4,811,806,1765.571second-state
Q5_04.48 GiB4,811,806,1765.571second-state
Q5_04.48 GiB4,811,808,5445.571TheBloke
Q5_K_S4.48 GiB4,811,808,5445.571TheBloke
Q5_K_M4.59 GiB4,926,838,2405.704second-state
Q5_K_M4.59 GiB4,926,840,6085.704TheBloke
Q6_K5.28 GiB5,673,850,3366.569second-state
Q6_K5.28 GiB5,673,852,7046.569TheBloke
Q8_06.84 GiB7,347,394,0168.506second-state
Q8_06.84 GiB7,347,396,3848.506TheBloke

KV cache by context

computed per layer
ContextKV cache (f16)Flat formulaOverstated byFull / windowed / recurrent
4,0961.88 GiB1.88 GiB30 / 0 / 0
8,1923.75 GiB3.75 GiB30 / 0 / 0
16,3847.50 GiB7.50 GiB30 / 0 / 0
32,76815.00 GiB15.00 GiB30 / 0 / 0
65,53630.00 GiB30.00 GiB30 / 0 / 0
131,07260.00 GiB60.00 GiB30 / 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.62 GiB. The real file is 3.93 GiB, because a quantization is a mixture and some tensors are always kept at higher precision.

Architecture

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

Questions people ask

How much VRAM does deepseek-llm-7b-chat need?
Q4_K_M is exactly 4,223,768,032 bytes (3.93 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-llm-7b-chat's KV cache?
15.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-llm-7b-chat 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.