What Models?

Pick the right model for your GPU — in seconds.

Phi-3 Mini 3.8B VRAM requirements: which GPUs can run it locally?

3.82B params 128K max context

The smallest GPU memory that runs Phi-3 Mini 3.8B well is 10 GB (Q8_0, e.g. GeForce RTX 3080). 90 of 132 GPUs run it well and 41 more are a tight fit.

MMLU 70.9

VRAM needed per quantization

QuantizationWeights16K context32K contextFull 128K
Q4_K_M2.2 GB8.1 GB13.9 GB49.1 GB
Q8_03.8 GB9.6 GB15.5 GB50.6 GB

Weights plus fp16 KV cache. Leave ~1 GB headroom for the inference engine.

Run it locally

Each command downloads the GGUF from Hugging Face, then Ollama starts a chat and llama.cpp starts an OpenAI-compatible server with a web UI on port 8080.

Ollama ollama run hf.co/bartowski/Phi-3.1-mini-128k-instruct-GGUF:Q4_K_M
llama.cpp llama-server -hf bartowski/Phi-3.1-mini-128k-instruct-GGUF:Q4_K_M
Ollama ollama run hf.co/bartowski/Phi-3.1-mini-128k-instruct-GGUF:Q8_0
llama.cpp llama-server -hf bartowski/Phi-3.1-mini-128k-instruct-GGUF:Q8_0

Cheapest GPUs that can run Phi-3 Mini 3.8B

Lowest launch MSRP among GPUs that run its smallest quantization (Q4_K_M) well, with at least 16K context.

As an Amazon Associate, I earn from qualifying purchases.

GPUs that can run Phi-3 Mini 3.8B

Best quantization that fits on each GPU, with the context and speed it gets. For chips with several memory sizes, the smallest that works is shown.

NVIDIA

AMD

Intel

  • Arc A580 8 GB Q8_0 11K context · ~101 tok/s tight fit
  • Arc A750 8 GB Q8_0 11K context · ~101 tok/s tight fit
  • Arc A770 8GB 8 GB Q8_0 11K context · ~101 tok/s tight fit
  • Arc B570 10 GB Q8_0 16K context · ~75 tok/s
  • Arc B580 12 GB Q8_0 22K context · ~90 tok/s
  • Arc A770 16GB 16 GB Q8_0 33K context · ~111 tok/s
  • Arc Pro B65 32 GB Q8_0 77K context · ~120 tok/s
  • Arc Pro B70 32 GB Q8_0 77K context · ~120 tok/s

Apple

  • M1 16 GB Q8_0 33K context · ~13 tok/s
  • M1 Pro 16 GB Q8_0 33K context · ~40 tok/s
  • M2 16 GB Q8_0 33K context · ~20 tok/s
  • M2 Pro 16 GB Q8_0 33K context · ~40 tok/s
  • M3 16 GB Q8_0 33K context · ~20 tok/s
  • M4 16 GB Q8_0 33K context · ~24 tok/s
  • M5 16 GB Q8_0 33K context · ~30 tok/s
  • M6 16 GB Q8_0 33K context · ~30 tok/s
  • M3 Pro 18 GB Q8_0 38K context · ~30 tok/s
  • M4 Pro 24 GB Q8_0 55K context · ~54 tok/s
  • M5 Pro 24 GB Q8_0 55K context · ~61 tok/s
  • M1 Max 32 GB Q8_0 77K context · ~79 tok/s
  • M2 Max 32 GB Q8_0 77K context · ~79 tok/s
  • M3 Max 36 GB Q8_0 88K context · ~59 tok/s
  • M4 Max 36 GB Q8_0 88K context · ~81 tok/s
  • M5 Max 36 GB Q8_0 88K context · ~91 tok/s
  • M1 Ultra 64 GB Q8_0 128K context · ~111 tok/s
  • M2 Ultra 64 GB Q8_0 128K context · ~111 tok/s
  • M3 Ultra 96 GB Q8_0 128K context · ~113 tok/s
  • M5 Ultra 96 GB Q8_0 128K context · ~166 tok/s
Check your exact setup in the full tool →