NeuroGenesys.
All Free ToolsFree Tools • LLM Training Compute Calculator

What does it cost to train this model?

The compute to train a dense transformer is close to six FLOPs per parameter per training token. Divide by what your GPUs actually sustain and you have GPU-hours, days and dollars. Or start from a budget and get the model size and token count that make best use of it under the Chinchilla rule.

Free · runs in your browser · updated

1 · The run

Examples

2 · Estimate

training FLOPs5.88 × 10^21
GPU-hours4,129
wall clock on 256 GPUs16.1 h
compute cost$17,341
Serving it: about 1.4 × 10^10 FLOPs per generated token (2 × parameters), before attention over long contexts.

Compute only, for one dense transformer run: C ≈ 6 × parameters × tokens. Excludes failed runs, experiments, evaluation, data and staff — usually several times the final run. Mixture-of-experts models use active parameters. GPU prices are indicative medians (source); specialist clouds and reserved capacity are cheaper.

Questions

Why 6 × parameters × tokens?

Each token costs about 2 FLOPs per parameter in the forward pass and about 4 in the backward pass. It ignores attention over the context, which adds little at typical sequence lengths, and the overhead of activation recomputation, which you can fold into utilization.

What is MFU?

Model FLOPs utilization: the share of the GPUs' peak that goes into useful model arithmetic. Well-tuned large runs reach roughly 35–50%; small or poorly tuned ones are lower. It's the biggest uncertainty in the estimate.

What does compute-optimal mean?

For a fixed compute budget, the model size and token count that reach the lowest loss. The Chinchilla study found about 20 training tokens per parameter. Many current models train on far more tokens than that, accepting more training compute for a smaller model that is cheaper to serve.

Is the compute cost the whole cost of a model?

No. It covers one final run. Experiments, failed runs, evaluation, data acquisition, staff and inference after launch usually cost several times more.

Related

Leadership

A word from the founder — on why the brain is the blueprint, and why the next decade of intelligence will be built here.

"The brain is the universe's only proof that general intelligence is possible. We treat it as the blueprint."

From cortical interfaces to photonic silicon, every program at NeuroGenesys exists to answer one question: how does intelligence arise — and how do we build it safely.

Will Schulz

Will Schulz

Founder, NeuroGenesys • AW3 Technology