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.
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. $/小时为当前最低报价。多卡配置在有同规格实例出租时使用真实实例价格,否则为单卡价格乘以卡数。
| Quantisation | Cheapest GPU config | Total VRAM | Live $/hr | tokens/sec | |
|---|---|---|---|---|---|
|
FP16
FP16 — half precision (default)
|
48 GB |
$0.27/hr
Vast.ai · 按需
|
16.0 | Compare → | |
|
FP8
FP8 — 8-bit float (Hopper / Blackwell)
|
24 GB |
$0.14/hr
Vast.ai · 按需
|
32.0 | Compare → | |
|
INT4
INT4 — 4-bit integer (~4× VRAM saving)
|
12 GB |
$0.038/hr
Nosana · 按需
|
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.
最便宜的服务商在左侧。
每月总成本 — 输入与输出 token 合计。
账单明细。
租 GPU,而不是按 token 付费。
对于 Phi-4 这类开放权重模型,你可以租一块 GPU 自己提供推理服务。算法:最便宜的 GPU 租价 × 每月 730 小时。电费已包含在租用的每小时价格中。
假设 GPU 全天 24 小时运行,利用率约 85%。如果流量时高时低,API 会更省钱,GPU 则可能更贵(空闲时段仍要付租金)。盈亏平衡分析见自托管与 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.