deepseek-ai · text

deepseek-llm-67b-base

deepseek-ai/deepseek-llm-67b-base

deepseek-llm-67b-base at Q4_K_M is exactly 40,439,686,592 bytes (37.66 GiB / 40.44 GB) — an effective 4.798 bits per weight, not the nominal 4. Its KV cache at 32K is 11.88 GiB.

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

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
I1-IQ1_S13.65 GiB14,658,184,6721.739mradermacher
I1-IQ1_M14.89 GiB15,984,502,2401.897mradermacher
I1-IQ2_XXS16.95 GiB18,195,031,5202.159mradermacher
I1-IQ2_XS18.78 GiB20,162,684,3842.392mradermacher
I1-IQ2_S19.88 GiB21,345,904,0962.533mradermacher
I1-IQ2_M21.53 GiB23,114,327,5202.743mradermacher
I1-Q2_K23.40 GiB25,121,301,9842.981mradermacher
I1-IQ3_XXS24.32 GiB26,109,912,5443.098mradermacher
I1-IQ3_XS25.95 GiB27,861,624,2883.306mradermacher
Q2_K26.54 GiB28,495,750,5923.381TheBloke
Q3_K_S27.30 GiB29,309,380,0323.478TheBloke
I1-Q3_K_S27.30 GiB29,309,380,0643.478mradermacher
I1-IQ3_S27.40 GiB29,415,220,7043.490mradermacher
I1-IQ3_M28.43 GiB30,525,433,3123.622mradermacher
Q3_K_M30.35 GiB32,584,705,4723.866TheBloke
I1-Q3_K_M30.41 GiB32,652,338,6563.874mradermacher
Q3_K_L33.13 GiB35,575,768,5124.221TheBloke
I1-Q3_K_L33.13 GiB35,575,768,5444.221mradermacher
I1-IQ4_XS33.71 GiB36,196,394,4644.295mradermacher
Q4_035.53 GiB38,152,644,0324.527TheBloke
Q4_K_S35.62 GiB38,247,015,8724.538TheBloke
I1-Q4_035.65 GiB38,276,638,1764.542mradermacher
I1-Q4_K_S35.77 GiB38,404,826,5924.557mradermacher
Q4_K_M37.66 GiB40,439,686,5924.798TheBloke
I1-Q4_K_M37.66 GiB40,439,686,6244.798mradermacher
Q5_K_S43.28 GiB46,475,716,0325.514TheBloke
Q5_043.28 GiB46,475,716,0325.514TheBloke
I1-Q5_K_S43.28 GiB46,475,716,0645.514mradermacher
Q5_K_M44.38 GiB47,653,889,4725.654TheBloke
I1-Q5_K_M44.38 GiB47,653,889,5045.654mradermacher

KV cache by context

computed per layer
ContextKV cache (f16)Flat formulaOverstated byFull / windowed / recurrent
4,0961.48 GiB1.48 GiB95 / 0 / 0
8,1922.97 GiB2.97 GiB95 / 0 / 0
16,3845.94 GiB5.94 GiB95 / 0 / 0
32,76811.88 GiB11.88 GiB95 / 0 / 0
65,53623.75 GiB23.75 GiB95 / 0 / 0
131,07247.50 GiB47.50 GiB95 / 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 35.32 GiB. The real file is 37.66 GiB, because a quantization is a mixture and some tensors are always kept at higher precision.

Architecture

from config.json
Layers
95
Attention heads
64
KV heads
8
Head dim
128
Hidden size
8192
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-67b-base need?
Q4_K_M is exactly 40,439,686,592 bytes (37.66 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-67b-base's KV cache?
11.88 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-67b-base 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.