Run Phi-4-mini-instruct locally: hardware requirements
Phi-4-mini-instruct needs about 14.3 GB of GPU memory for one person at 32K context, and about 8.0 GB more for each extra person at 64K. For 80 users working as AI agents, plan on 139 GB, which fits one B200.
Microsoft, United States. From its files on Hugging Face, checked 2026-11-05.
Context per person: more context lets the model work with longer conversations and more files, and needs more GPU memory for every person. As a guide: 8K for short chat, 32K for chat over documents, 64K for AI agents, whose instructions, tools and files all count.
80 users means about 16 people working at the same moment. That share is a planning assumption; if you know yours, choose the total that matches it.
Work it out for your team: microsoft/Phi-4-mini-instruct
On Hugging FaceMicrosoft, United States · 3.8B parameters · License: mit
What you need for 16 active users
1 × B200
It holds the model and up to 20 active users at 64K context.
The server
384 GB RAM
48 CPU cores
250 GB NVMe
Rules of thumb
- GPU memory in total
- 139 GB
- Weights
- 7.7 GB (published files)
- Conversation cache, all active
- 128 GB
- Engine (vLLM)
- 3.0 GB
Your options by card
80 users means about 16 using the model at any moment. The others are not waiting; they are simply doing something else. If more become active than a build handles, they queue.
| Card | Memory | Active users, one server | For your 16 active |
|---|---|---|---|
| B200 | 180 GB | 20 | 1 × B200 |
| A100 | 80 GB | 17 | 2 × A100 |
| GeForce RTX 3090 | 24 GB | 4 | 4 servers, each with 2 × GeForce RTX 3090 |
| GeForce RTX 4090 | 24 GB | 4 | 4 servers, each with 2 × GeForce RTX 4090 |
| GeForce RTX 5070 | 12 GB | 1 | 16 servers, each with 2 × GeForce RTX 5070 |
| GeForce RTX 5080 | 16 GB | 2 | 8 servers, each with 2 × GeForce RTX 5080 |
| GeForce RTX 5090 | 32 GB | 6 | 3 servers, each with 2 × GeForce RTX 5090 |
| H100 | 80 GB | 17 | 2 × H100 |
| H200 NVL | 141 GB | 32 | 2 × H200 NVL |
| L40S | 48 GB | 21 | 4 × L40S |
| RTX 4000 Ada | 20 GB | 8 | 2 servers, each with 4 × RTX 4000 Ada |
| RTX 6000 Ada | 48 GB | 21 | 4 × RTX 6000 Ada |
| RTX A5000 | 24 GB | 10 | 2 servers, each with 4 × RTX A5000 |
| RTX PRO 4000 Blackwell | 24 GB | 10 | 2 servers, each with 4 × RTX PRO 4000 Blackwell |
| RTX PRO 4500 Blackwell | 32 GB | 10 | 2 servers, each with 3 × RTX PRO 4500 Blackwell |
| RTX PRO 5000 Blackwell | 48 GB | 21 | 4 × RTX PRO 5000 Blackwell |
| RTX PRO 6000 Blackwell | 96 GB | 21 | 2 × RTX PRO 6000 Blackwell |
These are memory limits. A card can hold more people than it can answer quickly, so test your own workload before you buy. More than one card in a server needs an engine that splits the model.
Phi-4-mini-instruct by team size
AI agents, 1 user in 5 active at a time, 64K context, as published.
| Total users | At once | GPU memory | What you need |
|---|---|---|---|
| 20 | 4 | 42.3 GB | 1 × L40S |
| 80 | 16 | 139 GB | 1 × B200 |
| 120 | 24 | 203 GB | 2 × H200 NVL |
| 500 | 100 | 811 GB | 5 × B200 |
Similar models
- Phi-3.5-mini-instructMicrosoft · 3.8B · 395 GB for 16 at once
- Phi-3-mini-4k-instructMicrosoft · 3.8B · 34.2 GB for 16 at once
- Phi-3.5-vision-instructMicrosoft · 4.1B · 395 GB for 16 at once
- Mage-VL-CoworkMicrosoft · 4.7B · 156 GB for 16 at once
- UserLM-2.0Microsoft · 8.0B · 162 GB for 16 at once
- phi-4Microsoft · 15B · 80.8 GB for 16 at once
How this is worked out
GPU memory = weights + a conversation cache for each person + the serving engine, from this model's files on Hugging Face. These are memory limits, not speed. The full method and its limits.
Questions
How much GPU memory does Phi-4-mini-instruct need?
Phi-4-mini-instruct needs about 14.3 GB of GPU memory for one person at 32K context, and about 8.0 GB more for each extra person at 64K. For 80 users working as AI agents, plan on 139 GB, which fits one B200.
How many active users can Phi-4-mini-instruct handle on one 96 GB GPU?
By memory, about 10 active users at once at 64K context on a card such as the RTX PRO 6000 Blackwell. Speed can set a lower limit, so load-test before you buy.
Can Phi-4-mini-instruct run on a 24 GB GPU such as the RTX 4090?
Yes as published for one person at 32K context: it needs about 14.3 GB.
What license does Phi-4-mini-instruct use?
Hugging Face lists its license as mit. Check the license on the model's page before you use it.
Running a model on your own servers?
NeueCode is private autonomous intelligence for enterprise: it takes on your organization's tasks on your own GPUs, with nothing leaving your network, a person approving every action, and all of it on record. It runs each model on one card, so read the single-card figures above.
What you need to run NeueCode