llmrun
MicrosoftPhi 3PhiMoEForCausalLM

Phi 3.5 MoE Instruct — Hardware Requirements & GPU Compatibility

ChatCode

Phi-3.5-MoE-instruct is Microsoft's Mixture-of-Experts model in the Phi-3.5 line, combining 16 experts of 3.8 billion parameters each, about 42 billion total, with only around 6.6 billion active per token. It is an instruction-tuned model refined with supervised fine-tuning, PPO, and DPO, built for multilingual reasoning tasks including code, math, and logic in memory- or latency-constrained deployments. It supports a 128K token context window and ships under the MIT license, allowing free commercial and research use. Because only about 6.6 billion parameters activate per token, it runs noticeably faster than its 42-billion-parameter size implies, though the full model still needs roughly 24 GB of memory at 4-bit quantization since all expert weights stay resident.

41.9B params · MoE6.6B active131K contextMIT25.7K downloads590 likes4.2K quant downloads
C

Usable on a 24 GB GPU

Runs from16 GB IQ2_S · 16KBest on24 GB Q3_K_L · ~141 tok/s · 16KMacs from18 GB IQ2_XXS · ~41 tok/s

MIT

Reference GPU · RTX 4090 24 GB

Estimates, ±20% · how we estimate

Run Phi 3.5 MoE Instruct

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

Ollama
one command · needs Ollama installed
$ollama run hf.co/bartowski/Phi-3.5-MoE-instruct-GGUF:Q4_K_M

Q4_K_M · needs ~27.6 GB · 16K context

Download: Phi-3.5-MoE-instruct-Q4_K_M.gguf25.35 GBbartowski

install, OS, other quants

Ways to runOther ways

each opens step-by-step

Run in cloud

Runs on A40 (48 GB) (20 GB headroom) · Q4_K_M

Generation speed
~93 tok/s
generation speed
Cost per 1M output tokens
$1.05
per 1M output tokens

How Much VRAM Does Phi 3.5 MoE Instruct Need?

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

QuantizationVRAM+32KOn RTX 4090 (reference)
18.4 GB22.4 GB2-bit · K-quant — 2-bit quantization with K-quant improvementsFits: 32K context · ~161 tok/s
18.9 GB22.9 GB3-bit small — 3-bit small quantizationFits: 32K context · ~158 tok/s
21.0 GB25 GB3-bit medium — 3-bit medium quantizationFits: 16K context · ~146 tok/s
21.5 GB25.5 GB4-bit · legacy — 4-bit legacy quantizationFits: 16K context · ~144 tok/s
25.7 GB29.7 GB4-bit medium — 4-bit medium quantization — most popular sweet spotDoes not fit: needs 27.6 GB
30.4 GB34.4 GB5-bit medium — 5-bit medium quantization — good quality/size tradeoffDoes not fit: needs 32.3 GB
35.1 GB39.1 GB6-bit, very good — 6-bit quantization, very good qualityDoes not fit: needs 37 GB
42.4 GB46.5 GB8-bit, near-lossless — 8-bit quantization, near-losslessDoes not fit: needs 44.3 GB
est.calculated, no published file yet

Selected Q4_K_M

4-bit medium quantization

27.6GBat 16K context

Weights
25.1 GB
KV cache
2.2 GB
Overhead
0.3 GB

Doesn't fit RTX 4090 (reference) · needs 3.6 GB more, Q3_K_L fits

≥50 tok/s needs ≥343 GB/s · RTX 5090 ~190, M3 Ultra ~74

Or .

Which Hardware Can Run Phi 3.5 MoE Instruct?

Q4_K_M · 25.7 GB

Phi 3.5 MoE Instruct (Q4_K_M) requires 25.7 GB of VRAM to load the model weights. For comfortable inference with headroom for KV cache and system overhead, 34+ GB is recommended. Using the full 131K context window can add up to 16.9 GB, bringing total usage to 42.6 GB. 1 GPU can run it, including NVIDIA GeForce RTX 5090. 98 devices with unified memory can run Phi 3.5 MoE Instruct, including Mac Studio (M3 Ultra, 256GB), Mac Studio (M3 Ultra, 512GB), Mac Studio M5 Max (36 GB).

By VRAM tier · typical GPUs and Macs at Q4_K_M
8–12 GB · RTX 4060, RTX 3060 12GBDoesn't fit — smallest quant needs 14 GB8 GB tier →12 GB tier →
16 GB · RTX 5060 Ti 16GBIQ2_S · 15.5 GB · ~109 tok/s · 16K16 GB tier →
24 GB · RTX 4090referenceQ3_K_L · 23.9 GB · ~141 tok/s · 16K24 GB tier →
Mac 32 GB · Mac Mini M4Q4_K_M · 27.6 GB · ~18 tok/s · 16KMacs →
Mac 64 GB · Mac Studio M4 MaxQ4_K_M · 27.6 GB · ~59 tok/s · 128KMacs →

How good is Phi 3.5 MoE Instruct?

llmrun Score blends public benchmark boards into one number; 100 = the average open model.

Not enough data yet for an llmrun Score.

A Score needs results on enough independent boards. How the Composite Score is built

Benchmarks

Here are all 3 boards that have results for this model, sorted by their weight in the llmrun Score; badges show who ran the test.

  • GSM8K

    Epoch AI · Aug 2024Lab-reported

    88.7%

    #5/62 open

    Lab-reported
  • BoolQ

    Epoch AI · Aug 2024Lab-reported

    84.6%

    #8/38 open

    Lab-reported
  • PIQA

    Epoch AI · Aug 2024Lab-reported

    88.6%

    #1/40 open

    Lab-reported

Alternatives to Phi 3.5 MoE Instruct

Phi 3 family · 15 models →

Similar models

2
ModelScoreVRAMtok/sWhy it is similar
FlintRecursiveSI—23.5 GB~205same size
Falcon 40B InstructTII UAE—23.8 GB~33same size

Specifications

Publisher
Microsoft
Family
Phi 3
Parameters
41.9B
Active parameters
6.6B per token
Architecture
PhiMoEForCausalLM
Context Length
131,072 tokens
Vocabulary Size
32,064
Release Date
2024-08-17
License
MIT

Frequently Asked Questions

How much VRAM does Phi 3.5 MoE Instruct need?

Phi 3.5 MoE Instruct requires 25.7 GB of VRAM at Q4_K_M, or 84.3 GB at BF16. Full 131K context adds up to 16.9 GB (42.6 GB total).

VRAM = Weights + KV Cache + Overhead

Weights = 41.9B × 4.8 bits ÷ 8 = 25.1 GB

KV Cache + Overhead ≈ 0.6 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 ≈ 17.5 GB (at full 131K context)

VRAM usage by quantization

25.7 GB
42.6 GB

Learn more about VRAM estimation →

Can NVIDIA GeForce RTX 4090 run Phi 3.5 MoE Instruct?

Yes, at IQ4_XS (23.1 GB) or lower. Higher quantizations like Q4_1 (24.1 GB) exceed the NVIDIA GeForce RTX 4090's 24 GB.

What's the best quantization for Phi 3.5 MoE Instruct?

For Phi 3.5 MoE Instruct, Q4_K_M (25.7 GB) offers the best balance of quality and VRAM usage. Q4_K_L (26.2 GB) provides better quality if you have the VRAM. The smallest option is IQ2_XXS at 12.1 GB.

VRAM requirement by quantization

IQ2_XXS
12.1 GB
Q3_K_S
18.9 GB
Q4_1
24.1 GB
Q4_K_M ★
25.7 GB
Q5_0
26.7 GB
BF16
84.3 GB

★ Recommended — best balance of quality and VRAM usage.

Learn more about quantization →

Can I run Phi 3.5 MoE Instruct on a Mac?

Yes — MacBook Pro 14" M3 Pro (18 GB) and 108 other Macs can run Phi 3.5 MoE Instruct, the smallest at IQ2_XXS. Apple Silicon uses unified memory, so the model shares RAM with the system. At Q4_K_M you need at least 25.7 GB of usable unified memory (RAM minus macOS overhead), from Mac Studio M1 Max (32 GB).

Can I run Phi 3.5 MoE Instruct locally?

Yes — Phi 3.5 MoE Instruct can run locally on consumer hardware. Popular tools include Ollama, LM Studio, and llama.cpp.

How fast is Phi 3.5 MoE Instruct?

At Q4_K_M, Phi 3.5 MoE Instruct can reach ~138 tok/s on AMD Instinct MI350X. 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 → 4.1 GB active ÷ (8000 × 0.65) = 0.784 ms, plus 32 layers × 0.055 ms = 1.760 ms, so 1000 ÷ 2.544 ms = ~393 tok/s

Estimated speed at Q4_K_M (25.7 GB)

~393 tok/s
~393 tok/s
~329 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 Phi 3.5 MoE Instruct?

At Q4_K_M, the download is about 25.12 GB. The full-precision BF16 version is 83.75 GB. The smallest option (IQ2_XXS) is 11.52 GB.

Which GPUs can run Phi 3.5 MoE Instruct?

1 consumer GPU can run Phi 3.5 MoE Instruct at Q4_K_M. Top options include NVIDIA GeForce RTX 5090.

Which devices can run Phi 3.5 MoE Instruct?

98 devices with unified memory can run Phi 3.5 MoE Instruct at Q4_K_M (25.7 GB), including ASUS Ascent GX10, Beelink GTR9 Pro (Ryzen AI Max+ 395, 128 GB), Framework Desktop (Ryzen AI Max+ 395, 128 GB), GMKtec EVO-X2 (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.