jinaai · text

jina-embeddings-v4

jinaai/jina-embeddings-v4

jina-embeddings-v4 at Q4_K_M is exactly 1,929,900,000 bytes (1.80 GiB / 1.93 GB) — an effective 4.112 bits per weight, not the nominal 4. Its KV cache at 32K is 1.13 GiB.

From the file· summed from 1 file(s)From the file· KV per layer
Parameters
3.8B
Architecture
qwen2vl
36 layers
Context
128,000
native (config.json)
License

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
IQ1_S0.74 GiB791,091,1681.685jinaai
IQ1_S0.74 GiB791,091,1681.685jinaai
IQ1_S0.74 GiB791,091,2001.685jinaai
IQ1_M0.79 GiB850,024,4161.811jinaai
IQ1_M0.79 GiB850,024,4161.811jinaai
IQ1_M0.79 GiB850,024,4481.811jinaai
IQ2_XXS0.88 GiB948,246,4962.020jinaai
IQ2_XXS0.88 GiB948,246,4962.020jinaai
IQ2_XXS0.88 GiB948,246,5282.020jinaai
IQ2_M1.06 GiB1,140,512,7362.430jinaai
IQ2_M1.06 GiB1,140,512,7362.430jinaai
IQ2_M1.06 GiB1,140,512,7682.430jinaai
Q2_K1.19 GiB1,274,752,9922.716jinaai
Q2_K1.19 GiB1,274,752,9922.716jinaai
Q2_K1.19 GiB1,274,753,0242.716jinaai
IQ3_XXS1.19 GiB1,282,824,1602.733jinaai
IQ3_XXS1.19 GiB1,282,824,1602.733jinaai
IQ3_XXS1.19 GiB1,282,824,1922.733jinaai
IQ3_XS1.30 GiB1,391,833,0562.965jinaai
IQ3_XS1.30 GiB1,391,833,0562.965jinaai
IQ3_XS1.30 GiB1,391,833,0882.965jinaai
IQ3_S1.36 GiB1,456,861,1523.104jinaai
IQ3_S1.36 GiB1,456,861,1523.104jinaai
IQ3_S1.36 GiB1,456,861,1843.104jinaai
IQ3_M1.39 GiB1,488,891,8723.172jinaai
IQ3_M1.39 GiB1,488,891,8723.172jinaai
IQ3_M1.39 GiB1,488,891,9043.172jinaai
Q3_K_M1.48 GiB1,590,472,6723.389jinaai
Q3_K_M1.48 GiB1,590,472,6723.389jinaai
Q3_K_M1.48 GiB1,590,472,7043.389jinaai
IQ4_XS1.62 GiB1,739,091,9363.705jinaai
IQ4_XS1.62 GiB1,739,091,9363.705jinaai
IQ4_XS1.62 GiB1,739,091,9683.705jinaai
IQ4_NL1.70 GiB1,825,206,2403.889jinaai
IQ4_NL1.70 GiB1,825,206,2403.889jinaai
IQ4_NL1.70 GiB1,825,206,2723.889jinaai
Q4_K_M1.80 GiB1,929,900,0004.112jinaai
Q4_K_M1.80 GiB1,929,900,0004.112jinaai
Q4_K_M1.80 GiB1,929,900,0324.112jinaai
Q5_K_S2.02 GiB2,169,663,4564.623jinaai

KV cache by context

computed per layer
ContextKV cache (f16)Flat formulaOverstated byFull / windowed / recurrent
4,0960.14 GiB0.14 GiB36 / 0 / 0
8,1920.28 GiB0.28 GiB36 / 0 / 0
16,3840.56 GiB0.56 GiB36 / 0 / 0
32,7681.13 GiB1.13 GiB36 / 0 / 0
65,5362.25 GiB2.25 GiB36 / 0 / 0
131,0724.50 GiB4.50 GiB36 / 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 1.97 GiB. The real file is 1.80 GiB, because a quantization is a mixture and some tensors are always kept at higher precision.

Architecture

from config.json
Layers
36
Attention heads
16
KV heads
2
Head dim
128
Hidden size
2048
Vocab
151,936
Sliding window
32768
SWA period
MLA
no
Experts
Experts per token
use_sliding_window
false

This model declares a sliding window but sets use_sliding_window: false, so the window is not applied. Honouring the field without the flag understates KV for the whole family.

Questions people ask

How much VRAM does jina-embeddings-v4 need?
Q4_K_M is exactly 1,929,900,000 bytes (1.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 jina-embeddings-v4's KV cache?
1.13 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 jina-embeddings-v4 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.