<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: SOMA AI</title>
    <description>The latest articles on DEV Community by SOMA AI (soma_ai).</description>
    <link>https://dev.to/soma_ai</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Forganization%2Fprofile_image%2F16437%2Feaa66a6b-f176-45d6-ad49-bd61d6e62600.png</url>
      <title>DEV Community: SOMA AI</title>
      <link>https://dev.to/soma_ai</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/soma_ai"/>
    <language>en</language>
    <item>
      <title>Prompt caching, routing and batch: what each saves on LLM API bills (list prices checked 23 November 2026)</title>
      <dc:creator>Guillermo Llopis (SOMA AI)</dc:creator>
      <pubDate>Tue, 24 Nov 2026 15:11:25 +0000</pubDate>
      <link>https://dev.to/soma_ai/prompt-caching-routing-and-batch-what-each-saves-on-llm-api-bills-list-prices-checked-23-91m</link>
      <guid>https://dev.to/soma_ai/prompt-caching-routing-and-batch-what-each-saves-on-llm-api-bills-list-prices-checked-23-91m</guid>
      <description>&lt;h1&gt;
  
  
  Prompt caching, routing and batch: what each saves on LLM API bills
&lt;/h1&gt;

&lt;p&gt;&lt;em&gt;List prices checked 23 November 2026. Two of them change within weeks, see the end.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;From SOMA AI, the Barcelona company that tracks and cuts the cost and carbon of company AI use. Written by SOMA AI's CTO with AI assistance and checked against the SOMA AI pages cited. Carbon figures are estimates from token counts, model size class and grid, not measurements.&lt;/p&gt;

&lt;p&gt;If you are asking how to reduce your company's LLM API costs, three levers do most of the work: caching the repeated part of prompts, sending routine requests to a cheaper model, and moving work that can wait to a batch API. This post gives the numbers for each as of 23 November 2026, and says where each one stops paying.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Prompt caching
&lt;/h2&gt;

&lt;p&gt;Every provider we checked bills cached input at a discount to fresh input. A tenth of the price is typical. Mistral advertises up to 90% off. SOMA AI's per-million-token table lists these cached prices (USD per million input tokens):&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Model&lt;/th&gt;
&lt;th&gt;Fresh input&lt;/th&gt;
&lt;th&gt;Cached input&lt;/th&gt;
&lt;th&gt;Discount&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Claude Opus 5.5&lt;/td&gt;
&lt;td&gt;$4.00&lt;/td&gt;
&lt;td&gt;$0.20&lt;/td&gt;
&lt;td&gt;95%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Claude Sonnet 5.5&lt;/td&gt;
&lt;td&gt;$2.00&lt;/td&gt;
&lt;td&gt;$0.10&lt;/td&gt;
&lt;td&gt;95%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Claude Sonnet 5&lt;/td&gt;
&lt;td&gt;$2.00&lt;/td&gt;
&lt;td&gt;$0.20&lt;/td&gt;
&lt;td&gt;90%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;gpt-6.2-sol&lt;/td&gt;
&lt;td&gt;$2.00&lt;/td&gt;
&lt;td&gt;$0.10&lt;/td&gt;
&lt;td&gt;95%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;gpt-4.1&lt;/td&gt;
&lt;td&gt;$2.00&lt;/td&gt;
&lt;td&gt;$0.50&lt;/td&gt;
&lt;td&gt;75%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;gpt-4o&lt;/td&gt;
&lt;td&gt;$2.50&lt;/td&gt;
&lt;td&gt;$1.25&lt;/td&gt;
&lt;td&gt;50%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Gemini 4 Carbon (changes 1 Dec)&lt;/td&gt;
&lt;td&gt;$2.00&lt;/td&gt;
&lt;td&gt;$0.10&lt;/td&gt;
&lt;td&gt;95%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Gemini 3.8 Flash (changes 1 Jan 2027)&lt;/td&gt;
&lt;td&gt;$0.75&lt;/td&gt;
&lt;td&gt;$0.075&lt;/td&gt;
&lt;td&gt;90%&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The discount is only half the story, because in 2026 cache writes cost money:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Anthropic.&lt;/strong&gt; A five-minute cache write costs 1.25 times the input price and a one-hour write costs 2 times. Reads cost 0.025 to 0.1 times. The five-minute cache pays back after one read and the one-hour cache after two.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;OpenAI (GPT-5.6 and later).&lt;/strong&gt; The default 30-minute cache costs 1.25 times input to write and 0.1 times to read. The 12-hour cache, on GPT-6.2 Astra and Sol and GPT-6.1 models, costs 2.5 times to write and 0.05 times to read. Payback is one read and two reads.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Google.&lt;/strong&gt; Explicit caches add an hourly storage charge. Break-even is 0.7 reads for Gemini 3.8 Flash, 3.7 for Gemini 3.5 Flash-Lite and 2.5 for Gemini 3.1 Pro Preview at 200k tokens. Below that, the cache costs more than it saves.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Worked example
&lt;/h3&gt;

&lt;p&gt;Claude Sonnet 5.5, a 10,000-token prefix reused across 100 requests, so 1 million input tokens in total:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Setup&lt;/th&gt;
&lt;th&gt;List cost&lt;/th&gt;
&lt;th&gt;Estimated CO2e&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;No cache&lt;/td&gt;
&lt;td&gt;$2.00&lt;/td&gt;
&lt;td&gt;20.1 g&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Five-minute cache&lt;/td&gt;
&lt;td&gt;$0.124&lt;/td&gt;
&lt;td&gt;5.93 g&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;One-hour cache&lt;/td&gt;
&lt;td&gt;$0.139&lt;/td&gt;
&lt;td&gt;5.93 g&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The price falls to 6.2% of the original. The carbon estimate falls to 30%, a smaller drop, because SAEF (SOMA AI's open emission factors) weights a cached input token at 0.05 against 0.3 for a fresh one, and counts training emissions per billed token whether cached or not.&lt;/p&gt;

&lt;p&gt;Caching does not pay when the prefix is not reused before it expires, when the prefix changes on every request, when most of your tokens are output, when an explicit Gemini cache is read fewer times than its break-even, or when the discount is small, as with gpt-4o at 50%.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Model routing
&lt;/h2&gt;

&lt;p&gt;Is routing worth it? It depends on the price gap between your models and on how much of your traffic a cheaper model handles well enough. Frontier-to-mid list-price ratios, by workload:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Pair&lt;/th&gt;
&lt;th&gt;Short chat&lt;/th&gt;
&lt;th&gt;Retrieval&lt;/th&gt;
&lt;th&gt;Agent loop&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Claude Opus 5.5 vs Sonnet 5.5&lt;/td&gt;
&lt;td&gt;2.00x&lt;/td&gt;
&lt;td&gt;2.00x&lt;/td&gt;
&lt;td&gt;2.00x&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Claude Opus 5.5 vs Sonnet 4.6&lt;/td&gt;
&lt;td&gt;1.33x&lt;/td&gt;
&lt;td&gt;1.30x&lt;/td&gt;
&lt;td&gt;0.87x&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;GPT-5.6 Sol vs Terra (Sol promo ends 30 Nov)&lt;/td&gt;
&lt;td&gt;1.78x&lt;/td&gt;
&lt;td&gt;1.81x&lt;/td&gt;
&lt;td&gt;1.96x&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Gemini 4 Carbon vs Gemini 3.8 Flash&lt;/td&gt;
&lt;td&gt;2.67x&lt;/td&gt;
&lt;td&gt;2.60x&lt;/td&gt;
&lt;td&gt;1.74x&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Note the 0.87 in the agent loop row. With a cache-heavy workload the older, cheaper-looking Sonnet 4.6 costs more than Opus 5.5, because Opus 5.5 cache reads are $0.20 per million and Sonnet 4.6 reads are $0.30. Compare on your own token mix, not on the headline input price.&lt;/p&gt;

&lt;p&gt;A routing scenario on a cache-heavy mix, moving requests from Claude Opus 5.5 to Sonnet 5.5:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Share of requests moved&lt;/th&gt;
&lt;th&gt;Cost reduction&lt;/th&gt;
&lt;th&gt;Estimated carbon reduction&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;30%&lt;/td&gt;
&lt;td&gt;15.0%&lt;/td&gt;
&lt;td&gt;22.6%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;50%&lt;/td&gt;
&lt;td&gt;25.0%&lt;/td&gt;
&lt;td&gt;37.6%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;60%&lt;/td&gt;
&lt;td&gt;30.0%&lt;/td&gt;
&lt;td&gt;45.1%&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;This is a scenario, not a result from a production system. It assumes the cheaper model answers well enough, which you have to test. SOMA AI suggests 150 to 300 real requests per task type before moving traffic.&lt;/p&gt;

&lt;p&gt;Two cautions. Claude 4.7 and later use a tokenizer that produces about 30% more tokens for the same text, so per-token prices are not comparable across tokenizer generations. And OpenAI's GPT-6.x, GPT-5.6, GPT-5.5 and GPT-5.4 list prices are short-context prices, up to 272K input tokens. Above that, input and cached prices double and output rises 1.5 times.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Batch APIs
&lt;/h2&gt;

&lt;p&gt;Anthropic, OpenAI, Google and Mistral all sell an asynchronous batch mode at half the standard price. That is the whole number: 50% off for work that can wait. Typical candidates are evaluations, bulk classification, document backfills and nightly summaries. It does not help interactive features.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Two cheaper levers people forget
&lt;/h2&gt;

&lt;p&gt;Output tokens cost 5 times input on every Claude model and on Gemini 4, and 4 to 8 times across OpenAI's listed models. Reasoning tokens are billed as output. In SOMA AI's reasoning-effort scenario for Claude Sonnet 5.5, 1,000 requests with a 928-token input cost $4.68 at 282 output tokens, and $30.06 when output grows ten times to 2,820 tokens, 6.4 times the cost. Cap output length and lower reasoning effort where quality allows.&lt;/p&gt;

&lt;p&gt;Also check where your tokens go. In SOMA AI's own October 2026 coding-agent usage, 97% of 12.4 billion tokens were cache reads and 0.3% were output. For that kind of workload, context that gets re-read drives the bill. A scenario SOMA AI has not carried out, combining a lighter model class with leaner context, estimates 38.5% lower list-price cost in the central case, with a range of 23.8% to 47.7%.&lt;/p&gt;

&lt;h2&gt;
  
  
  Price changes scheduled after 23 November 2026
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;GPT-5.6 Sol promotional pricing ends on 30 November 2026. OpenAI does not list the price after that.&lt;/li&gt;
&lt;li&gt;On 1 December 2026, Gemini 4 Carbon and Argon double. Input goes from $2.00 to $4.00, cached from $0.10 to $0.20 and output from $10.00 to $20.00.&lt;/li&gt;
&lt;li&gt;On 1 January 2027, Gemini 3.8 Flash and 3.6 Flash double. Input goes from $0.75 to $1.50 and output from $3.75 to $7.50.&lt;/li&gt;
&lt;li&gt;No scheduled Anthropic price change is listed as of 23 November 2026.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you are reading this after those dates, treat the tables above as history and check the live pages.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where to check
&lt;/h2&gt;

&lt;p&gt;The numbers come from SOMA AI's pages on &lt;a href="https://somaai.earth/ai-footprint/how-to/prompt-caching-cost-and-carbon" rel="noopener noreferrer"&gt;prompt caching&lt;/a&gt;, &lt;a href="https://somaai.earth/ai-footprint/how-to/llm-model-routing-cost-and-carbon" rel="noopener noreferrer"&gt;model routing&lt;/a&gt;, &lt;a href="https://somaai.earth/ai-footprint/how-to/reasoning-effort-cost-and-carbon" rel="noopener noreferrer"&gt;reasoning effort&lt;/a&gt;, &lt;a href="https://somaai.earth/ai-footprint/how-to/llm-cost-and-carbon-per-million-tokens" rel="noopener noreferrer"&gt;per-million-token prices&lt;/a&gt; and the &lt;a href="https://somaai.earth/ai-footprint/optimise" rel="noopener noreferrer"&gt;optimisation overview&lt;/a&gt;. Each links to the provider pricing pages and states the checked date. Carbon figures use factor version soma-ai-ef-2026.11-dataset-v3.1.0, last updated 12 November 2026, and are location-based grid estimates.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Disclosure: published by SOMA AI (somaai.earth), which publishes the SAEF dataset and sells AI cost and carbon tracking. Drafted with AI assistance. Canonical version: &lt;a href="https://somaai.earth/ai-footprint/how-to/prompt-caching-cost-and-carbon" rel="noopener noreferrer"&gt;somaai.earth&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>sustainability</category>
      <category>llm</category>
      <category>finops</category>
      <category>ai</category>
    </item>
    <item>
      <title>8 tools to measure the carbon footprint of AI in 2026 (EcoLogits, CodeCarbon, SAEF and more)</title>
      <dc:creator>Guillermo Llopis (SOMA AI)</dc:creator>
      <pubDate>Thu, 19 Nov 2026 10:10:34 +0000</pubDate>
      <link>https://dev.to/soma_ai/8-tools-to-measure-the-carbon-footprint-of-ai-in-2026-ecologits-codecarbon-saef-and-more-4l8b</link>
      <guid>https://dev.to/soma_ai/8-tools-to-measure-the-carbon-footprint-of-ai-in-2026-ecologits-codecarbon-saef-and-more-4l8b</guid>
      <description>&lt;p&gt;&lt;em&gt;I am CTO of SOMA AI, the first tool on this list. Each entry links to its own documentation so you can check it.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;The right tool depends on whose computers run the AI. For AI you buy as a service you need an estimate built from usage, and for AI on your own hardware you can measure the power draw directly. The eight options below are ordered by who they serve, not ranked.&lt;/p&gt;

&lt;h2&gt;
  
  
  How to choose
&lt;/h2&gt;

&lt;p&gt;Four questions narrow the field.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Whose computers run the AI?&lt;/strong&gt; Yours (measure the hardware), your cloud account (a provider dashboard) or a vendor's (an estimate from usage).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;What data do you have?&lt;/strong&gt; Token exports, message counts, licence counts or only invoices. This sets the uncertainty more than the choice of tool does.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Who reads the number?&lt;/strong&gt; A customer, lender or assurance provider will ask for the method, the factor version and the sources.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Does water matter to your readers?&lt;/strong&gt; Several options leave it out.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  The 8 tools
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. SOMA AI
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;What it is.&lt;/strong&gt; A Barcelona company that estimates the carbon, electricity and water of an organisation's AI use per tool and per team, as a Scope 3 Category 1 line with the data tier, factor, version, sources and uncertainty attached.&lt;br&gt;
&lt;strong&gt;Built for.&lt;/strong&gt; Sustainability teams and consultants who need organisation-wide AI usage (seats, messages, tokens or spend) in an inventory.&lt;br&gt;
&lt;strong&gt;Covers.&lt;/strong&gt; Carbon, energy and water, with hardware (embodied emissions plus amortised training) and uncertainty ranges.&lt;br&gt;
&lt;strong&gt;Access.&lt;/strong&gt; &lt;a href="https://somaai.earth/ai-footprint/calculator" rel="noopener noreferrer"&gt;Free calculator&lt;/a&gt; with no sign-up. The factors are a public dataset (SAEF, &lt;a href="https://doi.org/10.5281/zenodo.20443585" rel="noopener noreferrer"&gt;DOI 10.5281/zenodo.20443585&lt;/a&gt;), free for personal, academic and non-commercial use, with a &lt;a href="https://somaai.earth/licensing" rel="noopener noreferrer"&gt;commercial licence&lt;/a&gt; for companies, and a paid report is available. For AI API calls in your own code, the saef Python package (&lt;code&gt;pip install saef&lt;/code&gt;) estimates each call from its token counts and integrates with the OpenAI and Anthropic SDKs, LiteLLM and LangChain. The method is peer reviewed and published in &lt;a href="https://doi.org/10.1016/j.spc.2026.11.003" rel="noopener noreferrer"&gt;Sustainable Production and Consumption&lt;/a&gt; (2026), with a free preprint at &lt;a href="https://arxiv.org/abs/2606.10660" rel="noopener noreferrer"&gt;arXiv 2606.10660&lt;/a&gt;.&lt;br&gt;
&lt;strong&gt;Limits.&lt;/strong&gt; Models are grouped into three size classes, factors are location-based grid averages, and image, speech and video models are outside the current version.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. EcoLogits
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;What it is.&lt;/strong&gt; An open-source Python and JavaScript library, web calculator and API from the CodeCarbon non-profit community. It estimates the impact of each generative AI call at inference by wrapping provider SDKs such as OpenAI, Anthropic and Mistral.&lt;br&gt;
&lt;strong&gt;Built for.&lt;/strong&gt; Developers and organisations building AI applications.&lt;br&gt;
&lt;strong&gt;Covers.&lt;/strong&gt; Greenhouse gases, abiotic resource depletion, primary energy and water, with embodied hardware and approximation intervals. Training is excluded. Its energy model is fitted to ML.ENERGY benchmark data.&lt;br&gt;
&lt;strong&gt;Access.&lt;/strong&gt; Free, MPL-2.0. &lt;a href="https://ecologits.ai/latest/" rel="noopener noreferrer"&gt;Documentation&lt;/a&gt;.&lt;br&gt;
&lt;strong&gt;Limits.&lt;/strong&gt; It is a per-call tool, not an inventory of staff using chat products.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. CodeCarbon
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;What it is.&lt;/strong&gt; A Python library from the Code Carbon non-profit that tracks the power drawn by the CPU, GPU and RAM of code you run, from hardware counters where it can read them and estimates where it cannot, then applies the carbon intensity of the region.&lt;br&gt;
&lt;strong&gt;Built for.&lt;/strong&gt; Teams training or running models on their own hardware.&lt;br&gt;
&lt;strong&gt;Covers.&lt;/strong&gt; Carbon and energy of your own compute. Water and embodied hardware are not addressed, and uncertainty ranges are not stated in its README.&lt;br&gt;
&lt;strong&gt;Access.&lt;/strong&gt; Free, MIT. &lt;a href="https://github.com/mlco2/codecarbon" rel="noopener noreferrer"&gt;Repository&lt;/a&gt;.&lt;br&gt;
&lt;strong&gt;Limits.&lt;/strong&gt; Its README sends users of remote APIs to EcoLogits.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. ML.ENERGY Leaderboard
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;What it is.&lt;/strong&gt; An academic initiative led from the University of Michigan with partners. Its leaderboard benchmarks generative AI inference on energy, latency and quality across models and systems, and it measures GPU energy.&lt;br&gt;
&lt;strong&gt;Built for.&lt;/strong&gt; Comparing open models.&lt;br&gt;
&lt;strong&gt;Covers.&lt;/strong&gt; Energy. Carbon, water, hardware and ranges are not stated on the pages I read.&lt;br&gt;
&lt;strong&gt;Access.&lt;/strong&gt; The Zeus measurement library is Apache-2.0. The leaderboard data licence is not stated on the pages I read. &lt;a href="https://ml.energy/" rel="noopener noreferrer"&gt;ml.energy&lt;/a&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  5. AI Energy Score (Hugging Face)
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;What it is.&lt;/strong&gt; An initiative that gives comparable efficiency ratings from 1 to 5 stars per task, based on GPU energy per 1,000 queries on an NVIDIA H100 80GB for standard tasks.&lt;br&gt;
&lt;strong&gt;Built for.&lt;/strong&gt; Comparing model efficiency.&lt;br&gt;
&lt;strong&gt;Covers.&lt;/strong&gt; GPU energy only. Its documentation gives guidance for estimating CPU and RAM, carbon and water, but these are not part of the score. Ranges are not stated.&lt;br&gt;
&lt;strong&gt;Access.&lt;/strong&gt; Open models through a portal, proprietary models by Docker submission. Repository under MIT. &lt;a href="https://huggingface.github.io/AIEnergyScore/" rel="noopener noreferrer"&gt;Documentation&lt;/a&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  6. Cloud provider carbon tools
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;What they are.&lt;/strong&gt; The dashboards of &lt;a href="https://docs.cloud.google.com/carbon-footprint/docs/covered-services" rel="noopener noreferrer"&gt;Google Cloud Carbon Footprint&lt;/a&gt;, &lt;a href="https://docs.aws.amazon.com/sustainability/latest/userguide/what-is-sustainability.html" rel="noopener noreferrer"&gt;AWS Sustainability&lt;/a&gt; and &lt;a href="https://learn.microsoft.com/azure/carbon-optimization/overview" rel="noopener noreferrer"&gt;Azure Carbon optimization&lt;/a&gt;.&lt;br&gt;
&lt;strong&gt;Built for.&lt;/strong&gt; Organisations whose AI runs inside their own cloud account.&lt;br&gt;
&lt;strong&gt;Covers.&lt;/strong&gt; Google lists Gemini API and Vertex AI among covered services, and its method includes embodied emissions of equipment and facilities, with location-based and market-based figures. AWS reports carbon by scope, region and service, plus water withdrawals. Azure reports resource-level emissions monthly.&lt;br&gt;
&lt;strong&gt;Access.&lt;/strong&gt; Azure's tool is free. Google's documentation does not state a price.&lt;br&gt;
&lt;strong&gt;Limits.&lt;/strong&gt; They report your cloud account, not employees' AI subscriptions. For Microsoft 365, a Microsoft Q&amp;amp;A answer says Copilot is part of the aggregate footprint but not shown as its own line.&lt;/p&gt;

&lt;h3&gt;
  
  
  7. Greenpixie
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;What it is.&lt;/strong&gt; A company offering cloud emissions data and a GreenOps platform for AWS, Azure and Google Cloud. Its site describes carbon, water, electricity and spend by model and token type, using actual cloud usage data.&lt;br&gt;
&lt;strong&gt;Built for.&lt;/strong&gt; FinOps and cloud teams in enterprises on the large cloud providers.&lt;br&gt;
&lt;strong&gt;Covers.&lt;/strong&gt; Carbon, energy and water, location-based, with a methodology it describes as ISO 14064-3 verified. Its site calls the data Scope 3 inclusive but does not detail embodied hardware, and ranges are not stated.&lt;br&gt;
&lt;strong&gt;Access.&lt;/strong&gt; "Get started for free" on its site, tiers not public. &lt;a href="https://www.greenpixie.com" rel="noopener noreferrer"&gt;greenpixie.com&lt;/a&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  8. Watershed's AI emissions framework
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;What it is.&lt;/strong&gt; A published corporate framework, not a tool feature. It scopes training, inference, data centre overhead and embodied hardware, uses kg CO2e per million tokens as its unit and defines three tiers by data quality.&lt;br&gt;
&lt;strong&gt;Built for.&lt;/strong&gt; Teams that want a documented method.&lt;br&gt;
&lt;strong&gt;Covers.&lt;/strong&gt; Carbon and hardware. Its example puts a hypothetical company's AI use at 54 t CO2e on a common benchmark and 3 to 4 t with the most granular data.&lt;br&gt;
&lt;strong&gt;Access.&lt;/strong&gt; &lt;a href="https://watershed.com/blog/ai-emissions-framework" rel="noopener noreferrer"&gt;Published on Watershed's blog&lt;/a&gt;. The Watershed platform is demo only.&lt;/p&gt;

&lt;h3&gt;
  
  
  Also worth knowing
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://co2.berget.ai/" rel="noopener noreferrer"&gt;Berget AI&lt;/a&gt;, a Swedish inference provider, returns CO2e per request in its own APIs and publishes its location-based method, including hardware emissions. It covers only requests Berget serves. &lt;a href="https://projetcelsius.com/en/blog/measure-ai-footprint-in-your-company" rel="noopener noreferrer"&gt;Projet Celsius&lt;/a&gt; in France offers diagnostics for SMEs, mid-caps and local authorities from console exports and questionnaires, using its Base IA factors, which it says will be public and dated, with price on quotation.&lt;/p&gt;

&lt;h2&gt;
  
  
  Comparison at a glance
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Tool&lt;/th&gt;
&lt;th&gt;Estimates or measures&lt;/th&gt;
&lt;th&gt;Carbon&lt;/th&gt;
&lt;th&gt;Energy&lt;/th&gt;
&lt;th&gt;Water&lt;/th&gt;
&lt;th&gt;Hardware&lt;/th&gt;
&lt;th&gt;Ranges&lt;/th&gt;
&lt;th&gt;Access&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;SOMA AI&lt;/td&gt;
&lt;td&gt;Estimates&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Free calculator, data free for non-commercial use, paid report&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;EcoLogits&lt;/td&gt;
&lt;td&gt;Estimates per call&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Free, MPL-2.0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;CodeCarbon&lt;/td&gt;
&lt;td&gt;Measures own hardware&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;No&lt;/td&gt;
&lt;td&gt;No&lt;/td&gt;
&lt;td&gt;Not stated&lt;/td&gt;
&lt;td&gt;Free, MIT&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;ML.ENERGY&lt;/td&gt;
&lt;td&gt;Measures GPU energy&lt;/td&gt;
&lt;td&gt;Not stated&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Not stated&lt;/td&gt;
&lt;td&gt;Not stated&lt;/td&gt;
&lt;td&gt;Not stated&lt;/td&gt;
&lt;td&gt;Zeus Apache-2.0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;AI Energy Score&lt;/td&gt;
&lt;td&gt;Measures GPU energy&lt;/td&gt;
&lt;td&gt;Guidance only&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Guidance only&lt;/td&gt;
&lt;td&gt;No&lt;/td&gt;
&lt;td&gt;Not stated&lt;/td&gt;
&lt;td&gt;Free, MIT repo&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Cloud tools&lt;/td&gt;
&lt;td&gt;Report your account&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Not stated&lt;/td&gt;
&lt;td&gt;AWS only&lt;/td&gt;
&lt;td&gt;Google yes&lt;/td&gt;
&lt;td&gt;Not stated&lt;/td&gt;
&lt;td&gt;Azure free&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Greenpixie&lt;/td&gt;
&lt;td&gt;Reports cloud usage&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Not detailed&lt;/td&gt;
&lt;td&gt;Not stated&lt;/td&gt;
&lt;td&gt;Free start&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Watershed framework&lt;/td&gt;
&lt;td&gt;Published method&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Not stated&lt;/td&gt;
&lt;td&gt;Not stated&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Not stated&lt;/td&gt;
&lt;td&gt;Published&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  Which one should you use?
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;You buy AI as a service and need a Scope 3 line for staff using ChatGPT, Copilot, Claude or Gemini.&lt;/strong&gt; Look at an organisation-wide estimator such as SOMA AI, or Projet Celsius if you want a consulting diagnostic.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;You build an application on provider APIs.&lt;/strong&gt; EcoLogits, because it sits in your code.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;You train or run models on your own GPUs.&lt;/strong&gt; CodeCarbon, with ML.ENERGY and AI Energy Score for comparison.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;You want to compare models before choosing one.&lt;/strong&gt; AI Energy Score and the ML.ENERGY Leaderboard.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Your AI runs in your cloud account.&lt;/strong&gt; The provider dashboard, or Greenpixie if a FinOps team owns the question.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;You want a method to adapt or audit.&lt;/strong&gt; Watershed's framework, and the SOMA paper, published in Sustainable Production and Consumption.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Every option for purchased AI produces estimates, so ask each one for its sources.&lt;/p&gt;

&lt;h2&gt;
  
  
  Links
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Full comparison: &lt;a href="https://somaai.earth/ai-footprint/guides/ai-carbon-footprint-tools-compared" rel="noopener noreferrer"&gt;somaai.earth/ai-footprint/guides/ai-carbon-footprint-tools-compared&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Free calculator: &lt;a href="https://somaai.earth/ai-footprint/calculator" rel="noopener noreferrer"&gt;somaai.earth/ai-footprint/calculator&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;em&gt;Guillermo Llopis-Garcia is CTO of SOMA AI. Facts were checked against each publisher's documentation on 10 and 11 November 2026. If one is out of date, write to &lt;a href="mailto:guillermollopis@somaai.earth"&gt;guillermollopis@somaai.earth&lt;/a&gt; and I will correct it.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Drafted with AI assistance and checked by the author against each publisher's documentation.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>sustainability</category>
      <category>machinelearning</category>
      <category>climate</category>
    </item>
    <item>
      <title>How can I measure the environmental impact of the AI I use?</title>
      <dc:creator>Guillermo Llopis (SOMA AI)</dc:creator>
      <pubDate>Sat, 14 Nov 2026 09:27:56 +0000</pubDate>
      <link>https://dev.to/soma_ai/how-can-i-measure-the-environmental-impact-of-the-ai-i-use-3mo0</link>
      <guid>https://dev.to/soma_ai/how-can-i-measure-the-environmental-impact-of-the-ai-i-use-3mo0</guid>
      <description>&lt;p&gt;&lt;em&gt;Written by SOMA AI, which is one of the options below, so check each claim against the linked sources. Drafted with AI assistance and fact-checked against the sources on the original page.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;You can meter the AI that runs on hardware you control, such as your own GPUs and servers. For AI you buy as a service, such as ChatGPT, Copilot, Claude or Gemini, you cannot meter anything, because providers do not publish energy per customer or for the requests you send. You can only estimate it from usage and published factors. Either way you end up with three quantities: energy in kWh, emissions in kg CO2e and water in litres.&lt;/p&gt;

&lt;h2&gt;
  
  
  What can I measure directly, and what can I only estimate?
&lt;/h2&gt;

&lt;p&gt;It depends on whose computers run the AI.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Your own hardware.&lt;/strong&gt; A power meter or a smart plug gives you metered kWh. Software such as CodeCarbon reads hardware energy counters where it can and estimates the rest from load. Multiply by the carbon intensity of your grid and you have CO2e.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Your own cloud account.&lt;/strong&gt; Cloud providers report the emissions of the resources you rent. They do not break this down per model or per prompt.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A vendor's computers.&lt;/strong&gt; This covers chat seats and API calls. The vendor does not give you the energy, so the number is an estimate built from your usage (messages, tokens or spend), an energy factor for the model size, and the grid where it runs.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;An estimate is not a weaker answer if you label it as one and write down the method. It becomes a problem when it is reported as a reading.&lt;/p&gt;

&lt;h2&gt;
  
  
  Which tool fits which kind of AI use?
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Your AI use&lt;/th&gt;
&lt;th&gt;Tool that fits&lt;/th&gt;
&lt;th&gt;What you get&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Training or inference on your own GPUs&lt;/td&gt;
&lt;td&gt;CodeCarbon or Green Algorithms&lt;/td&gt;
&lt;td&gt;Estimated energy and emissions of your own hardware&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;API calls made from your code&lt;/td&gt;
&lt;td&gt;EcoLogits, or SAEF (&lt;code&gt;pip install saef&lt;/code&gt;, with a LangChain &lt;code&gt;SaefMiddleware&lt;/code&gt;)&lt;/td&gt;
&lt;td&gt;Per-call estimates&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;ChatGPT, Copilot or Claude seats across a company&lt;/td&gt;
&lt;td&gt;SOMA AI calculator, or the SAEF factors applied to seats x messages&lt;/td&gt;
&lt;td&gt;An organisation-wide estimate for a Scope 3 line&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Cloud infrastructure you rent&lt;/td&gt;
&lt;td&gt;Your cloud provider's own dashboard&lt;/td&gt;
&lt;td&gt;Emissions of your cloud account&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;SAEF is the SOMA AI Emission Factors, a public dataset with a DOI, free for personal, academic and non-commercial use (companies need a &lt;a href="https://somaai.earth/licensing" rel="noopener noreferrer"&gt;commercial licence&lt;/a&gt;). The SOMA AI calculator is free and needs no sign-up. EcoLogits is an open-source library that wraps provider SDKs. It fits an application you build, but chat products used by staff never pass through your code. CodeCarbon's own README sends users of remote APIs to EcoLogits.&lt;/p&gt;

&lt;h2&gt;
  
  
  How do I estimate my ChatGPT or Copilot use?
&lt;/h2&gt;

&lt;p&gt;Use three steps and keep a note of each assumption.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Count usage.&lt;/strong&gt; Take active seats and messages per seat per month from the admin export. Microsoft 365 Copilot reports prompts submitted to Copilot Chat per user in the admin center, with no token counts. ChatGPT Enterprise and Edu show messages per user in workspace analytics.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Pick an energy figure by model class.&lt;/strong&gt; SAEF assumes an exchange of 1,210 tokens (928 in, 282 out). For that exchange a mid-size model, class B, comes to 0.099 Wh at facility level. Class A is 0.03 Wh and class C is 0.37 Wh. Providers do not publish model sizes, so choosing the class is your largest source of error.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Apply the grid.&lt;/strong&gt; Multiply by the carbon intensity of the region where the model runs. The SAEF factors already include server and facility overheads and a modelled share of hardware, building and training.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Worked example, 250 Copilot seats.&lt;/strong&gt; Take 250 active seats, 30 messages per seat per month, 12 months and class B, with the dataset's reasoning uplift on output tokens. That is 90,000 messages and about 140 million billed tokens. The SOMA AI estimate is 5.02 kg CO2e on a US East (N. Virginia) grid, with a band of 2.5 to 12 kg. On a Swedish grid it is 1.25 kg. If the same 250 seats are heavy users at 325 messages per seat per month, the US East estimate rises to 54.4 kg. How much people use the tool and where it runs move the figure as much as the number of seats does.&lt;/p&gt;

&lt;p&gt;If you only have an invoice, a spend factor of 0.09613 kg CO2e per euro (deflated) gives a screening figure for the whole subscription. Use it as a first pass and label it as such. Usage-based estimates are better when you can get the data.&lt;/p&gt;

&lt;h2&gt;
  
  
  How much is one ChatGPT query?
&lt;/h2&gt;

&lt;p&gt;About a third of a watt-hour for a short text query, on published estimates. No provider has published a metered, audited figure for ChatGPT.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Google&lt;/strong&gt; reports 0.24 Wh for the median Gemini Apps text prompt (August 2025). That counts active chips, host machines, idle capacity and data-centre overhead. It is Google's service, not ChatGPT. Google gives 0.10 Wh for a narrower scope that counts only active chips.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Epoch AI&lt;/strong&gt; modelled about 0.3 Wh for GPT-4o with 500 output tokens, with a range of 0.1 to 4 Wh under other assumptions.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Sam Altman&lt;/strong&gt; gave 0.34 Wh for the average ChatGPT query (June 2025), without a method or boundary.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;SOMA AI&lt;/strong&gt; estimates 0.099 Wh at facility level for a 1,210-token exchange on a class B model.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The numbers differ because the boundaries and the query differ, not because one is wrong. Length matters most. Epoch AI puts a 10,000-token input at about 2.5 Wh and a 100,000-token input at about 40 Wh, so "one query" hides a very wide range. SOMA AI figures and the provider figures above are not a like-for-like comparison.&lt;/p&gt;

&lt;h2&gt;
  
  
  Should I report it, and where?
&lt;/h2&gt;

&lt;p&gt;For a company, AI services you buy belong in GHG Protocol Scope 3 category 1, purchased goods and services. List every service, including chat seats, APIs and AI inside other software. Then:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Label the figure as an estimate and show the band.&lt;/li&gt;
&lt;li&gt;Name the factor version you used and cite its source.&lt;/li&gt;
&lt;li&gt;State your assumptions, in particular the model class and the region.&lt;/li&gt;
&lt;li&gt;Replace defaults with your own message or token counts as soon as you have them.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Auditors and customers tend to care more about a documented method than about decimals.&lt;/p&gt;

&lt;h2&gt;
  
  
  What about water?
&lt;/h2&gt;

&lt;p&gt;Water figures vary even more than energy, mostly because sources count different things. Google reports 0.26 mL for the median Gemini Apps text prompt. Mistral, with Carbone 4 and ADEME, reports 45 mL for a 400-token Le Chat response. Both are self-published, cover one provider each and draw their boundaries differently. SOMA AI estimates, on its own boundary, 0.24 mL per 1,210-token exchange for a mid-size (class B) model served from US East (N. Virginia) and about 0.6 mL from EU North (Sweden). The region changes the water, not the watt-hours. Treat any single "water per prompt" number with suspicion unless it says which water it counts.&lt;/p&gt;

&lt;h2&gt;
  
  
  What are the limits of this approach?
&lt;/h2&gt;

&lt;p&gt;Models are grouped in three size classes, and a wrong class is the largest single error. Factors are location-based grid averages, not a provider's renewable contracts. Image, speech and video models are outside the current SAEF version. Every option for purchased AI produces estimates, ours included.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Related.&lt;/strong&gt; SOMA AI calculator, SAEF factor table and download, methodology page, "How to estimate a team's ChatGPT and Copilot footprint", "LLM token CO2e formula", "Tools compared".&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Originally published at &lt;a href="https://somaai.earth/ai-footprint/answers/how-to-measure-environmental-impact-of-ai-you-use" rel="noopener noreferrer"&gt;somaai.earth&lt;/a&gt;. Spanish version: &lt;a href="https://somaai.earth/ai-footprint/respuestas/como-medir-impacto-ambiental-ia" rel="noopener noreferrer"&gt;¿Cómo puedo medir el impacto ambiental de la IA que uso?&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>sustainability</category>
      <category>chatgpt</category>
      <category>machinelearning</category>
    </item>
    <item>
      <title>The same AI query can emit 12 times more carbon depending on the cloud region</title>
      <dc:creator>Guillermo Llopis (SOMA AI)</dc:creator>
      <pubDate>Tue, 10 Nov 2026 13:37:58 +0000</pubDate>
      <link>https://dev.to/soma_ai/the-same-ai-query-can-emit-12-times-more-carbon-depending-on-the-cloud-region-2g6b</link>
      <guid>https://dev.to/soma_ai/the-same-ai-query-can-emit-12-times-more-carbon-depending-on-the-cloud-region-2g6b</guid>
      <description>&lt;p&gt;&lt;em&gt;Two choices you already make as a developer, the region and the model size, move the estimate more than anything else.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;I am CTO of SOMA AI, which publishes the dataset used here.&lt;/p&gt;

&lt;p&gt;When we built our emission factors for AI inference, I expected the model to be the whole story. It is not. The place where the model runs matters almost as much, and it is a setting most teams pick once, by latency or habit, and never revisit.&lt;/p&gt;

&lt;p&gt;Here is what the numbers say. All of them are estimates from the SOMA AI Emission Factors (DOI 10.5281/zenodo.20443585, free for non-commercial use, companies need a &lt;a href="https://somaai.earth/licensing" rel="noopener noreferrer"&gt;commercial licence&lt;/a&gt;), for one mid-size AI exchange of 1,210 tokens. They are location-based grid averages, not renewable contracts.&lt;/p&gt;

&lt;h2&gt;
  
  
  One exchange, 12 times apart
&lt;/h2&gt;

&lt;p&gt;Across the 143 AWS, Azure and Google Cloud regions in the dataset, the lowest estimate is on the Quebec grid, where the dataset maps AWS ca-central-1. It comes to 0.008 g CO₂e. The highest is Bahrain, at 0.095 g. That is about 12 times more for identical work.&lt;/p&gt;

&lt;p&gt;Closer to home, the spread inside the EU is about 7.4 times. Sweden is lowest at 0.009 g and Poland highest at 0.070 g. The EU-27 average is 0.029 g and the world-average grid gives 0.053 g. Spain sits at 0.022 g, rank 12 of 27.&lt;/p&gt;

&lt;p&gt;Why does the grid change the number so much? Because electricity is most of the footprint on a fossil-heavy grid and a small part on a clean one. On the world-average grid, electricity is 90% of the estimate for one exchange. The rest is server hardware, the data-centre building and the amortised training of the model. That remainder is about 0.006 g wherever the query runs, which is why even the cleanest grid does not reach zero.&lt;/p&gt;

&lt;p&gt;One detail matters to platform teams. A query is served where the data centre is, not where the user sits. So the factor to use is the region in your cloud usage export, not your office's country.&lt;/p&gt;

&lt;h2&gt;
  
  
  Model size multiplies everything
&lt;/h2&gt;

&lt;p&gt;Region is half of the picture. The other half is the model class. This table shows the estimated g CO₂e for the same 1,210-token exchange on three grids.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Model class&lt;/th&gt;
&lt;th&gt;Quebec (Canada)&lt;/th&gt;
&lt;th&gt;World average&lt;/th&gt;
&lt;th&gt;Bahrain&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Class A, small&lt;/td&gt;
&lt;td&gt;0.002&lt;/td&gt;
&lt;td&gt;0.016&lt;/td&gt;
&lt;td&gt;0.028&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Class B, mid&lt;/td&gt;
&lt;td&gt;0.008&lt;/td&gt;
&lt;td&gt;0.053&lt;/td&gt;
&lt;td&gt;0.095&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Class C, frontier&lt;/td&gt;
&lt;td&gt;0.033&lt;/td&gt;
&lt;td&gt;0.201&lt;/td&gt;
&lt;td&gt;0.355&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Compare the corners and you find the uncomfortable result. A frontier model on the cleanest grid (0.033 g) can emit more than a small model on the dirtiest one (0.028 g). So looking only at the region, or only at the model, can send you in the wrong direction.&lt;/p&gt;

&lt;h2&gt;
  
  
  What a dev or platform team can do
&lt;/h2&gt;

&lt;p&gt;There are three practical moves, and none needs a research project.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Know the region. Cloud platforms state it in the usage export next to the token counts. If you cannot say where your AI calls are served from, that is the gap to close before anything else.&lt;/li&gt;
&lt;li&gt;Where you can choose, choose with both variables in mind. The region is the largest lever after the model class, with no change to the work. Whether latency, data residency and price allow a cleaner region is your call, but now you can put a number on the trade.&lt;/li&gt;
&lt;li&gt;Right-size the model. If a small model does the job for a routing, classification or summarisation step, the class A row above is the reason to use it.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;If you also have to report this, report the location-based figure. A market-based one beside it makes sense only if the provider documents its renewable contracts for that region.&lt;/p&gt;

&lt;h2&gt;
  
  
  Limits worth stating
&lt;/h2&gt;

&lt;p&gt;These are annual 2023 averages, mostly Ember yearly data on a lifecycle basis, with US subregions from EPA eGRID 2023. A country's average is not the mix of a specific data centre, which may sit on a cleaner or dirtier part of the grid or buy renewable electricity. The modelled range of the models inside a class, around the class value, is −41% to +48% for class A, −39% to +24% for class B and −67% to +55% for class C. Water is not part of this comparison.&lt;/p&gt;

&lt;p&gt;Update, 18 November 2026. Version 3.1.0 of the dataset (12 November) corrected one mapping error. Azure canadaeast and Google Cloud northamerica-northeast1, both in Quebec, now take the Quebec grid instead of the Canada-wide average. The method is peer reviewed and published in Sustainable Production and Consumption (2026), &lt;a href="https://doi.org/10.1016/j.spc.2026.11.003" rel="noopener noreferrer"&gt;https://doi.org/10.1016/j.spc.2026.11.003&lt;/a&gt;, with a free preprint at arXiv 2606.10660. Corrections go into the next dataset version.&lt;/p&gt;

&lt;h2&gt;
  
  
  Try it on your own usage
&lt;/h2&gt;

&lt;p&gt;The full ranking of 209 countries and every mapped cloud region is on the source page, and the free calculator applies the region for you. Full table and method are at the &lt;a href="https://somaai.earth/ai-footprint/answers/ai-carbon-footprint-by-country" rel="noopener noreferrer"&gt;original page&lt;/a&gt;, and you can run your own numbers in the &lt;a href="https://somaai.earth/ai-footprint/calculator" rel="noopener noreferrer"&gt;free calculator&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Disclosure: I am CTO of SOMA AI, which publishes the dataset used here.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>cloud</category>
      <category>sustainability</category>
      <category>devops</category>
    </item>
  </channel>
</rss>
