Skip to content
ANSWER · TRAINING COST

How many H100s and how much money to train a 70B model?

At 1.4T tokens and 40% MFU, a 70B run needs about 412,458 H100 GPU-hours, roughly $985,087 at median asking prices, and about 34 days on 512 GPUs. That is the floor for one successful run; real project budgets run 3-5x higher.

Quote this: A 70B model at 1.4T tokens and 40% MFU needs about 412,458 H100 GPU-hours, roughly $985,087 at the median $2.388/h, or 34 days on 512 GPUs. — CVIN, 2026-11-05, https://cvin.org/en/answers/train-70b-cost

Price: median device-level H100 SXM listing · as of 2026-11-05 · compute demand estimated with the 6ND formula and vendor peak specs, not measured here

01

GPU-hours and cost by model size

模型规模训练 tokenH100 卡时(MFU 40%)成本 @ 中位价512 卡耗时
7B1.5T 44,192$105,545 4 天
13B2.0T 109,428$261,350 9 天
70B1.4T 412,458$985,087 34 天
70B2.0T 589,226$1,407,267 48 天

token 数按 Chinchilla 的 20 token/参数 取;括号里的「512 卡耗时」是纯训练时间,不含排队、故障与重启。

02

MFU is the most sensitive knob

MFU卡时(70B / 1.4T)成本 @ 中位价512 卡耗时1024 卡耗时
30%549,944 $1,313,44945 天 22 天
35%471,380 $1,125,81438 天 19 天
40%412,458 $985,08734 天 17 天
50%329,966 $788,07027 天 13 天

MFU(模型算力利用率)从 30% 提到 50%,卡时下降 40%——比换更便宜的卡影响更大。这也是为什么同规模模型的公开训练成本能差两倍:差别通常不在硬件,而在并行策略、通信重叠和算子实现。

03

How it is computed

训练计算量按 C = 6 × N × D(前向 2ND + 反向 4ND,Kaplan et al. 2020 口径),再除以「峰值算力 × MFU」折成卡时:

卡时 = 6 × N × D ÷ (峰值 TFLOPS × 1e12 × MFU) ÷ 3600

N = 70e9 参数、D = 1.4e12 token、峰值取厂商公开的 H100 SXM BF16 dense 990 TFLOPS。代入得 412,458 卡时。成本 = 卡时 × 单卡时价(本站 H100 SXM 中位 $2.388/时)。

这个公式是「计算量下界」,不含注意力的平方项在长序列上的额外开销,也不含 MoE 的路由与负载不均衡损耗。

04

When this number misleads

① 有效利用率。上千卡跑几个月,节点故障、通信抖动、checkpoint 回滚会把 40% 的 MFU 打成 30% 以下的「墙钟效率」。
② 试错量。这个公式算的是最后一次成功训练。真实项目会先做小规模消融,试错量常是终态的 2–5 倍。
③ 不适用于 MoE。MoE 的参数量与实际激活量不同,直接代入 N 会大幅高估。
④ 不含数据与人力。数据清洗、标注、评测、算法团队的成本通常超过算力本身。
05

Related

H100 SXM file 8-GPU H100 monthly A100 vs H100 Fine-tune 7B cost 70B inference cost