The environmental comparison I'd be interested in seeing is between a year of heavy personal usage of LLMs (ChatGPT, Claude, Gemini etc) compared to the CO2 emissions from a single passenger flight

Can I do my own personal carbon offsetting by skipping one trip a year?

Does that question even make sense?

@simon I suspect the answer is no unless you're willing to do some SINCERE hand waving in your calculations.

However I'd love to learn that I'm wrong and it would make for a super interesting experiment nonetheless!

@simon ecological damage in one area doesn't undo it in another. You shouldn't do either thing.
@scott the problem I have with that model is that, taken to its logical conclusion, I shouldn't travel by car or bus or train, or purchase manufactured goods, or turn on the heating, or - you know - live
@scott if I'm going to do stuff that emits carbon I need to have some kind of framework for deciding what things I do and what things I don't

@simon @scott
1. Avoid visiting gas stations.
2. Travel slow and near.
3. Avoid food from ruminants.
4. Repair.

Does this make sense?

@simon @scott You can't solve widespread social issues by forcing ONE person to act virtuously.

@simon @scott I encourage this line of enquiry. We as consumers should know the non-financial costs of our consumption.

This article is a good example where grocery items are priced with environmental impact in mind. Need more of this! https://www.nytimes.com/interactive/2024/09/19/climate/food-costs-protein-environment.html

The Hidden Environmental Costs of Food

Damage to the natural world isn’t factored into the price of food. But some governments are experimenting with a new way of exposing the larger costs of what we eat.

The New York Times
@simon @scott But if living like that needs 2.5 Earths of resources, then it doesn't matter how many imaginary flights we skip. All it's doing is providing false rationalization, the feeling that we've "done enough". But we haven't. So it's part of the problem.

@simon yes, if it is at all afforded to you by your society, you should avoid doing things that consume energy up until the point where we've balanced our energy use budget with the earths resources. If you do not personally have that ability, it's very understandable: collective energy use requires collective efforts to reduce usage. Change must be pressed for at the societal level.

That said, it is absurd and ridiculous to compare the necessity to heat your home to the vanity of consuming that power in the form of a fancy lying-to-you machine is so ridiculous I can't believe I actually have to say it. I have never used one of these products and I'm still alive and well.

@scott "I have never used one of these products and I'm still alive and well"

Then it's understandable that you wouldn't see why I value them more than an international flight!

I use them for a lot of things, some of it dumb but most of it genuinely useful https://simonwillison.net/series/using-llms/

Simon Willison: How I use LLMs and ChatGPT

Simon Willison’s Weblog
@simon I'm not sure if it makes sense to reason along the lines of compensation only. I mean, you would have to take into consideration public value created through your use of genAI, ressources (time, energy) saved by using genAI instead of x google searches and hours spent on stackoverflow. This won't be any means make genAI eco-friendly but I've got the impression that this is a more useful approach.
@simon Just rejecting the use of genAI quickly leads to a "argumentum ad speluncam". Of course, it'd be better not to use it. But if it's true that the carbon footprint of a chatgpt interaction is ten times a google search, it'd be better not to use google. Same is true - again to a lesser degree - for any other use of tech. So where is the cutoff? I don't think categorical rejection of genAI is not particulary useful.

@simon

Not to me. The flight will likely happen anyway.

@simon I ran the numbers for excluding mammals from my diet, and it tends to offset CO2 from my personal flights. Some very rough calculations put a cheeseburger on par with about 12 hours of GPT use. So maybe. See https://suffolklitlab.org/protective-randomness-artificial-intelligence/ (the back of the envelope calculations are way down at the bottom, best to ctr-f "CO2")
Protective Randomness: Why We Fear the AI Unknown and What to Do About It — Suffolk LIT Lab

Why people resist the change promised/threatened by AI and what one can do to prepare for the unknown.

Suffolk LIT Lab
@simon well, you could commit you and your offspring to store safely some of the nuclear waste coming out of Google's projected reactors. If it contains Plutonium, you're in for 50000 years.

@simon I think that the way forward here isn't to try and write it off as personal responsibility. Instead, put the focus where it belongs -- on the tech companies building, training & supplying models.

Demand (or better, regulate) that any power used for AI / LLM must come fully from investment by said companies into renewable energy sources, and that they must build out 25% extra capacity to feed back into the grid, beyond what they use.

@jwarlander @simon definitely a good idea. But shoudn't similar regulation be applied to any other industry as well. What makes ai special (honest question)?
@awinkler @simon Oh, absolutely correct. At this point, any increased energy usage in any industry should be treated the same.
@jwarlander @simon but as long as this is not the case I think the argunent specifically against ai is rather weak. Don't get me wrong: I wish people had to pay for environmental externalities, I just don't think ai is special and ai being over-hyped doesn't render every criticism unconditionally valid.

@awinkler @simon Within the tech industry, AI seems to be the fastest growing segment, and with the way projections look it could move from a fraction to a majority of tech industry energy consumption rather soon. That's why I care specifically about it.

I'm not affiliated with, or well-versed in, any other industries, so I'll leave those to people who know better about it.

For things to improve, we can't wait until we can fix *everything*. It must be sufficient to start with *something*.

@jwarlander @awinkler I believe what Alexander is asking:

Why not have a carbon tax on a higher level and don't get into details about what we do with it.

If in the end AI/LLM gets powered by renewables, fine. If it gets powered by non-renewable but they pay the price, fine too. Because it's a carbon tax it's not even specific to AI/LLMs.

Now it could be a carbon tax or any other reasonable regulation but it seems like capitalism can't figure out a solution for climate change on its own.

@djh @jwarlander you're right.Of course, an effective carbon tax won't happen. It's just strange that ai is expected to meet standards we don't actually apply elsewhere. The dabate seems skewed and I don't understand why exactly.

@simon while it would be an interesting theoretical question, how many "heavy user of LLMs" would do the same ?
and if "published" wouldn't it just be used as a performance stunt, a potential headline for a "news of the day", hiding the horrible truth (I mean ... small nuclear reactors ? fission startup ? ... Three Mile Island ???!! ) behind the shrub ... (imho)

but you nevertheless can avoid air travel anyway (I do) ... it still works in general to reduce you weight ;p

@simon Cost is a pretty direct an fair/accurate comparison of CO2 emissions for this (and everything really). A flight is mostly the cost of burning fuel, and LLM usage is mainly the cost of electricity. You're almost certainly not using more than a plane ticket's worth of electricty in a year of LLM usage. Datacenters are also more likely to get their electricity from low carbon sources, which works even more in their favor.
@nickalt @simon no it certainly is not fair to use cost!
There's no justification for that

@furicle @nickalt Exactly, and for two reasons specifically

1) We can just assume all those AI/LLM companies are VC subsidized right now, and

2) The costs on the environment are externalized and not prices in.

It's similar to how beef can be so cheap, because you're not paying for the degraded labd, for the animal abuse, for the bio-diversity loss, for the agro-chemicals destroying our soils, and so on.

@djh @furicle Agree about externalities wrt beef. CO2 does have a cost (it may be too low, but it does have one), so it's fair to compare LLMs and flights on cost. If a VC-sponsored AI company is actually spending $10 per query and only charing the customer $0.05, the cost is misleading, but that AI company was going to spend/lose that money anyway.
@simon wait what, you have air trips every year? Let alone MULTIPLE air trips? Ok, sure, financially supporting LLM training and using cloud LLMs is probably not a significant addition to *your* resource consumption... 😕
@kitten_tech having family in the UK having moved to the US does lead to quite a lot of additional CO2!
@simon (hug) I'd struggle with that!

@kitten_tech Before you shame air travel specifically I'd check out emissions from car trips.

It's surprising that emissions from cars are not that many orders of magnitudes away from air travel.

Do the calculations for all car trips per year and see how it compares to a flight. The answer might be shocking to you. It was to me.

@djh yeah, cars are dreadful and lots of little trips soon add up! Not to mention the impact of constructing all the roads and car parks and the cars themselves - so EVs are a positive step but only a small step... We really need more urban public transport, but we also need to build towns and cities around that, and THAT takes a long time to change...
@simon People seem to be especially concerned about water usage, but I feel like that can be straightforwardly converted to an electricity/CO₂ estimate using the equivalent number of BTUs provided by heat pumps based on the local energy mix. It ignores some trends (the overall mix is clearly trending towards more renewables over time), but likely good enough for a thought experiment.
@numist @simon how can water usage ( which is only reversed by months or years of environmental filtering if at all ) be compared to energy?
If there's no clean water to drink, the electricity won't help....

@furicle Datacenters are using water for cooling, which makes the water consumed for that purpose fungible with other inputs that are capable of fulfilling the same purpose. If @simon is inclined to come up with a CO₂ number that represents "the cost of AI" then including cooling makes that number fully representative.

(Also, it seems possible that evap cooling may become less common as popular awareness of the inequities of water rights in this country appears to have reached critical mass?)

@simon If you are looking at an overall CO2e budget for the way you live, then in principle you could look at where to allocate that 'spend' of CO2e

In economy a flight is approx 0.13kg CO2e per km flown. Double that for Premium economy and triple it for business class. LHR JFK return in economy is 1.6T CO2e per person.

There's estimates on tinterweb that suggest GPT CO2e at about 24tCO2e per day. Training cost est at 522tCO2e

TL;DR travel is always the big CO2e emission for most of us

@drs1969 @simon
My curiosity is stuck on how flying in a higher class than economy can produce 2X or 3X as much CO2. Do they really fit 3X as many people in economy as in the same space in business? Is there some other factor than how many bodies share the fuel emissions?

@LorenAmelang @simon yep, the area for the seat plus the person plus the luggage allowance plus the other bits and bobs. A lay flat biz class seat is 2-3x the space of an econ seat or threabouts.

Actual Co2e varies by plane make and the route flown.

Having done the CO2e calcs for my tech dept, the shock was to see that bluntly, most of our carbon footprint was in the commute to and from work. Overwhelmingly so.

@simon interesting question.

How would you account for the energy spent on training all these models? That costs much more energy than the inference, but it is also spilt on everyone using the models...

@ruben_int this leaked chart suggests OpenAI spent 2bn to run models and 3bn to train them, so a 2.5x multiplier might be a good way to estimate running + training costs
@simon It depends. Electricity =! carbon, the source of power matters. If the source of power is from renewables, then the carbon cost of AI is much lower than what most algorithms account for.

@simon FWIW, this is why Google wants nuclear. It's the fossil fuel firms that have taught us to despise electricity, so we reduce stupidly.

Again, electricity != carbon

We could have abundant, cheap, clean electricity everywhere. The issue is intentionally cultural & regulatory in nature rather than technical due to FUD spread by fossil fuel firms for decades that we take as gospel.

This is a great book on how we could be doing electricity without major tech changes: https://www.amazon.com/Electrify-Optimists-Playbook-Energy-Future/dp/0262545047/?tag=mlinar-20

Amazon.com

@simon One could try to time the query when the renewables are abundant on grid, if one knew where the service is hosted.

@simon

https://piktochart.com/blog/carbon-footprint-of-chatgpt/

According to this, a return flight from SF to Seattle is equivalent to 92593 queries.

I don’t actually vouch for their math, especially since “queries” are such a broad unit which don’t take into account the model, or token count, or the carbon efficiency of the power source. But I think it’s a useful order of magnitude starting point.

A Closer Look at The Carbon Footprint of ChatGPT

A short conversation with ChatGPT produces as much CO2 emissions as boiling a kettle. We take a brief look into ChatGPT’s carbon footprint.

Piktochart
@jfroehlich why not?
@simon because the environmental impact is not reduced, but only shifted from one thing to another. Like: “4 liters wine for me tonight might be much. Ok, then let’s offset and do just 3 liters wine and 1 liter beer.”
@simon if you would like to see such a comparison, why not rephrase your request as a prompt and feed it to some of your favorite LLMs?
@trindflo I already did exactly that - didn't even rephrase it, just pasted it in

@trindflo here's what I got from ChatGPT, problem is I don't trust ANY of the numbers because the underlying information on how much energy an individual prompt uses is effectively unavailable

Throwing in "What are some ethical and philosophical framework I could use to help explore this question?" did bring up some interesting leads though

https://chatgpt.com/share/6712f5dd-9bdc-8006-9a0a-f352ccb5b7f3

ChatGPT - アーミッシュ自転車の変化

Shared via ChatGPT

ChatGPT

@simon I've found the self-reported Llama2 training (!) emissions interesting. See section 2.2.1 here:

https://arxiv.org/abs/2307.09288

That doesn't say much about inference, tho, but it's a start.

You'd also have to include not just GPU energy but e.g. emissions of the data center and supporting software around it, cluster utilization, the emissions of people working on this, traveling, and so on.

There's Scope1/2/3 etc. categories to make this a bit more structured but in the end it's tough.

Llama 2: Open Foundation and Fine-Tuned Chat Models

In this work, we develop and release Llama 2, a collection of pretrained and fine-tuned large language models (LLMs) ranging in scale from 7 billion to 70 billion parameters. Our fine-tuned LLMs, called Llama 2-Chat, are optimized for dialogue use cases. Our models outperform open-source chat models on most benchmarks we tested, and based on our human evaluations for helpfulness and safety, may be a suitable substitute for closed-source models. We provide a detailed description of our approach to fine-tuning and safety improvements of Llama 2-Chat in order to enable the community to build on our work and contribute to the responsible development of LLMs.

arXiv.org

@simon If you want to balance out your own emissions (if that even makes sense, see folloing toot), you need to make sure your efforts adher to a concept from the climate space called "additionality":

Your skipped flight only counts if you really would have taken it and you cancel it not because you can but because you have to.

@simon Personal accountability for LLM/AI usage is a tough topic because it moves the accountability away from it's source: the companies behind AI/LLM.

It's exactly the same as nudging people to offset their flights and feeling good about it while not holding the fossil fuel industry accountable.

In the end capitalism doesn't care about the environment and we need a carbon tax or regulation to make sure we have a path forward on this planet. Big tech's climate pledges are non-binding charity.

@simon Disclaimer: I'm working in the climate space on reducing and avoiding greenhouse gas emissions in the livestock and grassland domain in the UK & Ireland for the last five years by now and the pattern we're seeing now with AI/LLMs is exactly the same as with fossil fuels.
@djh thanks for "additionality" - that's exactly the kind of terminology I was hoping to learn about today
@simon The part where you calculate your use‘s footprint makes sense (and would be very interesting to me, too) - justifying it by offsetting it against a specific unrelated „bad footprint“ activity like flying not so much unless you set a hard CO2 budget for yourself.
@simon Knowing the location of datacenters and using a source like https://app.electricitymaps.com/map you can guestimate the carbon footprint. My employer did the same for its datacenters in Norway but its somewhat complicated by a complex energy exchange market (we're connected to UK, Germany, Netherlands, Denmark, Sweden).
Live 24/7 CO₂ emissions of electricity consumption

Electricity Maps is a live 24/7 visualization of where your electricity comes from and how much CO2 was emitted to produce it.

@simon your writing often encourages others to use LLMs more. Would you like to take personal responsibility for your influence on other people's emissions? Have I framed the question fairly?

@graham_knapp I do think about that - am I having an outsized negative effect by showing people how to use this stuff?

I figure people are going to use this stuff anyway, so I hope to have a positive impact by encouraging people to use it responsibly and productively (and not just to generate slop)

@simon I definitely think you have a positive effect on me, and that does result in more LLM usage, at least over the last few weeks. I suspect the overall effect of LLMs is similar to adding new lanes of traffic - letting everyone move faster, write more software and generate more emissions. I guess that for most of us, choosing to buy a newer Mac / GPU is the most environmentally damaging way we could respond to this. The individual impact of using cloud LLMs looks smaller than ✈️🚗🍔...