Can Phi-4 14B run on NVIDIA A30 24GB?
YES — Runs Great
Phi-4 14B needs ~15.2 GB VRAM. NVIDIA A30 24GB has 24.0 GB. With Q4_K_M quantization, expect ~92 tok/s.
Operating mode
Choose the run profile you care about
Interactive favors responsiveness, while light API and scale-out lean harder on serving readiness. The fit stays the same, but the recommendation lens changes.
Current mode
Balanced
Balanced for general local use. Keeps the ranking neutral across personal and serving workflows.
Select quantization to explore
Fit status
Runs well
Decode
91.6 tok/s
TTFT
2113 ms
Safe context
16K
Memory
15.2 GB / 24.0 GB
Memory breakdown
See how fast it feels
What limits this setup
This setup is broadly balanced for this model.
No major red flags
This recommendation has enough memory headroom and acceptable estimated speed for the selected workload.
Best improvement path
Performance by workload
| Workload | Grade | Fit | Decode | TTFT | Context |
|---|---|---|---|---|---|
| Chat | S | Runs well | 91.6 tok/s | 1153 ms | 16K |
| Coding | S | Runs well | 91.6 tok/s | 2113 ms | 16K |
| Agentic Coding | S | Runs well | 91.6 tok/s | 3074 ms | 16K |
| Reasoning | S | Runs well | 91.6 tok/s | 2498 ms | 16K |
| RAG | S | Runs well | 91.6 tok/s | 3843 ms | 16K |
Inference speed
Phi-4 14B inference speed — tokens per second by GPU & Mac
Estimated decode speed (tokens/sec) for Phi-4 14B at Q4_K_M across popular GPUs and Apple Silicon, using the fastest local runtime per device. Fastest is RTX 5090 32GB at ~151 tok/s. Speed is memory-bandwidth bound, so cards that fit the whole model in VRAM run far faster than ones that offload to system RAM.
| GPU / Mac | Memory | Quant | Speed (tok/s) | Fits? |
|---|---|---|---|---|
| 32 GB | Q4_K_M | 151.1 | Fits | |
| 24 GB | Q4_K_M | 96.4 | Fits | |
RX 7900 XTX 24GB | 24 GB | Q4_K_M | 87.0 | Fits |
| 24 GB | Q4_K_M | 82.5 | Fits | |
| 16 GB | Q4_K_M | 80.7 | Tight | |
Mac Studio M3 Ultra 256GB | 256 GB | Q4_K_M | 70.1 | Fits |
Mac Studio M2 Ultra 128GB | 128 GB | Q4_K_M | 58.4 | Fits |
Mac Studio M1 Ultra 128GB | 128 GB | Q4_K_M | 55.4 | Fits |
MacBook Pro M4 Max 128GB | 128 GB | Q4_K_M | 38.1 | Fits |
MacBook Pro M4 Max 64GB | 64 GB | Q4_K_M | 38.1 | Fits |
MacBook Pro M3 Max 64GB | 64 GB | Q4_K_M | 30.2 | Fits |
| 12 GB | Q4_K_M | 28.4 | Heavy offload | |
MacBook Pro M1 Max 64GB | 64 GB | Q4_K_M | 27.7 | Fits |
MacBook Pro M4 Pro 48GB | 48 GB | Q4_K_M | 23.3 | Fits |
| 12 GB | Q4_K_M | 16.7 | Heavy offload | |
| 8 GB | Q4_K_M | 6.1 | Too big |
Estimates for single-stream decoding at Q4_K_M; real tokens/sec varies with prompt length, context, batch size, and runtime build. Prompt processing (prefill) is faster than the decode figures shown here.
Quantization options
How Phi-4 14B (14B params) fits at each quantization level on NVIDIA A30 24GB (24.0 GB usable).
| Quant | Bits | VRAM | Quality | Fit |
|---|---|---|---|---|
Q2_K | 2 | 5.5 GB | Low | A77 |
Q3_K_S | 3 | 6.9 GB | Low | A78 |
NVFP4 | 4 | 7.8 GB | Medium | A79 |
Q4_K_M | 4 | 8.5 GB | Medium | A79 |
Q5_K_M | 5 | 10.1 GB | High | A80 |
Q6_K | 6 | 11.5 GB | High | A81 |
Q8_0Best for your GPU | 8 | 15.0 GB | Very High | A82 |
F16 | 16 | 28.7 GB | Maximum | F0 |
Get started
Copy-paste commands to run Phi-4 14B on your machine.
Run
ollama run phi4Your hardware
More models your NVIDIA A30 24GB can run
| Model | Params | Grade | Decode | Capabilities |
|---|---|---|---|---|
| 30.5B | S | 110 tok/s | ||
| 27B | S | 47.7 tok/s | ||
| 27B | S | 47.9 tok/s | ||
| 30B | S | 113.8 tok/s | ||
| 35B | A | 61.6 tok/s |
Frequently asked questions
Can NVIDIA A30 24GB run Phi-4 14B?
Yes, NVIDIA A30 24GB can run Phi-4 14B with a S grade (Runs well). Expected decode speed: 91.6 tok/s.
How much VRAM does Phi-4 14B need?
Phi-4 14B (14B parameters) requires approximately 15.2 GB of memory with Q4_K_M quantization.
What is the best quantization for Phi-4 14B?
The recommended quantization for Phi-4 14B is Q4_K_M, which balances quality and memory efficiency.
What speed will Phi-4 14B run at on NVIDIA A30 24GB?
On NVIDIA A30 24GB, Phi-4 14B achieves approximately 91.6 tokens per second decode speed with a time-to-first-token of 2113ms using Q4_K_M quantization.
Can NVIDIA A30 24GB run Phi-4 14B for coding?
For coding workloads, Phi-4 14B on NVIDIA A30 24GB receives a S grade with 91.6 tok/s and 16K context.
What context window can Phi-4 14B use on NVIDIA A30 24GB?
On NVIDIA A30 24GB, Phi-4 14B can safely use up to 16K tokens of context. The model's official context limit is 16K, but available memory constrains the safe maximum.
Embed this result▼
Paste this snippet into any page to show a live fit card.
<iframe src="https://willitrunai.com/embed/phi-4-14b-on-a30-24gb" width="400" height="180" frameborder="0" style="border:none;border-radius:12px;overflow:hidden;" title="Will It Run AI — fit result"></iframe>
Preview: