Phi-4 14B on NVIDIA Tesla P40 24 GB
14.66B on 24 GB at 346 GB/s. Hardware details · Model details
Yes. Phi-4 14B fits on NVIDIA Tesla P40 24 GB at the recommended
Q5_K_M configuration, requiring approximately 12.9 GB at 8K context. Practical context capacity is 16K.CompatibilityComfortable
Calculated fit
Yes
Calculated Uses under 80% of usable memory. Room for a long context and other work.
Recommended quantization
Q5_K_M
Calculated gguf
Memory required
12.9 GB
Calculated of 22.1 GB usable — 58%
Max practical context
16K
Calculated model supports 16K
Memory budget at 8K context
Model weights ⓘ
10.0 GB Calculated
KV cache ⓘ
1.6 GB Calculated
Runtime overhead ⓘ
1.3 GB Estimated
Total required
12.9 GB Calculated
Headroom ⓘ
9.2 GB Calculated
Highest-precision quantization that leaves headroom: uses 58% of usable memory at 8K context.
Discrete GPU: 24 GB of VRAM, of which we assume 92% is usable after driver and context overhead.
Performance
Estimated performance · recommended Q5_K_M
Decode, prefill and TTFT below are estimates for Q5_K_M. We do not have a comparable Q5_K_M measurement on this machine.
Estimated decode
—
Estimated Q5_K_M; calculated range
Estimated prefill
—
Estimated Q5_K_M; calculated range
Estimated TTFT at 8K
—
Estimated Q5_K_M; calculated range
Hardware load reference
250 W
Official spec hardware TDP; not this model run
No throughput figures for this configuration. We do not estimate performance for a model that cannot load.
How the estimate is calculated
- Decode: reading 14.7B active parameters at 5.69 bits/weight takes 43.05 ms at 346 GB/s x 70% achieved efficiency.
- No FP16 compute figure for this hardware, so prefill cannot be estimated.
- This is a calculated estimate, not a measurement. It assumes a single request, a short prompt, no speculative decoding and a warm model already resident in memory.
Estimator version estimator_v1. Stored with every estimated row so old estimates can be regenerated when the model improves.
Submit a benchmarkSubmissions stay pending until reviewed.
This model at other quantizations on this machine
| Quantization | Resident | Disk | Total needed | Utilisation | Fit | Max context |
|---|---|---|---|---|---|---|
Q4_K_M | 8.5 GB | 8.5 GB | 11.3 GB | 51% | Comfortable | 16K |
Q5_K_Mrecommended | 10.0 GB | 10.0 GB | 12.9 GB | 58% | Comfortable | 16K |
Q8_0 | 14.8 GB | 14.8 GB | 17.8 GB | 81% | Fits | 16K |
BF16 | 27.3 GB | 27.3 GB | 30.7 GB | 139% | Does not fit | 0 |
Cost of running Phi-4 14B on this machineUnited States (federal) · C corporation · 8h/day
Monthly economic cost
$1
Calculated after tax
Codex/Claude Code
$100/mo
≈ $100/mo · local is $99 less
Net cash at purchase
$0
Calculated VAT not reclaimable
Total over 5 years
$86
Calculated after tax, after resale
Cost per USD/1M tokens
—
Calculated
The $100 comparison uses the Codex Pro 5x / Claude Max 5x plans. A fixed planning conversion is used for USD. This compares monthly spend only: subscriptions have usage limits, local hardware has different capabilities and constraints, and taxes or regional pricing may change the charged amount. Prices checked 7 September 2026.
Monthly breakdown
| Depreciation 0 over 5 years, straight-line to a 0 residual | $0.00 |
| Electricity 13.0 kWh/month at 0.140/kWh | $1.82 |
| Monthly cost before tax | $1.82 |
| Electricity tax shield Running costs are deductible business expenses | −$0.38 |
| Monthly economic cost after tax | $1.44 |
Three different numbers, deliberately
Cash cost
$0
Money that leaves the bank account on day one, net of reclaimable VAT.
Accounting depreciation
$0.00/month
$0 written down over 5 years to a $0 residual.
After-tax economic cost
$1.44/month
Depreciation plus running costs plus cost of capital, less the tax those deductions save. This is the figure to compare between machines.
Assumptions and sources (verified 2026-09-07)
VAT rate
0% Official spec
VAT recoverable
0% Official spec
Federal C-corporation estimate at the flat 21% rate. Pass-through entities should use the sole-proprietor estimate as a rougher proxy.
Effective deduction rate
21.00% Calculated
Headline marginal rate 21.00%.
Depreciation
5 years, straight-line Assumption
Residual value
$0 (15%) Assumption
Two GPU generations later, the card is worth a fraction of its list price.
Electricity
$0.140/kWh Assumption
Average power draw
74 W Calculated
Load 250 W for 20% of powered hours, idle 30 W for the rest — a machine that is on is not generating tokens the whole time.
Investment allowances
§179 100.0% Official spec
Worth $0 in total — first-year expensing that replaces later tax depreciation.
Cost of capital
not applied Assumption
- VAT rate: No US federal VAT · verified 2026-09-07
- Marginal tax rate: IRS Publication 542 — Corporations · verified 2026-09-07
- VAT recoverable fraction: site assumption · verified 2026-09-07
- Useful life: IRS Publication 946 — How To Depreciate Property · verified 2026-09-07
- Electricity price: Site assumption · verified 2026-09-07
Federal planning estimate only, not tax advice. State and local income tax, sales/use tax and incentives are excluded. It assumes 100% business use, a Section 179 election, enough business income to use it, and that the full annual limit remains available.
Phi-4 14B on other hardware
| Hardware | Decode | Price | Fit |
|---|---|---|---|
| NVIDIA DGX H200 (8x H200, 1,128 GB) | ~416–599 t/s | $359,430 * | Comfortable |
| Quad RTX 5090 workstation (4x 32 GB) | ~128–185 t/s | $12,611 * | Comfortable |
| Lenovo ThinkStation PX (4x RTX PRO 6000, 384 GB) | ~114–164 t/s | $58,553 * | Comfortable |
| Dual RTX 5090 workstation (2x 32 GB) | ~88.7–128 t/s | $5,854 * | Comfortable |
| Dell Precision 7960 Rack (2x RTX PRO 6000, 192 GB) | ~81.8–118 t/s | $36,663 * | Comfortable |
| RTX 5090 workstation (1x 32 GB) | ~69.6–100 t/s | $3,332 * | Comfortable |
Nearest alternatives to the NVIDIA Tesla P40 24 GB
Phi-4 14B on GeForce RTX 3090 Ti 24 GB24 GBPhi-4 14B on NVIDIA RTX A5000 24 GB24 GBPhi-4 14B on RTX 3090 workstation (Ryzen 9 7950X, 64 GB)24 GBPhi-4 14B on Used RTX 4090 workstation (24 GB)24 GBPhi-4 14B on NVIDIA RTX 5000 Ada 32 GB32 GB
Compare NVIDIA Tesla P40 24 GB against GeForce RTX 3090 Ti 24 GB →
Compare NVIDIA Tesla P40 24 GB against GeForce RTX 3090 Ti 24 GB →