Skip to content
Run LLM Locally

Phi-4 Mini Instruct 3.8B on the RTX 3080

With 10 GB of VRAM, the RTX 3080 runs Phi-4 Mini Instruct 3.8B at Q4_K_M entirely on the GPU with an 8K context (about 4.5 GB needed). At Q8_0 it fits entirely.

Phi-4 Mini Instruct 3.8B

Q4_K_M · 8K context

Excellent

The model needs about 4.5 GB and fits in the 9.7 GB available, with 5.2 GB to spare.

Your hardware
RTX 3080 10 GB · 64 GB RAM
Estimated memory
~4.5 GB estimate
VRAM (usable memory)
9.7 GB
GPU only
Yes
CPU/GPU offload
Not required
Generation speed
141–214 tok/s estimate
Largest context in fast memory
47K tokens
Confidence: low

Based on: memory bandwidth (760 GB/s) and model size

Memory breakdown

~4.5 GB (4.1 GB–4.9 GB) needed · estimate

Fits entirely in VRAM · 5.2 GB left

  • Model weights2.3 GB
  • KV cache1 GB
  • Runtime overhead0.9 GB
  • Safety margin0.3 GB
Assumptions: context 8K tokens · KV cache f16 · llama.cpp (CUDA) · flash attention on · weights = real file size

EstimateData updated 24 days agoSource: Run LLM Locally engine, Hugging Face config.json + model card

What makes this estimate less reliable

  • no benchmark for this hardware and model yet

Other quantizations on the RTX 3080

Phi-4 Mini Instruct 3.8B on RTX 3080 + 64 GB RAM · 8K context
Phi-4 Mini Instruct 3.8B Q8_08K~6 GB · 102–147 tok/s estimateExcellent
Phi-4 Mini Instruct 3.8B Q6_K8K~5.1 GB · 122–180 tok/s estimateExcellent
Phi-4 Mini Instruct 3.8B Q5_K_M8K~4.8 GB · 130–194 tok/s estimateExcellent
Phi-4 Mini Instruct 3.8B Q4_K_M8K~4.5 GB · 141–214 tok/s estimateExcellent
Phi-4 Mini Instruct 3.8B IQ4_XS8K~4.3 GB · 151–232 tok/s estimateExcellent
Phi-4 Mini Instruct 3.8B Q3_K_M8K~4.2 GB · 155–239 tok/s estimateExcellent

Alternatives

Where to buy a RTX 3080

Prices and links follow the market you choose.

GeForce RTX 3080 (10 GB)

10 GB GDDR6X · 760 GB/s · 320 W

ExcellentRuns Phi-4 Mini Instruct 3.8B Q4_K_M entirely in memory

Price not available

Availability unknown

View on amazon.com

Affiliate link

No current offer imported for this market: the link opens a marketplace search.

Frequently asked questions

Can the RTX 3080 run Phi-4 Mini Instruct 3.8B?
The model needs about 4.5 GB and fits in the 9.7 GB available, with 5.2 GB to spare.
Which quantization should I use on the RTX 3080?
Q8_0 is the highest-precision quantization that fits entirely in VRAM at 8K context. ~6 GB / 9.7 GB.
What is the largest context on the RTX 3080?
At Q4_K_M, about 47K tokens fit entirely in VRAM with an f16 KV cache. A q8_0 KV cache roughly doubles that.
How fast is Phi-4 Mini Instruct 3.8B (RTX 3080)?
We estimate 141–214 tok/s (estimate, confidence low). Based on: memory bandwidth (760 GB/s) and model size.