Hunyuan A13B Instruct (混元 80B) on L20 48GB (48GB) — VRAM, KV Cache & Throughput

Hunyuan A13B Instruct (混元 80B) (80B total, 13B active, Sparse MoE + GQA) uses 45.38 GiB of 4-bit weights (Q4_K_M), requiring 46.94 GiB total at 8K context and 49.94 GiB at 32K on L20 48GB (~48.9 tok/s decode).

Interactive Sizing Workbench

Full Compatibility Report →
48 GB · 864 GB/s
Tight Fit (<8% Headroom)
Config-derived formula HF config.json ↗
Memory Allocation Breakdown (GiB) 46.94 GiB (50.4 GB) / 48 GiB (98%)
Model Weights: 45.38 GiB KV Cache & State: 1 GiB Runtime & Activation Buffers: 0.56 GiB System RAM Offload: 0 GiB
Required GPU Memory
46.94 GiB
50.4 GB (decimal)
Usable Hardware Memory
45.6 GiB
48 GB (physical)
Safe Headroom
-1.34 GiB
98% utilization
Est. Decode Throughput
~48.9 tok/s
13B active params
Est. Prefill Throughput
~2400 tok/s
4K Prompt TTFT: ~1707 ms
Est. Cost / 1M Tokens
$2.51
Sparse MoE + GQA · Hunyuan

Recommended Hardware for Current Configuration

Best Single GPU
RTX PRO 6000 Blackwell (96GB)
~$8,500
Best Value / Used GPU
2x RTX 5090
64GB · ~$5,200
Apple Unified Memory
Ryzen AI Max+ 395 128GB
~$1,999
Cloud From
Vast.ai · $0.44 / hr
1x A100 80GB SXM

Production Launch Commands

llama.cpp (GGUF)
llama-server -hf tencent/Hunyuan-A13B-Instruct-GGUF:Q4_K_M \
  --ctx-size 8192 -ngl 999 --flash-attn
vLLM
vllm serve tencent/Hunyuan-A13B-Instruct \
  --max-model-len 8192 --gpu-memory-utilization 0.92
Live Token Speed Simulator (TTFT ~1707ms · ~48.9 tok/s)
[Hunyuan A13B Instruct (混元 80B) · 46.94 GiB] allocated on target GPU. Prefill completed in TTFT window; streaming autoregressive tokens at memory-bandwidth-bound rate...

Cloud GPU Comparison & Rent-vs-Buy TCO

Verified public rates across RunPod, Vast.ai, Vultr, and DigitalOcean.

Verified: 2026-11-04
Purchase break-even
~64.4 months
Est. local power: $12.77 / mo
Provider Recommended Instance Total VRAM Hourly Rate Monthly at Selected Hours Billing Mode Deploy
RunPod 1x A100 80GB SXM (Community Cloud · PCIe) 80 GB $1.19 / hr $144.70 / mo Per-second Deploy GPU ↗
Vast.ai 1x A100 80GB SXM (Verified Host · SXM4) 80 GB $0.44 / hr $53.75 / mo Spot / On-demand Deploy GPU ↗
Vultr ($300 Free Credit*) 1x A100 80GB SXM (Dedicated Instance · $300 Credit*) 80 GB $2.40 / hr $291.48 / mo Hourly Deploy GPU ↗
Vultr Cloud GPU 1x A100 80GB SXM (Dedicated Instance) 80 GB $2.40 / hr $291.48 / mo Hourly Deploy GPU ↗
DigitalOcean 1x Instinct MI300X 192GB (Dedicated Instance) 192 GB $2.59 / hr $314.94 / mo Per-second Deploy GPU ↗

Rates reflect public listings on the verification date and fluctuate with regional inventory.

Fine-Tuning VRAM Requirements (QLoRA / LoRA / Full) — Hunyuan A13B Instruct (混元 80B)

QLoRA (4b) Exceeds Available GPU Memory
48.28 GiB
Model Weights: 45.38 GiB · Gradients + Optimizer: 1.82 GiB · Act: 1.08 GiB
Recommended GPU: RTX PRO 6000 Blackwell (96GB)
LoRA (16b) Exceeds Available GPU Memory
153.3 GiB
Model Weights: 149.01 GiB · Gradients + Optimizer: 2.86 GiB · Act: 1.43 GiB
Recommended GPU: Instinct MI300X 192GB (192GB)
Full BF16 Exceeds Available GPU Memory
613.46 GiB
Model Weights: 149.01 GiB · Gradients + Optimizer: 461.93 GiB · Act: 2.52 GiB
Recommended GPU: 4x B200 180GB (720GB)

Engineering Sizing Notes & Optimization Playbook

Quick Hardware Verdict

A single L20 48GB (48GB) cannot hold 4-bit Hunyuan A13B Instruct (混元 80B) (46.94 GiB at 8K) entirely in VRAM. Use multi-GPU tensor parallelism, offload layers to system RAM, or deploy on a larger cloud GPU.

KV Cache & Runtime Tuning

Hunyuan A13B Instruct (混元 80B) uses Sparse MoE + GQA (80B total, 13B active per token). Moving from 8K to 32K context expands FP16 KV cache from 1 GiB to 4 GiB; enabling 8-bit KV cache (llama.cpp -ctk q8_0 -ctv q8_0 or vLLM --kv-cache-dtype fp8) saves 2 GiB at 32K (reducing total VRAM to 47.94 GiB).

VRAM Scaling Across Context Windows (4K to 128K, 4-bit Weights)

Hunyuan A13B Instruct (混元 80B) VRAM scaling from 4K to 128K context (4K: 46.44 GiB, 8K: 46.94 GiB, 32K: 49.94 GiB, 128K: 61.94 GiB) 4K 46.44 GiB (KV 0.5 GiB) 8K 46.94 GiB (KV 1 GiB) 32K 49.94 GiB (KV 4 GiB) 128K 61.94 GiB (KV 16 GiB) L20 48GB (48GB)
Model weights remain constant while attention KV cache grows with context length and batch size.

Quantization Precision & Memory Matrix — Hunyuan A13B Instruct (混元 80B) @ 8K

Quantization Format Weights (GiB) KV Cache Total VRAM (GiB) Decode Speed Compatibility (L20 48GB) Recommended GPU Data Source
Native Weights (BF16 / FP8 / MXFP4 — Lossless) (BF16) 149.01 GiB 1 GiB 150.57 GiB (161.67 GB) ~2.9 tok/s Exceeds Available GPU Memory Instinct MI300X 192GB (192GB) Official checkpoint size
FP8 / GGUF Q8_0 (8-bit — Near-Lossless) (Q8_0) 79.16 GiB 1 GiB 80.72 GiB (86.67 GB) ~7.8 tok/s Exceeds Available GPU Memory RTX PRO 6000 Blackwell (96GB) Config-derived formula
GGUF Q6_K (6-bit — High Precision) (Q6_K) 61.09 GiB 1 GiB 62.65 GiB (67.27 GB) ~14.4 tok/s Exceeds Available GPU Memory RTX PRO 6000 Blackwell (96GB) Config-derived formula
GGUF Q5_K_M (5-bit — Balanced) (Q5_K_M) 53.1 GiB 1 GiB 54.66 GiB (58.69 GB) ~23.2 tok/s Exceeds Available GPU Memory RTX PRO 6000 Blackwell (96GB) Config-derived formula
Q4_K_M / UD-Q4_K_XL / AWQ (4-bit — Recommended) (Q4_K_M) 45.38 GiB 1 GiB 46.94 GiB (50.4 GB) ~48.9 tok/s Tight Fit (<8% Headroom) RTX PRO 6000 Blackwell (96GB) Config-derived formula
GGUF IQ4_XS (4.25-bit — Compact) (IQ4_XS) 39.73 GiB 1 GiB 41.29 GiB (44.33 GB) ~54.8 tok/s Fits with Safe Headroom A40 48GB (48GB) Config-derived formula
GGUF Q3_K_M (3-bit — Low VRAM) (Q3_K_M) 36.55 GiB 1 GiB 38.11 GiB (40.92 GB) ~58.8 tok/s Fits with Safe Headroom A40 48GB (48GB) Config-derived formula
GGUF UD-Q2_K_XL (2-bit — Extreme MoE) (UD-Q2_K_XL) 25.83 GiB 1 GiB 27.39 GiB (29.41 GB) ~77.9 tok/s Fits with Safe Headroom Radeon AI PRO R9700 32GB (32GB) Config-derived formula

Technical Specifications & FAQ

Does Hunyuan A13B Instruct (混元 80B) fit on L20 48GB (48GB)?

In 4-bit (Q4_K_M) at 8,192 context, Hunyuan A13B Instruct (混元 80B) requires 46.94 GiB total GPU memory (45.38 GiB weights + 1 GiB KV cache + 0.56 GiB runtime buffers) against 45.6 GiB usable on L20 48GB, delivering ~48.9 tok/s decode.

How much VRAM does Hunyuan A13B Instruct (混元 80B) need at 32K context?

At 32,768 context tokens, Hunyuan A13B Instruct (混元 80B) (Sparse MoE + GQA) allocates 4 GiB for KV cache and state, bringing total 4-bit VRAM to 49.94 GiB (53.62 GB decimal).

Evaluate This Model on Other GPUs

Evaluate Other Models on This Hardware