Environmental impact of LLM inference: doing better than 'median prompt emissions'
Do I need to reduce my use of AI to align with my personal environmental goals? Currently, estimations of my carbon emissions from LLM use ranges from a few kilos to a few tons of CO₂e. If it turns out to be a few tons, I want to drastically select what I use it for, but if it's a few kilos, it's irrelevant in my yearly emissions.
The last news that I thought would help me figure this out was Google's recent paper "Measuring the environmental impact of delivering AI at Google Scale" (August 2025). They measured emissions across their whole fleet of servers running the Gemini apps, and despite not being a proper lifecycle assessment, included more sources of emissions than many studies. From this, they mostly1 report this: "the median prompt on Gemini apps uses 0.24 Wh, equivalent to 0.03g CO₂e."
They are not the first ones to share this kind of metric, OpenAI's CEO shared roughly the same number for the average ChatGPT query in a... blog post.
But measuring the impact of a given interaction with an LLM is not straightforward, and simple metrics usually fail to account for important parameters. It makes sense: the environmental impact of a specific query depends on its length, the length of the response, modalities (image, sound, video), model size and quantisation, hardware utilisation, the energy mix of the servers, and many other interacting variables… On top of this, for efficiency, many queries are usually batched together and processed at the same time on the same machine, so we have only access to summary statistics.
The 'median prompt'
The usefulness of Google's numbers depends entirely on what is a 'median prompt' and how stable and representative it is as a unit. Scalar metrics are great, because they are easy to share and understand, but there are a few properties of prompts that make scalar metrics hard to develop well.
Prompt size. Prompts can vary in size by at least 3 orders of magnitude. From a quick "hi!" using a few thousand tokens2 to "translate this whole book to French" using up to a million tokens (the maximum context window of Gemini 2.5), emissions depend strongly on the prompt length and on the length of its answer. This is exacerbated by the relationship between prompt lengths and emission being non-linear (likely quadratic, due to the attention algorithm), meaning that a 4x longer prompt would use more than 4x the energy. This makes it crucial to specify the length of a prompt and its answer, as has been done for instance in the LCA of Mistral Large 2, which considers only 400-token responses.
Fixed model. The impact of a prompt also depends greatly on the LLM queried, as different models have very different cost profiles—from 0.40$ for 1M output tokens of Gemini 2.5 flash lite to up to 15$/Mtok for Gemini 2.5 pro. With almost 2 orders of magnitude of difference in price, the emissions of those models likely vary by at least one order of magnitude.3 Thus, one cannot merge the use of very different models in one metric, and must report numbers for each model separately.
Dealing with heavy-tailed distributions. Given the many orders of magnitude a prompt's emissions can take, they likely follow some heavy-tailed distribution: most emissions are small but a non-negligible amount are much higher. This kind of distribution is hard to summarise to a single number.
The median is usually very misleading as it hides the impact of the most expensive queries, which likely account for most of the impact of LLM use. This is critical if aggregating multiple models at once, as they do in their report: if small models serve 60% of the requests and large models 40%, the emission reported would be that of the 50th percentile, which is a small model, and completely ignore the emissions of the larger ones, even if they were 5x larger and represented most of the emissions.4
The median is also much lower than the average, but the average is about as misleading, as it is too sensitive to outliers5, doesn't represent well the bulk of lower-impact queries, and they both hide important properties of the distribution.
The best solution for this is to communicate the full distribution, or at least multiple quantiles that span the full range. Using the median discards the most energy-intensive half of the generations, which are much more energy-intensive than the bottom half and are the generations at the core of the challenge of energy optimisation.
What to count
Even with a proper methodology on how to count emissions, there are also a lot of choices on what to count.
Location-based emissions. Emissions should be reported using location-based emissions, and not market-based emissions. The location-based emissions correspond to the carbon emitted by the datacenters, which is the main figure of interest. On the other hand, market-based emissions are an accountability figure. They correspond to the location-based emissions minus the amount of clean energy certificates bought by a company. Those clean energy certificates are comparable to independent investments in renewable energy, and cannot be meaningfully removed from the datacenter's emissions. Under this logic, if Google had bought twice as many certificates, they could have concluded that their LLM apps have negative emissions, and actually remove carbon from the atmosphere!
Here's Google's location-based emission factor is about 3 times higher than their market-based emission factor, so one should multiply all their reported emissions by 3 to get the real number.
What about the supply chain? If one wants to estimate more precisely the impact of LLM inference, we also need to account for the emissions of the supply chain, from the mining of the raw materials, chips production, datacenter construction, teardown, model training, and more. Some of those might be insignificant, but some might add up to a significant amount. Take model training as an example: it's a large one time cost, that one can divide across all the queries it will serve, but most companies models are decomissioned after 1-2 years, if not a few months. How many queries did Claude Sonnet-3.6 serve? One would also definitely need to take into account the emissions of all the experiements and models that were never released, as without them we would not have the models we have today. And most of the compute is used for experiments rather than training one model or serving it.
Metric design
Now, if there's one thing I've taken from reading How to Measure Anything, it's that before measuring something, one should ask why they are measuring it, and that this answer should be "to take a better decision". Given this, we should design our metrics to make them most informative based on which decisions we need to make.
So what decisions need to be made, and what is needed for it?
My main question is whether I need to reduce my use of AI because of its environmental impact. App developpers have a similar question: which provider will have the best trade-off between quality, cost, and environmental impact for my usecase? (if they care at all about environmental impact)
Policymakers have different questions. Should environmental policies focus more on training or inference? How can we expect power usage of training/inference to grow over time? Will reducing emissions per query lead to a rebound effect, increasing total emissions?
Better metrics. To answer those questions and have an honest conversation about the environmental impact of LLM use, future papers would need to:
- Report emissions separately for each model
- When giving per-prompt estimates, report the prompt and completion length
- Ideal: report expected emissions for multiple or all prompt and answer lengths
- Always use location-based emissions to report about usage emissions
- Report total training and inference emissions per model
- Submit their methodology to peer review so that we can ensure the scientific process is build on sound methodologies.
Transparency isn't here yet. So where does this leave us? I still don't know the impact of my LLM use. I expect it to be not too high, even though I generate millions of tokens per year (mostly through Cursor). I do expect it to increase over time, as models get larger and use more and more compute at inference time (e.g. for "thinking"). For now, I'll focus on using short interactions rather than long chats, and avoid using them when there isn't a clear benefit, but I'll stay ready to make changes when the environmental costs will be too high (note: when, not if).
In the meantime, don't trust the median prompt, and keep questioning numbers that seem too simple.
Footnotes
They also have a similar section on water use, but I won't focus on it.↩
Every interaction in the app includes a system prompt, which currently is 2800 tokens.↩
Price is an indicator of the market more than resource use, but it is reasonable to expect it to be correlated, given that it correlates with expected model sizes.↩
It's similar to saying that the median EU citizen produced 0g of CO₂ from airplane emissions. It's possibly true, and important to have in mind when discussing the impact of planes, but tells you very little about the side of the distribution we care about!↩
The average wealth of people in a kilometre radius around Elon Musk is > 1 million dollar.↩