Level 3 · How it worksThe gold rush#196

Mining and energy: where the power comes from, and why the best customer can switch off

Bitcoin miners buy electricity wherever it is cheapest, which often means power that nobody else wants at that moment. Because a mine can be switched off in minutes, grids can pay it to stop, and that flexibility is as much the business as the bitcoin.

In every gold rush, the claims near the river were worth the most. Not because the gold was better there, but because you needed water to wash it out.

Bitcoin miners have their own river: electricity. A mining machine does one thing, guessing numbers, and every guess costs power. The machine doesn't care where the power comes from. The miner cares only what it costs.

So the honest answer to "where does mining's power come from?" is: wherever it's cheapest at that hour. Often that is power nobody else wants at that moment, and sometimes it's power the grid pays the miner not to use.

What it is

Mining turns electricity into proof of work. "Bitcoin's energy use: the honest numbers" gives the totals and the range. This one is about the mechanics: which power, and why.

The best survey we have is Cambridge's April 2025 industry report. It asked 49 mining firms, covering nearly 48% of the network's hash rate, about their mix: renewables 42.6%, natural gas 38.2%, nuclear 9.8%, coal 8.9% (Cambridge, 2025). The report itself warns that its sample leans towards US firms.

How it works

Three kinds of cheap power keep coming up.

Power at the wrong time. Wind and solar farms produce when the weather says so, not when people need it. When the grid has more than it can use or carry, prices fall and generators get switched off. A buyer who takes that surplus, and stops when it runs out, gets a low price.

Power in the wrong place. Gas comes out of oil wells as a by-product. Where there is no pipeline, it is often burned off in a flare. The World Bank counted 151 billion cubic metres flared in 2024, about 389 million tonnes of CO2 equivalent and roughly $63 billion of energy wasted (World Bank, 18 July 2025). The miners' pitch: put a generator and a container of machines at the well and burn the gas for something. We found no reliable public figure for how much of the network actually runs on it.

Power the grid wants back. This is the big one, and it has real numbers.

Most of Texas runs on its own grid, managed by ERCOT. In a heat wave, every air conditioner in the state switches on and spot prices jump. A large load that can drop off the grid in minutes is worth paying.

Riot Platforms, a listed US miner, published its figures for August 2023, a month of Texas heat (Riot, 6 September 2023):

  • It mined 333 bitcoin.
  • It cut its power use "by more than 95% during periods of peak demand".
  • It booked $24.2 million in power credits (selling power from its fixed-price contracts back to the grid at spot prices) and $7.4 million in ERCOT demand response credits. Riot rounds the total to $31.7 million.
  • Riot says those credits "equated to approximately 1,136 Bitcoin".

Do the division. $31.7 million over 1,136 bitcoin is about $27,900 per bitcoin, the price Riot's own conversion implies. And 1,136 is more than three times the 333 bitcoin it actually mined.

So in its best month for credits, the miner earned more by not digging than by digging. The pickaxe was the excuse. The power contract was the gold.

Why it matters

For grids, a load that switches off on request is useful. It soaks up surplus at night and in windy hours and gives the power back when people need it.

For neighbours, it is less simple. A mine that sells its power back at peak prices was paid by somebody, and in the end that is the people paying the bills. Whether that is a fair price for flexibility or a subsidy to miners is an argument, not a fact.

For the sheriff, it was enough to act. Texas passed SB 1929, which from 1 September 2023 requires mining facilities that need more than 75 megawatts on interruptible contracts to register with the state utility commission and report their location and expected demand (Texas Legislature, SB 1929). The sheriff arrived after the big claims were staked, as usual.

Where people get it wrong

  • "Mining runs on spare green power." Some of it does. Cambridge's survey still found 38.2% gas and 8.9% coal.
  • "Mining is just burning coal." The same survey found coal below 9%.
  • "Flared gas mining solves flaring." It uses some gas that would be burned anyway. The World Bank's flaring total kept rising in 2024.
  • "Demand response is free money." The credits pay for being off. A miner that is off isn't mining, and its machines lose value either way.
  • "Miners stabilise the grid." They can help on the margin. They also add a large new load that the grid has to plan for, which is why Texas made them register.

Ask who pays the miner

When a miner says it "supports the grid", ask one question: who pays it, and for what? If the answer is a grid operator paying it to switch off at peak hours, that is a real service with a real price.

If the answer is "we just use green power" without a contract, a location or a number, you are standing in the saloon. Somebody there will also sell you a share of the river.

Frequently asked questions

Where do Bitcoin miners get their electricity?

From wherever it is cheapest. A Cambridge survey of 49 mining firms published in April 2025 found 42.6% renewables, 38.2% natural gas, 9.8% nuclear and 8.9% coal, in a sample that leans towards US firms.

What is demand response in Bitcoin mining?

It means a mine agrees to cut its power use when the grid is short, and gets paid for it. In August 2023 Riot Platforms reported $7.4 million in ERCOT demand response credits in Texas, plus $24.2 million from selling contracted power back to the grid.

Can Bitcoin mining use flared gas?

Yes, a generator at an oil well can turn gas that would otherwise be flared into electricity for mining machines. The World Bank counted 151 billion cubic metres of gas flared worldwide in 2024. There is no reliable public figure for how much mining runs on it.

Why are Bitcoin miners in Texas?

Texas has a large grid with cheap power at many hours, and pays big flexible loads to switch off at peak times. Since 1 September 2023, mining facilities above 75 megawatts on interruptible contracts must register with the state utility commission.

Does Bitcoin mining help the power grid?

It can, by using surplus power and switching off when demand peaks. It also adds a large new load, and the payments it receives for switching off come from the wider market. Whether the trade is worth it depends on the grid and the contract.

Sources

  1. Cambridge Centre for Alternative Finance, Cambridge Digital Mining Industry Report (April 2025)
  2. Riot Platforms, Riot announces August 2023 production and operations updates (6 September 2023)
  3. Texas Legislature, SB 1929 (88th Legislature), bill analysis
  4. World Bank, Global gas flaring hits highest level since 2007 (18 July 2025)

Read next.