arcee-ai · text · mixture of experts

Trinity-Nano-Preview

arcee-ai/Trinity-Nano-Preview

Trinity-Nano-Preview at Q4_K_M is exactly 3,786,957,088 bytes (3.53 GiB / 3.79 GB) — an effective 4.950 bits per weight, not the nominal 4. Its KV cache at 32K is 0.54 GiB, not the 1.75 GiB a flat formula predicts.

From the file· summed from 1 file(s)From the file· KV per layer
Parameters
6.1B
total, not active
Architecture
afmoe
56 layers
Context
131,072
native (config.json)
License
apache-2.0

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
IQ2_M1.94 GiB2,080,837,9202.720arcee-ai
IQ2_M1.94 GiB2,080,837,9202.720bartowski
Q2_K2.13 GiB2,290,827,5522.994arcee-ai
Q2_K2.13 GiB2,290,827,5522.994bartowski
Q2_K_L2.32 GiB2,491,019,5523.256bartowski
Q2_K_L2.32 GiB2,491,019,5523.256arcee-ai
IQ3_XXS2.36 GiB2,537,128,2243.317bartowski
IQ3_XXS2.36 GiB2,537,128,2243.317arcee-ai
IQ3_XS2.47 GiB2,653,450,5283.469bartowski
IQ3_XS2.47 GiB2,653,450,5283.469arcee-ai
Q3_K_S2.60 GiB2,786,373,9203.642bartowski
Q3_K_S2.60 GiB2,786,373,9203.642arcee-ai
IQ3_M2.71 GiB2,905,026,8483.797arcee-ai
IQ3_M2.71 GiB2,905,026,8483.797bartowski
Q3_K_M2.71 GiB2,905,878,8163.799bartowski
Q3_K_M2.71 GiB2,905,878,8163.799arcee-ai
Q3_K_L2.80 GiB3,001,561,3763.924arcee-ai
Q3_K_L2.80 GiB3,001,561,3763.924bartowski
Q3_K_L3.01 GiB3,234,664,9604.228dphn
IQ4_XS3.14 GiB3,376,898,3364.414bartowski
IQ4_XS3.14 GiB3,376,898,3364.414arcee-ai
IQ4_NL3.31 GiB3,557,433,6324.650arcee-ai
IQ4_NL3.31 GiB3,557,433,6324.650bartowski
Q4_03.36 GiB3,603,177,7604.710arcee-ai
Q4_03.36 GiB3,603,177,7604.710bartowski
Q4_K_S3.41 GiB3,665,568,0324.792bartowski
Q4_K_S3.41 GiB3,665,568,0324.792arcee-ai
Q4_K_M3.53 GiB3,786,957,0884.950bartowski
Q4_K_M3.53 GiB3,786,957,0884.950arcee-ai
Q4_13.65 GiB3,913,916,7045.116bartowski
Q4_13.65 GiB3,913,916,7045.116arcee-ai
Q4_K_L3.67 GiB3,939,103,0085.149arcee-ai
Q4_K_L3.67 GiB3,939,103,0085.149bartowski
Q5_K_S3.99 GiB4,282,499,3605.598arcee-ai
Q5_K_S3.99 GiB4,282,499,3605.598bartowski
Q5_K_M4.08 GiB4,384,985,6005.732dphn
Q5_K_M4.10 GiB4,405,510,4325.759bartowski
Q5_K_M4.10 GiB4,405,510,4325.759arcee-ai
Q5_K_L4.22 GiB4,532,031,7765.924arcee-ai
Q5_K_L4.22 GiB4,532,031,7765.924bartowski

KV cache by context

computed per layer — this model uses sliding-window attention
ContextKV cache (f16)Flat formulaOverstated byFull / windowed / recurrent
4,0960.16 GiB0.22 GiB1.39×14 / 42 / 0
8,1920.21 GiB0.44 GiB2.06×14 / 42 / 0
16,3840.32 GiB0.88 GiB2.72×14 / 42 / 0
32,7680.54 GiB1.75 GiB3.24×14 / 42 / 0
65,5360.98 GiB3.50 GiB3.58×14 / 42 / 0
131,0721.85 GiB7.00 GiB3.78×14 / 42 / 0

42 of 56 layers cache only a 2,048-token window rather than the full context, on a period of 4. Figures assume the default configuration; --swa-full disables the saving entirely.

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.21 GiB. The real file is 3.53 GiB, because a quantization is a mixture and some tensors are always kept at higher precision. The larger discrepancy is the cache: a flat formula gives 1.75 GiB at 32K context where the real figure is 0.54 GiB, because most of this model's layers cache a fixed window rather than the whole context.

Architecture

from config.json
Layers
56
Attention heads
8
KV heads
2
Head dim
128
Hidden size
1024
Vocab
200,192
Sliding window
2048
SWA period
4
MLA
no
Experts
128
Experts per token
8
use_sliding_window

Questions people ask

How much VRAM does Trinity-Nano-Preview need?
Q4_K_M is exactly 3,786,957,088 bytes (3.53 GiB) in weights. Add the KV cache, which depends on your context length, plus roughly half a gigabyte of runtime overhead.
How large is Trinity-Nano-Preview's KV cache?
0.54 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.
Is Trinity-Nano-Preview a mixture-of-experts model?
Yes — 128 experts, 8 routed per token. Every expert must be resident, but only the routed ones are read per token, which is why its memory requirement and its speed behave very differently.
Which quantization of Trinity-Nano-Preview 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.