How much VRAM does Phi-3.5-mini need?
In BF16 the weights alone take 7.12 GiB (7.6 GB). In FP8 that is 3.74 GiB, and about 2.17 GiB with 4-bit quantization (Q4_K_M). Each request then adds KV cache: 3.00 GiB at 8K tokens and 12.0 GiB at 32K (BF16 cache).
Can Phi-3.5-mini run on an 8 GB, 12 GB or 16 GB graphics card?
With a 32K context and llama.cpp: 8 GB (RTX 4060): only with part of the model in system RAM, about 4.4 tokens/s in Q6_K; 12 GB (RTX 3060): only with part of the model in system RAM, about 7.2 tokens/s in Q5_K_M; 16 GB (RTX 4060 Ti): yes, in Q4_K_M, about 13 tokens/s. Counted with 32 GB of system RAM. A shorter context needs less memory.
How fast is Phi-3.5-mini on an RTX 4090 or an RTX 5090?
About 34 tokens/s on an RTX 4090 in BF16. About 60 tokens/s on an RTX 5090 in BF16. These are estimates for one request at a 32K context; against 23 published llama.cpp measurements on consumer and workstation GPUs, our estimates are 12% off at the median.
Can Phi-3.5-mini run without a graphics card?
Yes, slowly: about 2.9 tokens/s in Q8_0 on a processor with 32 GB of dual-channel DDR5 RAM (llama.cpp, 32K context).
Can Phi-3.5-mini run a coding agent on an RTX 4090 or an RTX 5090?
On an RTX 4090: only with part of the model in system RAM (Q4_K_M, about 8.3 tokens/s, 32 GB of RAM); the time to read the prompt is not estimated in that case. On an RTX 5090: yes, in Q8_0 with a 64K context, about 39 tokens/s. One step (2,000 new tokens read, 300 written) takes about 7.9 s; reading the whole context again takes about 8.6 s. Coding agents need at least 64K of context (Ollama's guidance); the step sizes are an example.
Can Phi-3.5-mini run on a single RTX 4090 (24 GB)?
Yes. In BF16 it fits on one RTX 4090 with an 8K-token context (10.1 GiB including the cache, with llama.cpp).
Can Phi-3.5-mini run on an RTX 5090 (32 GB)?
Yes. In BF16 (10.1 GiB with an 8K-token context) it fits on one RTX 5090, with llama.cpp.
Can Phi-3.5-mini run on a Mac?
Yes. In 4-bit (Q4_K_M with llama.cpp) it needs a Mac with 16 GB of unified memory or more, of which macOS gives the GPU about 12 GB, for one request with an 8K-token context. The same Mac also holds it in 8-bit (Q8_0).
Can Phi-3.5-mini run on a DGX Spark or a Ryzen AI Max+ 395 (128 GB)?
Yes. In BF16 (10.1 GiB with an 8K-token context) it fits on a DGX Spark (128 GB) and on a Ryzen AI Max+ 395 with 128 GB, whose GPU gets up to 96 GB, with llama.cpp and one request.
What is the cheapest way to run Phi-3.5-mini?
On 2026-11-30, the cheapest on-demand setup is 1 × RTX A4000 (16 GB) with BF16 weights on Vast.ai, at $0.072 per hour (about $52.56 per month). Next: 1 × GeForce RTX 4090 (24 GB) with BF16 weights on Vast.ai, at $0.100 per hour. Sized for one 8K-token request; prices are checked every hour.
How many H100 GPUs does Phi-3.5-mini need?
With one request and an 8K-token context: 1 in BF16, 1 in FP8 and 1 in 4-bit (vLLM, 90% of memory usable). Serving many users at once needs more memory for their KV caches: the calculator sizes that for you.
What is Phi-3.5-mini's knowledge cutoff?
October 2023, according to its official model card: it knows little about later events.