llmrun
Moonshot AIMoonlightDeepseekV3ForCausalLM

Moonlight 16B A3B — Hardware Requirements & GPU Compatibility

Chat

Moonlight 16B A3B is a compact Mixture-of-Experts model from Moonshot AI that packs 16 billion total parameters while activating only around 3 billion per token. This efficient sparse design lets it punch well above its active parameter count, delivering surprisingly strong chat performance for its effective inference cost. The small active parameter count means Moonlight runs briskly on modest hardware, fitting comfortably on GPUs with 8–12 GB of VRAM at common quantization levels. It is an appealing choice for users who want MoE-level performance diversity without the heavy memory footprint typically associated with mixture models.

16.0B params · MoE2.9B active8K contextMIT72.7K downloads109 likes
S

Runs great on a 24 GB GPU

Runs from8 GB Q2_K · 8KBest on24 GB Q4_K_M · ~229 tok/s · 8KMacs from16 GB Q4_K_M · ~53 tok/s

MIT

Reference GPU · RTX 4090 24 GB

Estimates, ±20% · how we estimate

Run Moonlight 16B A3B

One recommended way. Every other method, OS and quant is in the step-by-step guide.Each way opens a step-by-step guide for your OS and quant.

Recommended

vLLM
one command · needs vLLM installed
$vllm serve moonshotai/Moonlight-16B-A3B --max-model-len 8192

vLLM repo with its own quantisation

Download: Weights on Hugging Face

install, OS, other quants

Ways to runOther ways

each opens step-by-step

Run in cloud

Runs on RTX A4000 (16 GB) (5 GB headroom) · Q4_K_M

Generation speed
~126 tok/s
generation speed
Cost per 1M output tokens
$0.19
per 1M output tokens

How Much VRAM Does Moonlight 16B A3B Need?

Select a quantization level; the listed hardware adheres to it.

QuantizationVRAM+32KOn RTX 4090 (reference)
7.5 GB—2-bit · K-quant — 2-bit quantization with K-quant improvementsFits: 8K context · ~279 tok/s
8.5 GB—3-bit medium — 3-bit medium quantizationFits: 8K context · ~259 tok/s
10.3 GB—4-bit medium — 4-bit medium quantization — most popular sweet spotFits: 8K context · ~229 tok/s
12.1 GB—5-bit medium — 5-bit medium quantization — good quality/size tradeoffFits: 8K context · ~206 tok/s
13.9 GB—6-bit, very good — 6-bit quantization, very good qualityFits: 8K context · ~186 tok/s
16.7 GB—8-bit, near-lossless — 8-bit quantization, near-losslessFits: 8K context · ~163 tok/s
32.7 GB—16-bit · bfloat — Brain floating point 16 — preferred for trainingDoes not fit: needs 32.7 GB
est.calculated, no published file yet

Selected Q4_K_M

4-bit medium quantization

10.1GBat 8K context

Weights
9.6 GB
KV cache
0.3 GB
Overhead
0.3 GB

Fits RTX 4090 (reference) · 13.9 GB free · ~229 tok/s

≥50 tok/s needs ≥157 GB/s · RTX 5090 ~322, RTX 3090 Ti ~229

Which Hardware Can Run Moonlight 16B A3B?

Q4_K_M · 10.3 GB

Moonlight 16B A3B (Q4_K_M) requires 10.3 GB of VRAM to load the model weights. For comfortable inference with headroom for KV cache and system overhead, 14+ GB is recommended. 38 GPUs can run it, including NVIDIA GeForce RTX 5090, NVIDIA GeForce RTX 3090 Ti, NVIDIA GeForce RTX 3080 Ti. 150 devices with unified memory can run Moonlight 16B A3B, including Mac Studio (M3 Ultra, 256GB), Mac Studio (M3 Ultra, 512GB), Mac Mini M2 Pro (16 GB).

By VRAM tier · typical GPUs and Macs at Q4_K_M
8 GB · RTX 4060Q2_K · 7.3 GB · ~108 tok/s · 8K8 GB tier →
12 GB · RTX 3060 12GBQ4_K_M · 10.1 GB · ~105 tok/s · 8K12 GB tier →
16 GB · RTX 5060 Ti 16GBQ4_K_M · 10.1 GB · ~126 tok/s · 8K16 GB tier →
24 GB · RTX 4090referenceQ4_K_M · 10.1 GB · ~229 tok/s · 8K24 GB tier →
Mac 32 GB · Mac Mini M4Q4_K_M · 10.1 GB · ~36 tok/s · 8KMacs →
Mac 64 GB · Mac Studio M4 MaxQ4_K_M · 10.1 GB · ~97 tok/s · 8KMacs →

Alternatives to Moonlight 16B A3B

Similar models

6
ModelScoreVRAMtok/sWhy it is similar
Apriel 1.6 15B ThinkerServiceNow-AI—13.2 GB~67same size
LLaDA2.1 MiniInclusion AI—33.5 GB—needs > 24 GBsame size
LLaDA2.0 MiniInclusion AI—10.7 GB~406same size
DeepSeek v2 LiteDeepSeek—10.2 GB~243same size
Ling Mini 2.0Inclusion AI—10.7 GB~406same size
Deepseek Moe 16B ChatDeepSeek—11.1 GB~231same size
Fine-tunes & variants(1)

Specifications

Publisher
Moonshot AI
Family
Moonlight
Parameters
16.0B
Active parameters
2.9B per token
Architecture
DeepseekV3ForCausalLM
Context Length
8,192 tokens
Vocabulary Size
163,840
Release Date
2025-02-22
License
MIT

Frequently Asked Questions

How much VRAM does Moonlight 16B A3B need?

Moonlight 16B A3B requires 10.3 GB of VRAM at Q4_K_M, or 32.7 GB at BF16.

VRAM = Weights + KV Cache + Overhead

Weights = 16.0B × 4.8 bits ÷ 8 = 9.6 GB

KV Cache + Overhead ≈ 0.7 GB (at 2K context + ~0.3 GB framework)

Fit ratings and hardware model lists check this model with room for a 16K-token context, which needs a little more memory.

KV Cache + Overhead ≈ 0.5 GB (at full 8K context)

VRAM usage by quantization

10.3 GB
10.1 GB

Learn more about VRAM estimation →

Can NVIDIA GeForce RTX 4090 run Moonlight 16B A3B?

Yes, at Q8_0 (16.7 GB) or lower. Higher quantizations like BF16 (32.7 GB) exceed the NVIDIA GeForce RTX 4090's 24 GB.

What's the best quantization for Moonlight 16B A3B?

For Moonlight 16B A3B, Q4_K_M (10.3 GB) offers the best balance of quality and VRAM usage. Q5_K_M (12.1 GB) provides better quality if you have the VRAM. The smallest option is Q2_K at 7.5 GB.

VRAM requirement by quantization

Q2_K
7.5 GB
Q4_K_M ★
10.3 GB
Q5_K_M
12.1 GB
Q6_K
13.9 GB
Q8_0
16.7 GB
BF16
32.7 GB

★ Recommended — best balance of quality and VRAM usage.

Learn more about quantization →

Can I run Moonlight 16B A3B on a Mac?

Yes — Mac Mini M2 Pro (16 GB) and 133 other Macs can run Moonlight 16B A3B. Apple Silicon uses unified memory, so the model shares RAM with the system. At Q4_K_M you need at least 10.3 GB of usable unified memory (RAM minus macOS overhead).

Can I run Moonlight 16B A3B locally?

Yes — Moonlight 16B A3B can run locally on consumer hardware. Popular tools include Ollama, LM Studio, and llama.cpp.

How fast is Moonlight 16B A3B?

At Q4_K_M, Moonlight 16B A3B can reach ~173 tok/s on AMD Instinct MI350X. On NVIDIA GeForce RTX 4090: ~229 tok/s. Speed depends mainly on GPU memory bandwidth. Real-world results typically within ±20%.

tok/s = 1000 ÷ (active GB ÷ (bandwidth GB/s × efficiency) × 1000 + layers × routing ms)

Mixture-of-Experts: just the active experts get read for each token, along with a fixed routing cost per layer.

Example: NVIDIA B200 → 1.9 GB active ÷ (8000 × 0.65) = 0.36 ms, plus 27 layers × 0.055 ms = 1.49 ms, so 1000 ÷ 1.85 ms = ~541 tok/s

Estimated speed at Q4_K_M (10.3 GB)

~541 tok/s
~229 tok/s
~541 tok/s
~481 tok/s

Real-world results typically within ±20%. Speed depends on batch size, quantization kernel, and software stack.

Learn more about tok/s estimation →

What's the download size of Moonlight 16B A3B?

At Q4_K_M, the download is about 9.58 GB. The full-precision BF16 version is 31.92 GB. The smallest option (Q2_K) is 6.78 GB.

Which GPUs can run Moonlight 16B A3B?

38 consumer GPUs can run Moonlight 16B A3B at Q4_K_M. Top options include AMD Radeon RX 6800, AMD Radeon RX 6800 XT, AMD Radeon RX 6900 XT, AMD Radeon RX 6700 XT. 26 GPUs have plenty of headroom for comfortable inference.

Which devices can run Moonlight 16B A3B?

150 devices with unified memory can run Moonlight 16B A3B at Q4_K_M (10.3 GB), including AMD Ryzen AI 9 HX 370 (Strix Point) Laptop, ASUS Ascent GX10, Beelink GTR9 Pro (Ryzen AI Max+ 395, 128 GB), Framework Desktop (Ryzen AI Max+ 395, 128 GB). Apple Silicon Macs use unified memory shared between CPU and GPU, making them well-suited for local LLM inference.