Affärslivet

AI & Tech Intelligence · Epoch AI

How Much Does It Cost to Train an AI Model?

The cost of training frontier AI models, ranked and sourced: from GPT-4 (~$37m) to the ~$388m spent on Grok 4. Training-compute cost is rising about 2.4× a year. Every figure from Epoch AI. CC BY 4.0.

TL;DRThe most expensive known AI training run is Grok 4 (xAI) at about $388m in compute cost.

Epoch AI · Epoch AI · Stanford HAI | 15 entities | 899 words · 11 sections | data: CSV + JSON

$388mMost expensive (Grok 4)training-compute cost
$37mGPT-4 (2023)training-compute cost
~2.4×/yrCost growth rateper year (Epoch AI)
10×Rise since GPT-42023 → 2025
15Models with cost datafrontier training runs
CC BY 4.0Licencefree to reuse

Executive summary

Training a frontier AI model has become one of the most expensive things a company can do. This report ranks the known training-compute costs of 15 notable AI models, from GPT-4's roughly $37m in 2023 to the about $388m spent on Grok 4 — a rise of roughly 10× in two years. Epoch AI, whose estimates this uses, finds frontier training-compute cost growing about 2.4× a year, putting the first billion-dollar training runs within reach by 2027. One caveat matters: these are the costs of the compute used to train each model, not the all-in cost including researchers, data and amortised hardware, which is higher. Every figure is sourced to Epoch AI and the full table is downloadable under CC BY 4.0.

Key findings

01$388mGrok 4 (xAI)

The most expensive training run

Grok 4 is the most expensive known AI training run, at about $388m in training-compute cost — more than 10× what GPT-4 cost two years earlier.

Source: Epoch AI · 2025 · confidence: Medium-High

02~2.4×/yrfrontier training-compute cost

Costs are growing ~2.4× a year

Epoch AI finds the compute cost of frontier training runs has grown about 2.4× per year, driven by ever-larger models and rising chip demand. On this trend the first $1bn training run arrives around 2027.

Source: Epoch AI · 2026 · confidence: High

03$37mvs $388m today

GPT-4 was a bargain by today's standards

GPT-4's ~$37m training-compute cost in 2023 looks modest next to the $388m spent on the current frontier — a 10× increase in about two years.

Source: Epoch AI · 2023 · confidence: Medium-High

Data vintage — August 2026

Training-compute cost estimates from Epoch AI's Notable AI Models database (2023 USD), covering models with a published cost estimate. These are compute costs, not all-in costs. Regenerates as Epoch updates.

The most expensive AI models to train

The known training-compute costs of frontier AI models, ranked (US$ millions). Grok 4 tops the list at about $388m; the full table below has every model with a cost estimate.

How fast is the cost rising?

The cost of the most expensive training run each year (US$ millions). It has climbed from about $37m in 2023 to $388m — roughly 2.4× a year, one of the steepest cost curves in technology.

What makes training an AI model so expensive?

Almost all of the cost is compute: the thousands of specialised AI chips (mostly Nvidia GPUs) running for weeks or months, and the electricity to power and cool them. A frontier run uses tens of thousands of chips at once — hardware that costs tens of thousands of dollars each — so the compute bill dominates.

Cost scales with training compute, which itself is growing about 4–5× a year as labs chase capability. Because compute rises faster than chips get cheaper, the dollar cost keeps climbing. The correlation between a model's training compute and its cost is near-perfect — the chart below plots the two.

What these figures leave out matters. Training-compute cost excludes the researchers' salaries, the data pipeline, failed experiments and the amortised cost of buying (rather than renting) the hardware. Counting those, the true bill for a frontier model is materially higher than the compute cost alone.

Full data — 15 models by training cost

Every notable AI model with a published training-compute cost estimate, with its compute and release date. Source: Epoch AI (2023 USD).

#ModelDeveloperReleasedTraining computeCost
1Grok 4xAI2025-07-09500.0e24 FLOP$388m
2GPT-4.5OpenAI2025-02-27380.0e24 FLOP$366m
3Grok 3xAI2025-02-17350.0e24 FLOP$218m
4Llama 3.1-405BMeta AI2024-07-2338.0e24 FLOP$53m
5Llama 4 Behemoth (preview)Meta AI2025-04-0551.8e24 FLOP$45m
6GPT-4 (Mar 2023)OpenAI2023-03-1521.0e24 FLOP$37m
7Grok-2xAI2024-08-1329.6e24 FLOP$32m
8Gemini 1.0 UltraGoogle DeepMind2023-12-0650.0e24 FLOP$31m
9Claude 3.5 SonnetAnthropic2024-06-2027.0e24 FLOP$26m
10Nemotron-4 340BNVIDIA2024-06-1418.0e24 FLOP$21m
11Inflection-2Inflection AI2023-11-2210.0e24 FLOP$13m
12Falcon-180BTechnology Innovation Institute2023-09-063.8e24 FLOP$11m
13Amazon TitanAmazon2023-09-284.8e24 FLOP$8m
14PaLM 2Google2023-05-107.3e24 FLOP$5m
15Claude 2Anthropic2023-07-113.9e24 FLOP$5m

Limitations & notes

These are estimates of training-compute cost in 2023 US dollars, from Epoch AI, which models the number of chips, their utilisation, training time and cloud/hardware prices. They are not company-disclosed figures — labs rarely publish training costs — and carry real uncertainty, so treat each as a central estimate, not a precise invoice.

Crucially, training-compute cost is not the all-in cost of a model: it excludes salaries, data, failed runs and amortised hardware. It also excludes inference — the cost of running the model for users — which over a model's life can exceed its training cost. The full dataset, with the underlying compute figures, is downloadable below.

Scoreboard (machine-readable data)

Every headline indicator with its value, period, source and confidence. Free to reuse under CC BY 4.0.

↓ CSV · ↓ JSON

IndicatorValuePeriodSourceConf.
Grok 4387842678 USD2025Epoch AIMedium-High
GPT-4.5366010628 USD2025Epoch AIMedium-High
Grok 3217835546 USD2025Epoch AIMedium-High
Llama 3.1-405B52885434 USD2024Epoch AIMedium-High
Llama 4 Behemoth (preview)44588964 USD2025Epoch AIMedium-High
GPT-4 (Mar 2023)37334305 USD2023Epoch AIMedium-High
Grok-231602311 USD2024Epoch AIMedium-High
Gemini 1.0 Ultra30719420 USD2023Epoch AIMedium-High
Claude 3.5 Sonnet25870993 USD2024Epoch AIMedium-High
Nemotron-4 340B21271018 USD2024Epoch AIMedium-High
Inflection-213461144 USD2023Epoch AIMedium-High
Falcon-180B10743501 USD2023Epoch AIMedium-High
Amazon Titan7933465 USD2023Epoch AIMedium-High
PaLM 25014267 USD2023Epoch AIMedium-High
Claude 24902644 USD2023Epoch AIMedium-High

Methodology & verification

Training-compute cost estimates from Epoch AI's Notable AI Models database, in 2023 US dollars. Epoch estimates the cost of the compute used to train each model from the number and type of chips, hardware utilisation, training duration and cloud/hardware prices. These are compute costs only — they exclude staff, data, failed experiments, amortised hardware and inference. Models without a published Epoch cost estimate are excluded. Nothing is estimated by Affärslivet. Confidence: Medium-High (estimates, not disclosures).

Data dictionary

FieldTypeDescription
modelstringAI model
valuenumberTraining-compute cost, 2023 USD (Epoch AI)
periodstringRelease year

Frequently asked questions

How much does it cost to train an AI model?

For a frontier model, tens to hundreds of millions of dollars in compute alone. Estimates range from about $5m to $388m (Grok 4) across recent notable models, and the frontier is rising about 2.4× a year. All-in costs (staff, data, hardware) are higher. Source: Epoch AI.

How much did GPT-4 cost to train?

About $37m in training-compute cost (2023 USD), according to Epoch AI's estimate. That excludes staff, data and hardware amortisation, so the all-in figure was higher.

What is the most expensive AI model to train?

Among models with a published estimate, Grok 4 (xAI) is the most expensive at about $388m in training-compute cost. Source: Epoch AI.

Why is training AI so expensive?

Almost all the cost is compute — tens of thousands of specialised AI chips running for weeks, plus the electricity to power and cool them. As models get larger, training compute grows about 4–5× a year, and the dollar cost rises with it. Source: Epoch AI.

Will AI training runs cost $1 billion?

On current trends, yes — Epoch AI projects the first billion-dollar training runs around 2027, as frontier training-compute cost keeps growing about 2.4× a year. Source: Epoch AI.

Does the training cost include running the model?

No. These figures are training-compute costs only. Running a model for users (inference) is a separate, ongoing cost that over a popular model's lifetime can exceed what it cost to train.

Which countries rank in the top 5 of the How Much Does It Cost to Train an AI Model??

The top five are Grok 4, GPT-4.5, Grok 3, Llama 3.1-405B and Llama 4 Behemoth (preview), based on the How Much Does It Cost to Train an AI Model? (Affärslivet, 2026-08-17).

How many countries are ranked in the How Much Does It Cost to Train an AI Model??

15 economies are included in the How Much Does It Cost to Train an AI Model? (2026-08-17). Full data is free to download as CSV or JSON under CC BY 4.0.

Glossary

Training-compute cost
The estimated cost of the computing power used to train a model — chips, their utilisation and the electricity — in 2023 US dollars. Excludes staff, data and hardware amortisation.
Training compute (FLOP)
The total number of arithmetic operations used to train a model; the main driver of training cost.
Inference
Running a trained model to produce outputs — a separate, ongoing cost from training.
FLOP
A floating-point operation; AI training is measured in the total FLOP performed, often 10^25 or more for frontier models.

Embed & cite this report

Free to reuse under CC BY 4.0. Embed the live-updating widget on your site, or cite the report directly — always with attribution to Affärslivet.

Embed (HTML) — auto-updating

<iframe src="https://xn--affrslivet-s5a.com/en/embed/cost-to-train-ai-model" width="100%" height="520" style="border:1px solid #e3e3e6" title="How Much Does It Cost to Train an AI Model? — Affärslivet" loading="lazy"></iframe>
<p style="font:12px sans-serif">Source: <a href="https://xn--affrslivet-s5a.com/en/reports/cost-to-train-ai-model">Affärslivet</a></p>

APA

Affärslivet Research. (2026). How Much Does It Cost to Train an AI Model?. Affärslivet. Version 1.0. https://xn--affrslivet-s5a.com/en/reports/cost-to-train-ai-model

MLA

Affärslivet Research. "How Much Does It Cost to Train an AI Model?." Affärslivet, 2026-07-31, https://xn--affrslivet-s5a.com/en/reports/cost-to-train-ai-model.

BibTeX

@techreport{affarslivet_cost_to_train_ai_model,
  title  = {How Much Does It Cost to Train an AI Model?},
  author = {{Affärslivet Research}},
  year   = {2026},
  note   = {Version 1.0},
  url    = {https://xn--affrslivet-s5a.com/en/reports/cost-to-train-ai-model}
}

License CC BY 4.0 — free to cite, embed and republish with attribution to Affärslivet. Data also as CSV / JSON.

Sources

Part of Affärslivet AI Intelligence

This report is one part of Affärslivet's source-cited AI knowledge layer. Start with the big picture: