01-ai · text

Yi-1.5-6B-Chat

01-ai/Yi-1.5-6B-Chat

Yi-1.5-6B-Chat at Q4_K_M is exactly 3,673,968,512 bytes (3.42 GiB / 3.67 GB) — an effective 4.849 bits per weight, not the nominal 4. Its KV cache at 32K is 2.00 GiB.

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

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
Q2_K2.18 GiB2,337,066,8803.085MaziyarPanahi
Q2_K2.18 GiB2,337,066,9443.085second-state
Q3_K_S2.52 GiB2,709,196,6723.576MaziyarPanahi
Q3_K_S2.52 GiB2,709,196,7363.576second-state
Q3_K_M2.79 GiB2,992,836,4803.950291MaziyarPanahi
Q3_K_M2.79 GiB2,992,836,5443.950second-state
Q3_K_L3.01 GiB3,236,892,5444.272MaziyarPanahi
Q3_K_L3.01 GiB3,236,892,6084.272second-state
Q3_K_L3.01 GiB3,236,892,7684.272lmstudio-community
Q4_03.24 GiB3,479,326,6564.592second-state
IQ4_NL3.25 GiB3,487,715,4244.604lmstudio-community
Q4_K_S3.26 GiB3,502,919,5524.623MaziyarPanahi
Q4_K_S3.26 GiB3,502,919,6164.623second-state
Q4_K_M3.42 GiB3,673,968,5124.849291MaziyarPanahi
Q4_K_M3.42 GiB3,673,968,5764.849second-state
Q4_K_M3.42 GiB3,673,968,7364.849lmstudio-community
Q5_K_S3.92 GiB4,204,154,7525.549MaziyarPanahi
Q5_K_S3.92 GiB4,204,154,8165.549second-state
Q5_03.92 GiB4,204,154,8165.549second-state
Q5_K_M4.01 GiB4,304,424,8325.681291MaziyarPanahi
Q5_K_M4.01 GiB4,304,424,8965.681second-state
Q5_K_M4.01 GiB4,304,425,0565.681lmstudio-community
Q6_K4.63 GiB4,974,284,6726.566291MaziyarPanahi
Q6_K4.63 GiB4,974,284,7366.566second-state
Q6_K4.63 GiB4,974,284,8966.566lmstudio-community
Q8_06.00 GiB6,442,127,2968.503second-state
Q8_06.00 GiB6,442,127,4568.503lmstudio-community
F1611.29 GiB12,124,098,49616.003second-state
F3222.58 GiB24,245,636,96032.002lmstudio-community

KV cache by context

computed per layer
ContextKV cache (f16)Flat formulaOverstated byFull / windowed / recurrent
4,0960.25 GiB0.25 GiB32 / 0 / 0
8,1920.50 GiB0.50 GiB32 / 0 / 0
16,3841.00 GiB1.00 GiB32 / 0 / 0
32,7682.00 GiB2.00 GiB32 / 0 / 0
65,5364.00 GiB4.00 GiB32 / 0 / 0
131,0728.00 GiB8.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.18 GiB. The real file is 3.42 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
4
Head dim
128
Hidden size
4096
Vocab
64,000
Sliding window
none
SWA period
MLA
no
Experts
Experts per token
use_sliding_window

Questions people ask

How much VRAM does Yi-1.5-6B-Chat need?
Q4_K_M is exactly 3,673,968,512 bytes (3.42 GiB) in weights. Add the KV cache, which depends on your context length, plus roughly half a gigabyte of runtime overhead.
How large is Yi-1.5-6B-Chat's KV cache?
2.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 Yi-1.5-6B-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.