tencent · text · mixture of experts

Hunyuan-A13B-Instruct

tencent/Hunyuan-A13B-Instruct

Hunyuan-A13B-Instruct at Q4_K_M is exactly 48,782,258,016 bytes (45.43 GiB / 48.78 GB) — an effective 4.854 bits per weight, not the nominal 4. Its KV cache at 32K is 4.00 GiB.

From the file· summed from 1 file(s)From the file· KV per layer
Parameters
80.4B
total, not active
Architecture
hunyuan-moe
32 layers
Context
32,768
native (config.json)
License
other

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
IQ1_S15.18 GiB16,298,101,8881.622gabriellarson
IQ1_M16.54 GiB17,754,901,7601.767bartowski
IQ1_M16.87 GiB18,115,742,8481.803gabriellarson
IQ2_XXS18.39 GiB19,743,526,1441.965bartowski
IQ2_XXS19.69 GiB21,145,144,4482.104gabriellarson
UD-TQ1_020.95 GiB22,495,637,8882.239unsloth
IQ2_XS21.11 GiB22,666,956,0322.256bartowski
IQ2_S21.17 GiB22,734,064,8962.262bartowski
IQ2_XS21.97 GiB23,585,442,9442.347gabriellarson
IQ2_S22.19 GiB23,827,074,1762.371gabriellarson
UD-IQ1_S22.89 GiB24,578,109,8242.446unsloth
UD-IQ1_M23.82 GiB25,572,651,3922.545unsloth
IQ2_M23.95 GiB25,714,117,8882.559bartowski
IQ2_M24.45 GiB26,250,595,4562.612gabriellarson
Q2_K_S25.59 GiB27,472,310,1122.734gabriellarson
UD-IQ2_XXS25.73 GiB27,625,271,6802.749unsloth
UD-IQ2_M26.85 GiB28,833,231,2322.869unsloth
Q2_K26.98 GiB28,966,268,8962.882bartowski
Q2_K_L27.10 GiB29,093,410,5602.895bartowski
Q2_K27.40 GiB29,418,205,0242.927gabriellarson
Q2_K_L27.40 GiB29,418,205,5682.927unsloth
Q2_K27.40 GiB29,418,205,5682.927unsloth
IQ3_XXS28.85 GiB30,979,017,8563.083gabriellarson
IQ3_XXS30.19 GiB32,415,567,1043.226bartowski
IQ3_XS30.67 GiB32,930,934,6243.277gabriellarson
IQ3_XS31.41 GiB33,726,803,9363.356bartowski
UD-IQ3_XXS31.88 GiB34,229,694,8483.406unsloth
Q3_K_S32.40 GiB34,784,816,9923.462gabriellarson
Q3_K_S32.40 GiB34,784,817,5363.462unsloth
IQ3_S32.41 GiB34,802,642,7843.463gabriellarson
IQ3_M32.88 GiB35,308,449,6323.514gabriellarson
Q3_K_S33.10 GiB35,546,083,2963.537bartowski
IQ3_M34.72 GiB37,275,185,1203.709bartowski
Q3_K_M34.72 GiB37,276,233,6963.709bartowski
Q3_K_M35.91 GiB38,555,496,2883.837gabriellarson
Q3_K_M35.91 GiB38,555,496,8323.837unsloth
Q3_K_L36.10 GiB38,764,163,0403.857bartowski
Q3_K_L38.84 GiB41,705,418,5924.150gabriellarson
IQ4_XS39.97 GiB42,916,523,8724.271gabriellarson
IQ4_XS39.97 GiB42,916,524,4164.271unsloth

KV cache by context

computed per layer
ContextKV cache (f16)Flat formulaOverstated byFull / windowed / recurrent
4,0960.50 GiB0.50 GiB32 / 0 / 0
8,1921.00 GiB1.00 GiB32 / 0 / 0
16,3842.00 GiB2.00 GiB32 / 0 / 0
32,7684.00 GiB4.00 GiB32 / 0 / 0
65,5368.00 GiB8.00 GiB32 / 0 / 0
131,07216.00 GiB16.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 42.12 GiB. The real file is 45.43 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
8
Head dim
128
Hidden size
4096
Vocab
128,167
Sliding window
none
SWA period
MLA
no
Experts
64
Experts per token
use_sliding_window

Questions people ask

How much VRAM does Hunyuan-A13B-Instruct need?
Q4_K_M is exactly 48,782,258,016 bytes (45.43 GiB) in weights. Add the KV cache, which depends on your context length, plus roughly half a gigabyte of runtime overhead.
How large is Hunyuan-A13B-Instruct's KV cache?
4.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.
Is Hunyuan-A13B-Instruct a mixture-of-experts model?
Yes — 64 experts, null 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 Hunyuan-A13B-Instruct 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.