7 ms·
A bottle of water per email: the hidden environmental costs of using AI chatbots
- Apfel 2y agoIs this true in a marginal cost sense? I was under the impression most of the environmental impact occurred during the training stage, and that it was significantly less costly post training?
- QuadmasterXLII 2y agoLlama 403b takes OOM a kilowatt minute to respond on our local gpu server, or about 10 grams of C02 per email. Last I checked, add another 20 grams of amortized manufacturing emissions. A typical commute is OOM 5-10 kg of CO2. this article is alarmist bullshit. (for entirely unrelated reasons openai delenda est)
- gcr 2y agoSo you can double your commute‘s environmental impact by using llama 1000x per day? That sounds pretty bad still, no?
- yunwal 2y agoA thousand times? I’d have a hard time typing out that many queries in 8 hours. Even 100 seems like a stretch for someone who uses it within something like cursor.
- gcr 2y agoCoding models these days use an inference every time you stop typing. Let’s say it’s 0.1 inference oer keystroke. If you keep VSCode open all day, I could believe it’s a significant energy draw. Google now uses several inferences per Google search. The average user’s #inferences-per-day is going to skyrocket. My point is that it’s understandable to consider AI a significant contributor to the average professional’s energy budget. It’s not an insult to point this out.
- morsch 2y agoMore and more environments offer LLM aid without having you explicitly typing in a query. E.g. trigger inference whenever static analysis fails (e.g. on a compile error). Or trigger an LLM aided auto-complete with Ctrl-Space. I don't think it'll be particularly unusual to reach 1000 queries in a working day that way.
- jeroenhd 2y agoYou could argue that this is no longer the case once the model is done; the cost per request will go down over time, as the set amount of power and coolant pumped through data centres gets divided over more people. However, AI companies can't afford to stand still. They have to keep training or they risk being made irrelevant by whatever AI company comes next. Furthermore, a non-significant amount of energy and cooling is being used for generating responses as well. It's plainly obvious when you run even the very modest AI models at home how much power these things take. The paper[1] mentions the statistics used to calculate these numbers. It has a separate column for inference, with numbers ranging from 10mL to 50mL of water per inference depending on the data centre sampled. The numbers seem bad, but the authors also call out that more transparency is needed. With all the bad rep out there from independent estimations and no AI companies giving detailed environmental impact data, I have to assume the real cost is worse than estimated, or companies would've tried to greenwash themselves already. [1] https://arxiv.org/pdf/2304.03271 https://arxiv.org/pdf/2304.03271
- guitarlimeo 2y ago> It's plainly obvious when you run even the very modest AI models at home how much power these things take. Really good point to put this into perspective. I tried models locally and my gpu was running red hot. Granted, I think the server boards like H100 are more optimized for the AI workloads so they run more efficiently than consumer gpus, but I don't believe they are more than 1 magnitude more efficient.
- gcr 2y agoAnother corollary is that AI companies don’t train one model at a time. Typical engineers will have maybe 5-10 models training at once. Large hyperparameter grid searches might have hundreds or thousands. Most of these will turn out to be duds. Only one model gets released, and that one’s energy efficiency is what’s reported.
- guitarlimeo 2y agoTrend is towards more inference compute (o1), so the post training costs will increase as they will scale that too.
- archerx 2y agoI wonder what the environmental costs of most American homes, stores and offices using A/C at full blast 24/7/365.
- deleted 2y ago[deleted]
- poidos 2y agoVery high. But since they provide actual utility as opposed to the overwhelming majority of the current usecases for generative language models, it doesn’t seem relevant here.
- yunwal 2y agoQuestionable in many cases. A bunch of stores have their A/C on full blast while keeping the door open in the summer. You can actually get fined for this in NYC now but in other US cities it’s still the norm.
- archerx 2y agoI lived in the tropics where it was hotter than the USA and we survived just fine without A/C. A/C is luxury and your luxury is destroying the planet. I don’t want you to stop using A/C but I would like people to accept that it is a luxury that is not needed in most cases.
- BenjiWiebe 2y agoThere's times and places where you can't survive "just fine" without AC. And the number of those times and places is increasing.
- archerx 2y agoFunny most of the world lives just fine without A/C. It really is an American thing.
- misnome 2y ago
- althea_tx 2y agoDoes anyone else have a hard time accepting these calculations? I don’t doubt the serious environmental costs of AI but some of the claims in this infographic seem far-fetched. Inference costs should be much lower than training costs. And, if a 100-word email with GPT-4 requires 0.14 kWh of energy, power AI users and developers must be consuming 100x as much. Also, what about running models like Llama-3 locally? Would love to see someone with more expertise either debunk or confirm the troubling claims in this article. It feels like someone accidentally shifted a decimal point over a few places to the right.
- guitarlimeo 2y agoEven if the costs were lower, the trend is towards more inference compute time (o1), so these costs might be valid for the future.
- viraptor 2y agoI'm not sure how comparable o1 is in total usage. Remember that people will either adjust the prompt or continue the conversation as needed. If o1 spends more time on the answer, but responds in fewer steps, it may be a net positive on energy use. Also it may skip the planning and self-reflection steps in agent usage completely. It's going to be hard to estimate the real change in usage.
- marginalia_nu 2y agoIf I run some simple inference locally on a 4090 (450 TDW card) it takes order of seconds and that sucker's going full blast, you're looking at order of 1 kJ, which is significantly higher than what is quoted in the article. Article numbers line up better with CPU inference for ~1s.
- gcr 2y agoI’m still kind of skeptical. M-series Apple hardware doesn’t even get warm during inference with some local models. Edit: Nah I’m convinced, look at table 1. Inference costs are around 20mL in a datacenter environment.
- deleted 2y ago[deleted]
- luma 2y agoI think the comparison that should be made here is the actual alternative - what is the cost in kw/hr of me sitting in front of my powered-on and not-sleeping laptop while I spend the next 10 minutes penning an email? If the machine can make that happen in a second, and it takes me 600x longer to do that while consuming power that entire time, I suspect that the AI carries an overall advantage when you actually include the full story. I'll file this under "lazy tech journalists didn't bother to do the math past the first, most obvious step".
- Yoric 2y agoOf course, if it's streamlined to be 600x faster, it's just going to be done 600x more often.
- EraYaN 2y agoThe biggest problem there is that that laptop is pretty darn efficient. And multiple GPUs and other servers running 100% to run that query for you are not quite as efficient. It does so much more math to get the LLM to do anything useful, the scale is really staggering compared to registering your keystrokes and updating the screen, even if that all happens in a bloated Javascript code base. You can run that laptop, which is not using more than 40 watts in spikes when just typing in a text editor for a long time compared to the full inference and processing load of that LLM. And that ignores the cost of training and getting the training data amortized over all queries.
- rainsford 2y ago
- ThouYS 2y agoIn all these calculations you have to wonder what "using water" even means. Add to that that most water cooled systems are closed loops, i.e. no water escapes
- johnthesecure 2y agoThe calculations paper talks about the water cycle and explains that fresh clean water isn't well distributed. I wonder whether big evaporators like data centers might actually help to redistribute water across the planet.
- llimos 2y agoJust because AI is new, it doesn't mean it's less valuable than the older things using up resources. AI is far more valuable than, say, television. If the goal is to reduce overall usage, what to stop should be determined by value, not chronologically/LIFO.
- tomrod 2y agoJevon's paradox is being rediscovered in a big way!
- Meganet 2y ago[dead]
- imgabe 2y agoWater. Does. Not. Disappear. The water circulates through a cooling system. It soaks up heat from the servers and goes outside and cools down, then goes back again. You are not "using up" the water. This is article is nonsense.
- gcr 2y agoYour comment is addressed in the introduction section of the paper being discussed. Do give it a read. https://arxiv.org/pdf/2304.03271 https://arxiv.org/pdf/2304.03271
- imgabe 2y agoThere is a ton of hand-waving in this paper, and they include water from electricity generation (which can easily change depending on the source) and the chip manufacturing (which would have to be amortized across the lifetime usage of the chips, still ongoing). The only datacenters that would actually consume water are the ones using open-loop evaporative cooling, which is not all of them. Over time, they'll get replaced with more efficient closed loop systems anyway. Water costs money. Datacenters are highly incentivized to use it as efficiently as possible. If it’s becoming scarce, increase the price and they’ll find ways to be even more efficient.
- gcr 2y agoWith reports like this discussing training cost, is the usage reported per-model? Or is it aggregated across the entire creative model development/exploration process? At the risk of doing original research, one thing I don’t see a lot of discussion on is that AI companies don’t train one model at a time. Typical engineers will have maybe 5-10 mid-size models training at once. Large automated hyperparameter grid searches might need ensembles of hundreds or thousands of training runs to compare loss curves etc... Most of these will turn out to be duds of course. Only one model gets released, and that one’s energy efficiency is (presumably) what’s reported. So we might have to multiply the training numbers by the number of employees doing active research, times the number of models they like to keep in flight at any given time.
- venky180 2y agohttps://archive.is/CAhVY https://archive.is/CAhVY
- gcr 2y agoLink to the paper in question: https://arxiv.org/pdf/2304.03271 https://arxiv.org/pdf/2304.03271 I don’t know why the URL was replaced with this much crappier Washington post article.
- spencerchubb 2y agoI argue it's impossible to measure the total environmental impact of anything, and it's a waste of time to even try. Let's break this down. There is water used at inference time and training time. The humans working on the project consume water. The building in which they did the project uses water. The whole supply chain for the computers? Good luck measuring the water usage in there This may seem pedantic, but I promise there is a point to this. Measuring environmental impact is like trying to understand a neural network. If you want to discourage water usage, the only way is to tax the marginal water used at any step in the supply chain. You don't need to know the total water usage for the last step of the supply chain, in this case, an LLM
- jjk166 2y agoWater used is a terrible metric. Water is not consumed in the process; many cooling systems are closed loop and even open loop systems just release water into the environment where it will be renewed. What matters is strain on water infrastructure, but that is wildly variable and can't be compared apples to apples. Like a water cooled data center drawing from an aquifer is a massively different beast than one drawing from a river. Likewise a data center with a dedicated tap is much different than one drawing from the standard municipal system. If datacenters are set up in places that can not support them, that's on the operators of the datacenters themselves, not the users of the compute power. And if datacenters are set up in locations where the resources they need are present but they create an excessive burden on the infrastructure upkeep, that's on the municipality for not appropriately charging them for their usage and/or approving plans without checking their capabilities.
- GaggiX 2y agoI don't think a single 100-word email using GPT-4 alone can cost 140wh, even considering how expensive GPT-4 is to run. If it takes 20 seconds for the model to compose the letter, that means: (3600/20)*140=25200W, a 25200W piece of hardware is used just to compose your email and no other request, this seems wrong by several orders of magnitude.
- Ukv 2y agoAccording to the paper (https://arxiv.org/pdf/2304.03271 https://arxiv.org/pdf/2304.03271), the vast majority of water usage is not from cooling but indirectly from energy usage. The paper in turn gets its electricity water intensity from: https://www.wsp.com/-/media/insights/us/documents/wp_guidance-for-calculating-water-use-embedded.pdf https://www.wsp.com/-/media/insights/us/documents/wp_guidanc... (reference [20]) - which notes: > Even though hydropower water withdrawal and consumption intensities are usually orders of magnitude larger than other types and likely to skew overall regional averages, it is important to include hydropower in the factors to show not only the power sector’s dependency on water but also its vulnerability to water shortages. Some people have pointed out that using water for cooling does not destroy it - it'll all rain back down. I think it would've still been fair to consider how much processed/drinking water was being evaporated, since it'd need processing again, but I can't really see the justification for the article's framing when the figure is measuring water that would've just flowed into the sea had the hydroelectric dam not been there.
- n_ary 2y agoWhile using water is one interesting point of the actual paper(from which this article is written), I would say, to a lay person, water volume makes more sense than arbitrary values like KiloJoules or KiloWatts, because I can imagine what a 20mL water would look like, but can't imagine what 20mJ or 20mW looks like.
- juancn 2y agoWhy water? It's not lost, it's endlessly renewable, specially since it's mostly just evaporated. Energy or carbon released is much more interesting. Do they mean evaporated? That's 2.45 kJ per gram starting at 20C or 1.2MJ per half liter water bottle or around, roughly 340 Wh per email. So, at an average price of let's say, a dollar per kWh, that's 34 cents of energy spent on the response. Something is off in the cost (unless I messed up in the math which is likely).
- InsanityCheck 2y agoThis makes no sense. 100 words for 0.14kWh is crazy. Currently the api costs 15$ for 1M output tokens ~ 750k words. So 50k words/$ But, according to washingtonpost, 50k words consume 70kWh of electricity. Which in turn would imply that OpenAI needs to pay less than 1.4ct per kWh of electricity to make a profit. Average industrial electricity cost in US ~8ct/kwh. -> The numbers are wrong or OpenAI has solved AGI and is using a fission reactor to produce energy. Also the numbers in the paper don't fit the numbers in the article (paper is older though). I actually think this is grossly misleading at best, and malicious misinformation at worst.