How expensive is it to run a datacenter mostly on renewables?

A techno-economic model of the least-cost way to run an always-on, off-grid datacenter on (mostly) renewable power — solar, wind, batteries and a backstop — and of when that costs less than burning gas, across Europe and the US, 2025–2040.

▶  Source code & full methodology on GitHub

Three things to take away

  1. Most of an always-on datacenter's energy can come from renewables today. Solar, wind and batteries can supply 70–80% of an always-on datacenter's energy for ~$135–174/MWh in Europe and ~$83–89 in the US today (gas: $122 / $58) — a premium over gas, and in carbon-priced Europe the 70% build becomes the cheaper plant ~2027.
  2. The expensive part is the last 10–30%. Batteries bridge nights, not dark windless weeks, so pushing Europe from 80% to 90% renewable adds ~$104/MWh today. Going fully gas-free takes wind plus hydrogen or pumped storage: $191/MWh in Europe now, falling to $142 and crossing below gas ~2035.
  3. Location changes the delivered cost more than the renewable target does. Sites with firm clean power — Nordic/Alpine hydro (~$46/MWh) and Icelandic geothermal (~$63) — deliver 24/7 carbon-free electricity below today's European gas price ($122); in the cheap-gas US, by contrast, no renewable target costs less than $58 gas within the horizon (70–80% gets within a few $/MWh).

What a $/MWh premium means for the cost of compute. Electricity is a minority of a datacenter's bill: for an AI campus, chips and buildings amortise to roughly $500–800 per MWh of electricity consumed (≈$25–35k per kW of IT hardware on a 4–6-year life, plus the facility), so power at Europe's gas price ($122/MWh) is only ~13–20% of the all-in cost of compute. The 70%-renewable premium (+$14/MWh today) therefore raises the cost of compute by ~1–2%; even the full gas-free premium (+$69 today, shrinking to nil as it crosses gas ~2035) raises it ~8–11%. A conventional facility, with cheaper hardware per MWh, faces roughly twice that percentage premium.

The model covers only the choice each new datacenter controls — how cleanly it can be built and at what premium — not sector-wide electricity demand or emissions totals.

How much to trust this. A stylised techno-economic model: trust the directional comparisons, not absolute numbers to better than ~±20–30%. The headline runs on measured ERA5 weather (EU: France; US: Texas; 2015–2025) at a single site per region — every number on this page is generated from the model's exports. Full assumptions, caveats and glossary: Method & trust.

The question

AI datacenters use a large and growing amount of electricity. This model asks the narrower question each builder controls: if you pair a new datacenter with its own solar, wind and batteries, how clean can it run, and what does that cost compared with just burning gas?

A datacenter needs power every hour, and sun and wind don't deliver every hour. The bill therefore hinges on the backstop for dark, windless spells (a Dunkelflaute): a gas turbine, which emits, or a clean option — hydrogen, pumped storage, hydro, nuclear. The model finds the least-cost mix and the delivered cost per MWh (LCOE — levelized cost of energy), for Europe and the US, every year to 2040.

Key findings

Delivered cost & parity ($/MWh of load)

Europe

Renewable target2025203020352040vs-gas crossover
70%135119116114~2027
80%174148139134~2033
85%226188172162~2040
90%278237225219>2040
Gas baseline122131151163
Grid + renewable contract (on-grid reference)117968681
Gas-free H₂ system191166151142~2035

United States

Renewable target2025203020352040vs-gas crossover
70%83726560>2040
80%89736560>2040
85%100837468>2040
90%1371119991>2040
Gas baseline58585858
Grid + renewable contract (on-grid reference)85696257
Gas-free H₂ system142123113106

The renewable target is the minimum share of the datacenter's yearly energy that must come from solar + wind + battery (the rest is gas). Firm (always-on) workload; gas backup sized to 100% of load. "Crossover" = the first year the build's delivered cost drops below the gas baseline.

Cost trajectories

EU cost trajectory
Europe — lines are the central site; shaded bands the resource/siting range (poor↔good site). Includes the gas baseline, grid+PPA reference, and the gas-free H₂ system.
US cost trajectory
United States — same series. In the cheap-gas US, renewables reach the gas baseline far later than in carbon-priced Europe.

Dig deeper

Geography
Where in Europe 24/7 clean power is cheapest — a ranked siting map, a scan of every ~1° cell of the continent on real weather, and how 14 EU/US markets compare.
Zero-carbon
Dropping gas entirely: the solar-only wall, what green hydrogen costs, and the land, water and embodied-carbon ledger per GW.
Method & trust
Assumptions, what is and isn't modelled, how far to trust the numbers, and a glossary.
All figures are real 2025 USD; at 2025-average exchange rates (≈$1.1 per €) $100/MWh is roughly €90/MWh. Model v6.0 · generated from output/*_firm_results.json at commit 8ab84d0 (config 40172b07822a49e6) · source on GitHub · licensed CC BY 4.0. Reproduce: make reproduce && make report.
This model was created in early June 2026, before I joined the AI Office in the European Commission. Nothing here represents the opinion of the AI Office or the EU Commission.