Phi-4.
Phi-4 is Microsoft Research's 14B MIT-licensed text model with a 16K-token context, for memory- and latency-limited uses, focused mainly on English.
1× Nvidia GeForce RTX 3060 · $0.038/hr.
Most-aggressive quantisation we have a working recommendation for. Lower precision = less VRAM = cheaper hardware, at a small accuracy cost.
Cheapest hosted endpoints.
Variants in the Phi family.
Frequently asked.
How do I run Phi-4?
Where can I access Phi-4?
How much does it cost to run Phi-4?
Is Phi-4 open-source or proprietary?
Cheapest hardware per quantisation.
Each row is one quantisation tier (the same weights compressed differently). Lower precision → lower VRAM → cheaper hardware, at the cost of small accuracy loss. Le $/h est le tarif le plus bas proposé maintenant. Une configuration multi-cartes utilise une vraie instance de cette taille quand elle est louée ; sinon c'est le tarif d'une carte multiplié par le nombre.
| Quantisation | Cheapest GPU config | Total VRAM | Live $/hr | tokens/sec | |
|---|---|---|---|---|---|
|
FP16
FP16 — half precision (default)
|
48 GB |
$0.27/hr
Vast.ai · à la demande
|
16.0 | Compare → | |
|
FP8
FP8 — 8-bit float (Hopper / Blackwell)
|
24 GB |
$0.14/hr
Vast.ai · à la demande
|
32.0 | Compare → | |
|
INT4
INT4 — 4-bit integer (~4× VRAM saving)
|
12 GB |
$0.038/hr
Nosana · à la demande
|
34.3 | Compare → |
What it costs per month across providers.
Estimate your monthly bill for Phi-4 across every host that publishes per-token pricing. Slide your token volumes; the chart + table re-rank cheapest-first.
Le fournisseur le moins cher à gauche.
Coût mensuel total — tokens d'entrée et de sortie cumulés.
Détail de la facture.
| Fournisseur | Total mensuel | |
|---|---|---|
| $0.98 | S'inscrire ↗ | |
| $0.98 | S'inscrire ↗ |
Louez le GPU plutôt que de payer au token.
Pour un modèle à poids ouverts comme Phi-4, vous pouvez louer un GPU et faire tourner l'inférence vous-même. Le calcul : location de GPU la moins chère × 730 heures/mois. L'électricité est comprise dans le prix horaire de la location.
Suppose que le GPU tourne 24h/24 à environ 85 % d'utilisation. Si votre trafic est irrégulier, vous paierez moins pour l'API et probablement plus pour le GPU (les heures creuses sont facturées). L'analyse du seuil de rentabilité se trouve dans l'outil seuil de rentabilité auto-hébergement vs API.
About Phi-4.
Phi-4 is a small open model from Microsoft Research under the MIT licence, with 14B parameters in a dense decoder-only design. It takes text, best given in chat format, and has a 16K-token context. Its training blended synthetic data, filtered public web data and acquired academic books, with a focus on reasoning. Microsoft aims it at research and at features with tight memory or latency limits. It is mainly for English, and it is a static model with public data cut off at June 2024.