# Phi-4 14B on NVIDIA RTX A4000 (16 GB)

**Fits comfortably.** 2.3 GB headroom left for a longer context or other apps.

- Runtime: Ollama, Q4_K_M, 16K context
- Memory: 12.7 GB of 15.0 GB usable (85%)
  - Weights: 8.4 GB (published file size, phi4:14b)
  - KV cache: 3.1 GB (exact)
  - Overhead: 1.1 GB
- Speed: 33–44 tok/s for one request (calibrated)
- Largest context that fits: 16K

## Run it

```sh
ollama run phi4:14b
```

Setup guide: https://llmsizing.com/guides/ollama

## Cost per 1M tokens at 500K tokens/day

| Path | $/1M tokens | Detail |
| --- | --- | --- |
| Local | — | $0.08 power only |
| Cloud GPU | $0.25 | 1x RTX 3090 (24 GB) on Vast.ai, $0.18/hr (provider API, 2026-11-30) |
| API | $0.09 | OpenRouter `microsoft/phi-4`: $0.07 in / $0.14 out |

Assumes 75% input and 25% output tokens, one request at a time, $0.18/kWh, hardware written off over 36 months.

## Links

- [Check prices for NVIDIA RTX A4000 (16 GB) on Amazon](https://www.amazon.com/s?k=NVIDIA%20RTX%20A4000%2016GB)
- [Rent 1x RTX 3090 (24 GB) on Vast.ai](https://cloud.vast.ai/create/)
- [Phi-4 14B on OpenRouter](https://openrouter.ai/microsoft/phi-4)
- [Open in the calculator](https://llmsizing.com/?m=phi-4-14b&hw=rtx-a4000-16gb&q=q4_k_m&ctx=16384)
- [Full page](https://llmsizing.com/models/phi-4-14b/on/rtx-a4000-16gb)

Source: [llmsizing.com](https://llmsizing.com/models/phi-4-14b/on/rtx-a4000-16gb), data synced 2026-11-30.
