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;DR — The 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
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
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
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
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).
| # | Model | Developer | Released | Training compute | Cost |
|---|---|---|---|---|---|
| 1 | Grok 4 | xAI | 2025-07-09 | 500.0e24 FLOP | $388m |
| 2 | GPT-4.5 | OpenAI | 2025-02-27 | 380.0e24 FLOP | $366m |
| 3 | Grok 3 | xAI | 2025-02-17 | 350.0e24 FLOP | $218m |
| 4 | Llama 3.1-405B | Meta AI | 2024-07-23 | 38.0e24 FLOP | $53m |
| 5 | Llama 4 Behemoth (preview) | Meta AI | 2025-04-05 | 51.8e24 FLOP | $45m |
| 6 | GPT-4 (Mar 2023) | OpenAI | 2023-03-15 | 21.0e24 FLOP | $37m |
| 7 | Grok-2 | xAI | 2024-08-13 | 29.6e24 FLOP | $32m |
| 8 | Gemini 1.0 Ultra | Google DeepMind | 2023-12-06 | 50.0e24 FLOP | $31m |
| 9 | Claude 3.5 Sonnet | Anthropic | 2024-06-20 | 27.0e24 FLOP | $26m |
| 10 | Nemotron-4 340B | NVIDIA | 2024-06-14 | 18.0e24 FLOP | $21m |
| 11 | Inflection-2 | Inflection AI | 2023-11-22 | 10.0e24 FLOP | $13m |
| 12 | Falcon-180B | Technology Innovation Institute | 2023-09-06 | 3.8e24 FLOP | $11m |
| 13 | Amazon Titan | Amazon | 2023-09-28 | 4.8e24 FLOP | $8m |
| 14 | PaLM 2 | 2023-05-10 | 7.3e24 FLOP | $5m | |
| 15 | Claude 2 | Anthropic | 2023-07-11 | 3.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.
| Indicator | Value | Period | Source | Conf. |
|---|---|---|---|---|
| Grok 4 | 387842678 USD | 2025 | Epoch AI | Medium-High |
| GPT-4.5 | 366010628 USD | 2025 | Epoch AI | Medium-High |
| Grok 3 | 217835546 USD | 2025 | Epoch AI | Medium-High |
| Llama 3.1-405B | 52885434 USD | 2024 | Epoch AI | Medium-High |
| Llama 4 Behemoth (preview) | 44588964 USD | 2025 | Epoch AI | Medium-High |
| GPT-4 (Mar 2023) | 37334305 USD | 2023 | Epoch AI | Medium-High |
| Grok-2 | 31602311 USD | 2024 | Epoch AI | Medium-High |
| Gemini 1.0 Ultra | 30719420 USD | 2023 | Epoch AI | Medium-High |
| Claude 3.5 Sonnet | 25870993 USD | 2024 | Epoch AI | Medium-High |
| Nemotron-4 340B | 21271018 USD | 2024 | Epoch AI | Medium-High |
| Inflection-2 | 13461144 USD | 2023 | Epoch AI | Medium-High |
| Falcon-180B | 10743501 USD | 2023 | Epoch AI | Medium-High |
| Amazon Titan | 7933465 USD | 2023 | Epoch AI | Medium-High |
| PaLM 2 | 5014267 USD | 2023 | Epoch AI | Medium-High |
| Claude 2 | 4902644 USD | 2023 | Epoch AI | Medium-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
| Field | Type | Description |
|---|---|---|
| model | string | AI model |
| value | number | Training-compute cost, 2023 USD (Epoch AI) |
| period | string | Release 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:
- The State of AI 2026 — our free, source-cited annual report
- AI Statistics 2026 — 230+ source-cited AI facts & figures
- The AI Intelligence hub — all our indexes, rankings, model & lab profiles