Part of the AI & Machine Learning suite · 24 calculators

Model Training Cost Calculator

What a training run costs — from parameters and tokens to GPU hours, wall-clock time and money.

The compute for a transformer training run is about 6 × parameters × tokens floating-point operations.

%
Results update as you type
Results
Training cost
10,321.87
Total floating-point operations
GPU hours
Wall-clock time
Achieved TFLOPS per GPU
Tokens per parameter
Against compute-optimal guidance
Cost per billion tokens
Cost if peak throughput were achieved
Reviewed September 2026. Model arithmetic is the same everywhere: the same formulas in every market, in your own currency. The NIST framework is voluntary guidance; it does not prescribe cost or sizing methods.
No account required · Google Analytics off unless allowedCalculator arithmetic runs in your browserResults update as you type
All calculations run 100% in your browser. The calculator code does not submit your figures to GlobalCalc to obtain a result.
About model training cost

How the model training cost calculator works

The compute for a transformer training run is about 6 × parameters × tokens floating-point operations. Divide by the hardware's effective throughput and you have GPU-seconds.

The word doing the work is "effective". A card's peak FLOPS is a marketing number; real training runs achieve 35 to 55% of it, and using peak rather than achieved throughput is the single biggest source of optimistic training estimates.

Formula: FLOPs ≈ 6 × params × tokens; hours = FLOPs / (GPUs × achieved FLOPS)

Worked examples

InputsTraining costNote
A 7B model on 140B tokens10,321.8720 tokens per parameter
Optimistic throughput4,128.75less than half the cost — and unachievable
A heavily trained small model73,727.67over-trained by design

Frequently asked questions

How is training compute estimated?

About six floating-point operations per parameter per token — two for the forward pass and four for the backward pass.

What utilization should I assume?

Thirty-five to fifty-five per cent of peak for a well-tuned large run. Using peak makes the estimate roughly half of reality.

What is compute-optimal?

The Chinchilla work put it near twenty tokens per parameter for a fixed compute budget. Models meant to be served cheaply are deliberately trained far past that.

Does this include failed runs?

No, and it should. Real projects spend substantially on runs that diverge, restart or get thrown away.

What about data preparation?

Not counted here. Cleaning, deduplicating and tokenizing a large corpus is significant compute in its own right.

Where these figures come from

Last checked: September 2026. The relationships here are architectural, not vendor-specific: bytes per parameter follow the numeric format, KV-cache size follows the transformer definition, and token-per-word ratios come from published tokeniser behaviour.