<?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: Guillermo Llopis (SOMA AI)</title>
    <description>The latest articles on DEV Community by Guillermo Llopis (SOMA AI) (@guillermo_llopis_591d99e6).</description>
    <link>https://dev.to/guillermo_llopis_591d99e6</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%2Fuser%2Fprofile_image%2F4237119%2F239ce0c4-11bb-40a2-a637-580c7c9343cc.png</url>
      <title>DEV Community: Guillermo Llopis (SOMA AI)</title>
      <link>https://dev.to/guillermo_llopis_591d99e6</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/guillermo_llopis_591d99e6"/>
    <language>en</language>
    <item>
      <title>How to put your company's AI use into a Scope 3 inventory, step by step</title>
      <dc:creator>Guillermo Llopis (SOMA AI)</dc:creator>
      <pubDate>Thu, 03 Dec 2026 08:48:43 +0000</pubDate>
      <link>https://dev.to/guillermo_llopis_591d99e6/how-to-put-your-companys-ai-use-into-a-scope-3-inventory-step-by-step-30o</link>
      <guid>https://dev.to/guillermo_llopis_591d99e6/how-to-put-your-companys-ai-use-into-a-scope-3-inventory-step-by-step-30o</guid>
      <description>&lt;p&gt;&lt;em&gt;Build the line from the provider's usage export, state the tier and the uncertainty, and anyone can rebuild it.&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;Sustainability leads ask me about mechanics. Where does the AI line go, what data do I ask for, and what do I write next to the number? One sentence on regulation, because it frames the rest. Most companies are not required to report AI emissions under CSRD, so for them an AI line is a choice or a commercial request, and this is not legal advice.&lt;/p&gt;

&lt;p&gt;The estimates use the SOMA AI Emission Factors (SAEF v3.6.0, DOI 10.5281/zenodo.20443585, SOMA AI Emission Factors Data Licence 1.0 (Non-Commercial); use by a company needs a &lt;a href="https://somaai.earth/licensing" rel="noopener noreferrer"&gt;commercial licence&lt;/a&gt;). The method paper was published in Sustainable Production and Consumption 70 (2026) 320-347, &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 the open-access accepted manuscript at arXiv 2606.10660.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where the line goes, and what to collect
&lt;/h2&gt;

&lt;p&gt;AI usage belongs in Scope 3 Category 1, purchased goods and services. An AI API, a chat seat and a SaaS tool with AI features are third-party services you buy. They are not Scope 2, because the provider buys the electricity, not you.&lt;/p&gt;

&lt;p&gt;The common gap is a missing service, usually one on a team credit card. Build the list from the IT asset register, the finance vendor list and the single sign-on log. Cover four groups.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;APIs with usage billing, such as OpenAI, Anthropic, AWS Bedrock and Google Vertex AI.&lt;/li&gt;
&lt;li&gt;Seat-licensed products, such as ChatGPT Enterprise and Microsoft 365 Copilot.&lt;/li&gt;
&lt;li&gt;SaaS with embedded AI, such as the CRM or the support desk.&lt;/li&gt;
&lt;li&gt;Internal tools built on somebody else's API, the easiest to count because the usage sits in your own logs.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For each service record the vendor, annual spend and owner. Then ask each provider for tokens by model and by month, and keep the export itself, not a figure copied out of it. Microsoft 365 Copilot gives no token export in the usage reports we read, only licensed users, active users and the average prompts per active user.&lt;/p&gt;

&lt;h2&gt;
  
  
  Pick a tier, a class and a region
&lt;/h2&gt;

&lt;p&gt;Assign the tier per service, from the data you got, never to the company as a whole. Mixed tiers in one table are the expected outcome.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Tier&lt;/th&gt;
&lt;th&gt;Data you have&lt;/th&gt;
&lt;th&gt;Method&lt;/th&gt;
&lt;th&gt;Uncertainty&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Tier 3&lt;/td&gt;
&lt;td&gt;A certified figure for your account from the provider&lt;/td&gt;
&lt;td&gt;Use it directly&lt;/td&gt;
&lt;td&gt;Provider's own&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Tier 2a&lt;/td&gt;
&lt;td&gt;Exact token counts per model&lt;/td&gt;
&lt;td&gt;Tokens in millions × the factor for that class and region&lt;/td&gt;
&lt;td&gt;±48% (class A), ±39% (class B), ±67% (class C), at the world-average grid&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Tier 2b&lt;/td&gt;
&lt;td&gt;Message counts, or seats and an activity rate&lt;/td&gt;
&lt;td&gt;Messages × 1210 tokens, then as Tier 2a&lt;/td&gt;
&lt;td&gt;Wider than 2a&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Tier 1&lt;/td&gt;
&lt;td&gt;An invoice total and nothing else&lt;/td&gt;
&lt;td&gt;Spend in EUR × 0.09613 kg CO₂e (deflated to 2019 prices)&lt;/td&gt;
&lt;td&gt;±300%&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Next, the model class. Class A is small (Claude Haiku 5.5), class B is mid (Claude Sonnet 5.5) and class C is frontier (Claude Opus 5.5). Getting the class wrong is the largest single error in this method. One class off moves the factor by about 3.4 to 3.8 times and two classes by about 13 times at the world-average grid. If your export lists several models, split the tokens by model.&lt;/p&gt;

&lt;p&gt;Then the region, which is where the provider runs the model, not where your office is. Azure, AWS Bedrock and Vertex name it in the same export as the tokens. Where you cannot tell, record the region you assumed.&lt;/p&gt;

&lt;h2&gt;
  
  
  A worked example
&lt;/h2&gt;

&lt;p&gt;A 100-person company. 80 people use an AI assistant, about 2,000 messages each per month, on a mid-size model. No token export, so this is Tier 2b.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Messages for the year are 80 × 2,000 × 12, which is 1,920,000.&lt;/li&gt;
&lt;li&gt;Tokens, with the reasoning uplift on output, are 1,920,000 × (928 + 282 × 1.10), which is 2,377 million.&lt;/li&gt;
&lt;li&gt;Class B, served from US East - N. Virginia, the provider's default.&lt;/li&gt;
&lt;li&gt;Electricity is 2,377 × 0.02542, which is 60.42 kg CO₂e. Embodied hardware and construction is 4.09 kg. Amortised training is 6.98 kg.&lt;/li&gt;
&lt;li&gt;The total is 71.49 kg CO₂e, with a ±39% class range for class B at the world-average grid. Water, reported beside it, is 481 litres for the year.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Served from EU North - Sweden, the same usage comes to 18.71 kg CO₂e, a difference of 52.8 kg for identical work, but 1,199 litres of water.&lt;/p&gt;

&lt;p&gt;The result is a few tens of kilogrammes and not tonnes. The case for doing this is that a customer, lender or reviewer may ask, and a small number with a method behind it is a better answer than none.&lt;/p&gt;

&lt;h2&gt;
  
  
  What to write on the line
&lt;/h2&gt;

&lt;p&gt;Put the uncertainty next to the figure, in the same row. The factors cover inference, server hardware and amortised training, and exclude provider offices, network transport and your own devices. Then record these fields per service so somebody else can rebuild the number.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Activity data and its source, meaning which export and when.&lt;/li&gt;
&lt;li&gt;Method and tier, and why that tier.&lt;/li&gt;
&lt;li&gt;Emission factor, with its class and region.&lt;/li&gt;
&lt;li&gt;Factor version, here soma-ai-ef-2026.11-dataset-v3.6.0.&lt;/li&gt;
&lt;li&gt;Uncertainty, and any assumption that widens it.&lt;/li&gt;
&lt;li&gt;An estimated flag, so a metered value is not confused with an estimate.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A reviewer will ask whether you can reproduce this year's number after the factors are updated. A versioned factor with a citable DOI, recorded on the line, makes that a yes.&lt;/p&gt;

&lt;p&gt;Use the spend-based factor only as a fallback. It counts money, not electricity, and the worked example's 71.49 kg would need an annual invoice of about €744 to match.&lt;/p&gt;

&lt;h2&gt;
  
  
  Next step
&lt;/h2&gt;

&lt;p&gt;The full guide, with the regulatory position and provider-by-provider export notes, is at the &lt;a href="https://somaai.earth/ai-footprint/guides/ai-usage-csrd-scope-3" rel="noopener noreferrer"&gt;original page&lt;/a&gt;. For an initial estimate without an account, use 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>climate</category>
      <category>ai</category>
      <category>sustainability</category>
    </item>
    <item>
      <title>A calculator to compare LLM API costs for your own token mix, and what batch and caching change</title>
      <dc:creator>Guillermo Llopis (SOMA AI)</dc:creator>
      <pubDate>Wed, 02 Dec 2026 08:00:00 +0000</pubDate>
      <link>https://dev.to/soma_ai/a-calculator-to-compare-llm-api-costs-for-your-own-token-mix-and-what-batch-and-caching-change-49ci</link>
      <guid>https://dev.to/soma_ai/a-calculator-to-compare-llm-api-costs-for-your-own-token-mix-and-what-batch-and-caching-change-49ci</guid>
      <description>&lt;h1&gt;
  
  
  A calculator to compare LLM API costs for your own token mix
&lt;/h1&gt;

&lt;p&gt;&lt;em&gt;Provider list prices checked 23 November 2026. Costs are list prices, not your invoice.&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 calculator page. Carbon, electricity and water figures are estimates by model class, not measurements.&lt;/p&gt;

&lt;p&gt;Is there a calculator that compares LLM API costs for your usage, and do batch and caching change the answer? Yes to both. The free calculator at SOMA AI takes your monthly input and output tokens, the share of input that is cached, a batch on or off switch and a region. It shows list-price cost for the models you pick, next to estimated kWh, litres of water and kg CO2e. Caching and batch change the cost ranking in practical ways. They do not change the estimated energy per token, and the rest of this post shows why.&lt;/p&gt;

&lt;h2&gt;
  
  
  The default example
&lt;/h2&gt;

&lt;p&gt;The page renders a default scenario as plain HTML, so you can check it without running JavaScript. The inputs are 100 million input tokens and 20 million output tokens a month, 30% of input cached, batch off, served from US East - N. Virginia. Six models are selected.&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;SAEF class&lt;/th&gt;
&lt;th&gt;List price, USD a month&lt;/th&gt;
&lt;th&gt;With caching, USD a month&lt;/th&gt;
&lt;th&gt;Estimated kg CO2e a month&lt;/th&gt;
&lt;th&gt;Estimated kWh&lt;/th&gt;
&lt;th&gt;Estimated litres of water&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Gemini 3.8 Flash&lt;/td&gt;
&lt;td&gt;A&lt;/td&gt;
&lt;td&gt;$150.00&lt;/td&gt;
&lt;td&gt;$129.75&lt;/td&gt;
&lt;td&gt;0.809&lt;/td&gt;
&lt;td&gt;2.28&lt;/td&gt;
&lt;td&gt;5.52&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;gpt-5.4-mini&lt;/td&gt;
&lt;td&gt;A&lt;/td&gt;
&lt;td&gt;$165.00&lt;/td&gt;
&lt;td&gt;$144.75&lt;/td&gt;
&lt;td&gt;0.809&lt;/td&gt;
&lt;td&gt;2.28&lt;/td&gt;
&lt;td&gt;5.52&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Z.ai GLM 5.3 (served by Mistral)&lt;/td&gt;
&lt;td&gt;C&lt;/td&gt;
&lt;td&gt;$228.00&lt;/td&gt;
&lt;td&gt;$190.20&lt;/td&gt;
&lt;td&gt;10.6&lt;/td&gt;
&lt;td&gt;27.9&lt;/td&gt;
&lt;td&gt;67.4&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Claude Sonnet 5.5&lt;/td&gt;
&lt;td&gt;B&lt;/td&gt;
&lt;td&gt;$400.00&lt;/td&gt;
&lt;td&gt;$343.00&lt;/td&gt;
&lt;td&gt;2.78&lt;/td&gt;
&lt;td&gt;7.48&lt;/td&gt;
&lt;td&gt;18.1&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;gpt-5.6-terra&lt;/td&gt;
&lt;td&gt;A&lt;/td&gt;
&lt;td&gt;$440.00&lt;/td&gt;
&lt;td&gt;$386.00&lt;/td&gt;
&lt;td&gt;0.809&lt;/td&gt;
&lt;td&gt;2.28&lt;/td&gt;
&lt;td&gt;5.52&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Claude Opus 5.5&lt;/td&gt;
&lt;td&gt;C&lt;/td&gt;
&lt;td&gt;$800.00&lt;/td&gt;
&lt;td&gt;$686.00&lt;/td&gt;
&lt;td&gt;10.6&lt;/td&gt;
&lt;td&gt;27.9&lt;/td&gt;
&lt;td&gt;67.4&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The page summarises it this way. The cheapest at list price for this mix is Gemini 3.8 Flash at $129.75 a month. The lowest estimated CO2e is shared by gpt-5.6-terra, gpt-5.4-mini and Gemini 3.8 Flash at 0.809 kg a month each. It is a tie because they share a SAEF class. SAEF is SOMA AI's open set of emission factors.&lt;/p&gt;

&lt;p&gt;Two things stand out. One, the cost spread is large. Claude Opus 5.5 is $800.00 at list and Gemini 3.8 Flash is $150.00 for the same token counts. Two, the carbon column does not follow price. gpt-5.6-terra costs $440.00 and has the same estimate as Gemini 3.8 Flash, because both sit in class A. The page shows a range for each class, for example 0.511 to 1.16 kg for class A, since the figure is for the class and not for the named model.&lt;/p&gt;

&lt;p&gt;Gemini 3.8 Flash carries a scheduled change. From 1 January 2027 its input, cached input, output and batch rates double, so this row will not hold after that date.&lt;/p&gt;

&lt;h2&gt;
  
  
  How the arithmetic works
&lt;/h2&gt;

&lt;p&gt;The page states its formulas, and they are simple enough to redo in a spreadsheet.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Cached input tokens equal input tokens times the cached share. Fresh input is the rest.&lt;/li&gt;
&lt;li&gt;List-price cost is input tokens times input price, plus output tokens times output price, divided by one million.&lt;/li&gt;
&lt;li&gt;Cost with caching prices fresh input at the input price and cached input at the cached-input price. Cache-write and cache-storage charges are not included.&lt;/li&gt;
&lt;li&gt;Cost with batch is the same sum times 0.5 on Anthropic, OpenAI and Google rows, where each provider states a 50% discount. Batch is not applied to the Mistral-served rows, because their per-model batch prices are not verified.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What batch does
&lt;/h2&gt;

&lt;p&gt;Anthropic, OpenAI and Google list asynchronous batch processing at 50% of the standard price, as does Mistral on its pricing page. The trade is latency, since results can take up to 24 hours. The calculator's batch switch halves the cost on the Anthropic, OpenAI and Google rows.&lt;/p&gt;

&lt;p&gt;There are stacking caveats worth knowing, and the calculator encodes them. On OpenAI gpt-4.1, gpt-4o and o3, and on the Google rows, the cache discount is not stacked with batch, so cached tokens are billed at the batch input price. On Claude and on the gpt-5 and gpt-6 families, Anthropic and OpenAI list prices that let both discounts apply. Anthropic also warns that requests in a batch run in any order, so a cache entry can expire before a follow-up request runs. The batch saving is solid and the stacked saving is less certain.&lt;/p&gt;

&lt;h2&gt;
  
  
  What caching does
&lt;/h2&gt;

&lt;p&gt;The cached share of input is billed at each model's cached-input price. In the default example, 30% cached takes Claude Opus 5.5 from $800.00 to $686.00. The calculator leaves out cache-write and storage charges, which in 2026 can be material, so treat the caching column as an upper bound on the saving and read the &lt;a href="https://somaai.earth/ai-footprint/how-to/prompt-caching-cost-and-carbon" rel="noopener noreferrer"&gt;prompt caching page&lt;/a&gt; for the break-even reads.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why neither changes energy per token
&lt;/h2&gt;

&lt;p&gt;SAEF estimates electricity from effective tokens. That is output tokens, plus a weight times fresh input tokens, plus a smaller weight times cached input tokens, divided by a token basis and multiplied by a class factor for the region. CO2e adds hardware, construction and amortised training terms.&lt;/p&gt;

&lt;p&gt;The inputs are tokens, model class and grid. Nothing in that formula depends on whether a request was submitted in a batch. SAEF models no batch discount on energy, because the sources checked do not publish whether providers run batch work on idle or cleaner capacity. The batch page's worked example makes the point plainly. One million Claude Sonnet 5.5 tokens, split 800,000 input and 200,000 output, cost $3.60 in real time and $1.80 as a batch, and the estimate is 28.1 g CO2e in both cases. The price halves and the estimate does not move.&lt;/p&gt;

&lt;p&gt;Caching is different in a small way. A cached input token carries a lower weight than a fresh one in the formula, so the estimate does fall a little when more of the input is cached, but far less than the price falls. Batch is a cost lever. It reduces carbon only if the delay it tolerates also lets you use a smaller model class or a cleaner region, and those two changes show up directly in the calculator's table.&lt;/p&gt;

&lt;h2&gt;
  
  
  What the calculator does not claim
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;That the cost is your invoice. It excludes negotiated discounts, cache-write and storage charges, long-context rates and regional uplifts.&lt;/li&gt;
&lt;li&gt;That a figure is a measurement or applies to the named model. It is an estimate for the model's class.&lt;/li&gt;
&lt;li&gt;That a cheaper model is a lower-carbon model, or good enough for your task. Test quality on your own requests.&lt;/li&gt;
&lt;li&gt;That token counts compare across models. Tokenizers differ.&lt;/li&gt;
&lt;li&gt;That a provider runs a model in the region you choose. The region is an input.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Put your own volumes into the &lt;a href="https://somaai.earth/ai-footprint/llm-api-cost-calculator" rel="noopener noreferrer"&gt;calculator&lt;/a&gt;, then read the &lt;a href="https://somaai.earth/ai-footprint/how-to/batch-api-cost-and-carbon" rel="noopener noreferrer"&gt;batch page&lt;/a&gt; if half-price delayed work fits part of your workload.&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/llm-api-cost-calculator" 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>How to cut ChatGPT Enterprise and Microsoft 365 Copilot licence spend (list prices checked 24 November 2026)</title>
      <dc:creator>Guillermo Llopis (SOMA AI)</dc:creator>
      <pubDate>Sat, 28 Nov 2026 08:00:00 +0000</pubDate>
      <link>https://dev.to/soma_ai/how-to-cut-chatgpt-enterprise-and-microsoft-365-copilot-licence-spend-list-prices-checked-24-1a5b</link>
      <guid>https://dev.to/soma_ai/how-to-cut-chatgpt-enterprise-and-microsoft-365-copilot-licence-spend-list-prices-checked-24-1a5b</guid>
      <description>&lt;h1&gt;
  
  
  How to cut ChatGPT Enterprise and Microsoft 365 Copilot licence spend
&lt;/h1&gt;

&lt;p&gt;&lt;em&gt;List prices and help pages checked 24 November 2026. These are list prices, not your invoice.&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 vendor pages cited. Any carbon statement is an estimate.&lt;/p&gt;

&lt;p&gt;If you are asking how to cut your ChatGPT Enterprise and Microsoft 365 Copilot licence spend, the answer is the same for both. Find the seats nobody uses, check when each plan lets you remove them, and then reassign, downgrade or remove them at the next change date. The same steps work for Claude Team and Enterprise, Gemini in Google Workspace, GitHub Copilot and Cursor. The part that trips people up is the second step, because on several plans a seat removed on the wrong day keeps billing until renewal.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 1. Export per-user activity from each admin console
&lt;/h2&gt;

&lt;p&gt;Each vendor has a per-user report. Console layouts change.&lt;/p&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;Where the report lives&lt;/th&gt;
&lt;th&gt;What counts as active&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Microsoft 365 Copilot&lt;/td&gt;
&lt;td&gt;Microsoft 365 admin center, Reports, Usage, Microsoft Copilot, Usage tab. Per-user table with last activity date and CSV export. Windows of 7, 28, 90 or 180 days.&lt;/td&gt;
&lt;td&gt;An intentional action such as submitting a prompt. Opening the Copilot pane does not count.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;ChatGPT Enterprise and Edu&lt;/td&gt;
&lt;td&gt;Admin Console, Usage, Overview, Export, Workspace reports, Users CSV.&lt;/td&gt;
&lt;td&gt;At least one message sent in the period. The retention period is not stated.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Claude Team and Enterprise&lt;/td&gt;
&lt;td&gt;Usage analytics. A CSV with one row per person and model, up to 90 days back.&lt;/td&gt;
&lt;td&gt;The page does not define an active user for the CSV. The dashboard shows weekly active members and active members against assigned seats.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Gemini in Google Workspace&lt;/td&gt;
&lt;td&gt;Admin console, Generative AI, Gemini reports, User-level usage. Also a Gemini last usage column in the user directory.&lt;/td&gt;
&lt;td&gt;Active days in the past 28 days. Google notes the last usage column may be incomplete.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;GitHub Copilot&lt;/td&gt;
&lt;td&gt;Copilot access management list sortable by last use, plus an activity report with a last activity date.&lt;/td&gt;
&lt;td&gt;Last Copilot use. GitHub says to wait 24 hours if a date looks stale.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Cursor&lt;/td&gt;
&lt;td&gt;Web dashboard analytics, where team admins see all users.&lt;/td&gt;
&lt;td&gt;Use of at least one AI feature. A per-user last-active date was not confirmed.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Ask each team what it uses too. Consoles show what central IT bought, and teams adopt tools on their own.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 2. Find inactive and low-use seats
&lt;/h2&gt;

&lt;p&gt;The threshold is yours. No activity in the last 28 to 30 days is one example, but there is no published benchmark for the right cut-off. Check with the person or their manager before acting, because some use is seasonal.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 3. Check the licence mechanics before you cut
&lt;/h2&gt;

&lt;p&gt;This is where money is lost. Vendor help pages say the following, as read on 24 November 2026. Your contract, a reseller or a negotiated agreement can differ, so confirm before you act.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Microsoft 365, bought directly.&lt;/strong&gt; Licences can be removed within seven days of buying or renewing and not after. A licence must be unassigned from its user before it can be removed. A reduction after that window shows on the first invoice after the renewal date. Copilot Business is sold with an annual commitment.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;ChatGPT Business.&lt;/strong&gt; Seat reductions take effect at the start of the next billing cycle. Removing a member frees the seat for reassignment but does not reduce the paid count. Reassigning or swapping already-paid seats adds no charge, and adding paid seats is charged pro rata at once.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;ChatGPT Enterprise.&lt;/strong&gt; I found no public rules. It is contract-based, so check your order form.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Claude Enterprise.&lt;/strong&gt; Seats cannot be removed during the annual term. Changes happen at renewal, and new seats are prorated and charged immediately.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Claude Team.&lt;/strong&gt; Removing a member frees the seat for reassignment but does not reduce the plan's seat count.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Gemini in Google Workspace.&lt;/strong&gt; I did not find removal rules. Billing is monthly or on an annual commitment, which Google says saves 16%.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;GitHub Copilot.&lt;/strong&gt; Billed per assigned seat, counted at the end of the billing cycle. Removed seats keep billing until the end of the current cycle.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cursor Teams.&lt;/strong&gt; Removal gives a pro-rated credit, unless the member used credits, in which case the seat stays until the end of the cycle.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The practical lesson is that removing a user is not the same as cutting the paid seat count. On ChatGPT Business and Claude Team, a freed seat does not lower the paid count by itself. Reassign it, or make the reduction at the next change date.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 4. Downgrade, reassign or move light users
&lt;/h2&gt;

&lt;p&gt;Reassign freed seats to people who are waiting for one. Light users can move to an official free or pay-as-you-go option where the vendor offers one. Microsoft lists Copilot Chat as free with an eligible work account. It also lists a pay-as-you-go billing option for some Copilot features, which is off by default.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 5. Re-check monthly
&lt;/h2&gt;

&lt;p&gt;Seats grow with headcount and with tools teams adopt on their own. Repeat the export monthly and compare it with the invoice. A spreadsheet is enough.&lt;/p&gt;

&lt;h2&gt;
  
  
  List prices
&lt;/h2&gt;

&lt;p&gt;US dollars per user per month, from each vendor's official page, checked 24 November 2026. Discounts, taxes, regional pricing and reseller terms differ. Where I found no public price, none is shown.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Plan&lt;/th&gt;
&lt;th&gt;List price&lt;/th&gt;
&lt;th&gt;Notes&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;ChatGPT Business, Standard&lt;/td&gt;
&lt;td&gt;$25 monthly, $20 billed annually&lt;/td&gt;
&lt;td&gt;Shown in the OpenAI help centre, not on chatgpt.com/pricing&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;ChatGPT Business, Premium&lt;/td&gt;
&lt;td&gt;$125 monthly, $100 billed annually&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;ChatGPT Enterprise&lt;/td&gt;
&lt;td&gt;No public list price&lt;/td&gt;
&lt;td&gt;Contact sales&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Microsoft 365 Copilot Business (add-on)&lt;/td&gt;
&lt;td&gt;$18.00 billed yearly, $25.20 billed monthly&lt;/td&gt;
&lt;td&gt;Up to 300 users, annual commitment. Shown as reduced from $21.00, no end date stated&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Business Standard / Premium with Copilot&lt;/td&gt;
&lt;td&gt;$23.50 / $32.00 yearly, $28.20 / $38.40 monthly&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Claude Team, Standard&lt;/td&gt;
&lt;td&gt;$20 annually, $25 monthly&lt;/td&gt;
&lt;td&gt;Teams of 2 to 150&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Claude Team, Premium&lt;/td&gt;
&lt;td&gt;$100 annually, $125 monthly&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Claude Enterprise&lt;/td&gt;
&lt;td&gt;$20 seat plus usage at API rates&lt;/td&gt;
&lt;td&gt;Billed annually, 20-seat minimum&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;GitHub Copilot Business / Enterprise&lt;/td&gt;
&lt;td&gt;$19 / $39 per granted seat&lt;/td&gt;
&lt;td&gt;Included AI credits are pooled. Usage beyond the pool is $0.01 per credit&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Cursor Teams&lt;/td&gt;
&lt;td&gt;"$30+" on the pricing page&lt;/td&gt;
&lt;td&gt;Docs list $30, $100 or $200 per seat by tier&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Gemini in Google Workspace has no separate seat price, and Workspace plans vary by region and introductory offer, so I do not quote them.&lt;/p&gt;

&lt;h2&gt;
  
  
  Does cutting seats cut carbon?
&lt;/h2&gt;

&lt;p&gt;Hardly. A licence nobody opens sends no requests, so it has close to zero usage emissions of its own. Removing it saves cost. The carbon gain comes from moving heavy use to smaller models.&lt;/p&gt;

&lt;h2&gt;
  
  
  What this does not claim
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;That any price above is what you pay.&lt;/li&gt;
&lt;li&gt;That a given inactivity threshold is the right one.&lt;/li&gt;
&lt;li&gt;That removal is possible on your plan or date.&lt;/li&gt;
&lt;li&gt;That any saving will be achieved. A calculator output is an estimate.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For a rough number before you start, SOMA AI's free &lt;a href="https://somaai.earth/ai-footprint/calculator" rel="noopener noreferrer"&gt;footprint calculator&lt;/a&gt; estimates what a company's AI seats and API use cost at list price and which two changes would save the most. For the API side of the bill, there is a separate post on &lt;a href="https://somaai.earth/ai-footprint/how-to/reduce-llm-api-cost-and-emissions" rel="noopener noreferrer"&gt;reducing LLM API cost and emissions&lt;/a&gt;. The full tables and sources are on the &lt;a href="https://somaai.earth/ai-footprint/how-to/cut-ai-seat-licence-spend" rel="noopener noreferrer"&gt;canonical page&lt;/a&gt;.&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/cut-ai-seat-licence-spend" rel="noopener noreferrer"&gt;somaai.earth&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>productivity</category>
      <category>ai</category>
      <category>finops</category>
      <category>saas</category>
    </item>
    <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>A word-overlap check beat a DeBERTa NLI model at spotting RAG hallucinations</title>
      <dc:creator>Guillermo Llopis (SOMA AI)</dc:creator>
      <pubDate>Wed, 11 Nov 2026 11:01:29 +0000</pubDate>
      <link>https://dev.to/guillermo_llopis_591d99e6/a-word-overlap-check-beat-a-deberta-nli-model-at-spotting-rag-hallucinations-39il</link>
      <guid>https://dev.to/guillermo_llopis_591d99e6/a-word-overlap-check-beat-a-deberta-nli-model-at-spotting-rag-hallucinations-39il</guid>
      <description>&lt;p&gt;I expected the neural entailment model to win. It didn't.&lt;/p&gt;

&lt;p&gt;I wanted to know how far the cheap, no-API-call hallucination checks get on real RAG output before you need an LLM judge or a human. So I built three small detectors, ran them on &lt;a href="https://github.com/ParticleMedia/RAGTruth" rel="noopener noreferrer"&gt;RAGTruth&lt;/a&gt;, and compared them. The one that costs microseconds per response beat the one that costs about seven seconds on a CPU.&lt;/p&gt;

&lt;h2&gt;
  
  
  The setup
&lt;/h2&gt;

&lt;p&gt;RAGTruth (Niu et al., ACL 2024, MIT licence) has about 18,000 responses from six LLMs to retrieval-grounded prompts, in three tasks: question answering, summarisation and data-to-text. Humans annotated hallucinated spans. I call a response hallucinated if it has at least one annotated span.&lt;/p&gt;

&lt;p&gt;Each detector takes a source and a response and returns a score in [0, 1]:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;lexical&lt;/strong&gt;: the share of content tokens in the response (lowercased, stopwords and punctuation removed, numbers kept) that never appear in the source.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;numeric&lt;/strong&gt;: the share of numbers in the response not found in the source, after normalising &lt;code&gt;1,000&lt;/code&gt; / &lt;code&gt;1000&lt;/code&gt; / &lt;code&gt;1k&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;nli&lt;/strong&gt;: SummaC-style. Each response sentence is checked with &lt;code&gt;cross-encoder/nli-deberta-v3-small&lt;/code&gt; against its three closest source sentences (by token overlap) and their concatenation. The response scores as its least-supported sentence.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;ensemble&lt;/strong&gt;: logistic regression on the three scores.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Thresholds and ensemble weights were fit on a stratified train sample of 299 responses and then frozen. Everything below is on a stratified test subsample of 900 of the 2,700 test responses (300 per task), with a 35.3% hallucination base rate.&lt;/p&gt;

&lt;h2&gt;
  
  
  The result
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;detector&lt;/th&gt;
&lt;th&gt;AUROC (95% CI)&lt;/th&gt;
&lt;th&gt;precision&lt;/th&gt;
&lt;th&gt;recall&lt;/th&gt;
&lt;th&gt;F1&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;lexical&lt;/td&gt;
&lt;td&gt;0.778 (0.746-0.806)&lt;/td&gt;
&lt;td&gt;0.476&lt;/td&gt;
&lt;td&gt;0.858&lt;/td&gt;
&lt;td&gt;0.612&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;nli&lt;/td&gt;
&lt;td&gt;0.716 (0.681-0.747)&lt;/td&gt;
&lt;td&gt;0.476&lt;/td&gt;
&lt;td&gt;0.836&lt;/td&gt;
&lt;td&gt;0.607&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;numeric&lt;/td&gt;
&lt;td&gt;0.535 (0.503-0.566)&lt;/td&gt;
&lt;td&gt;0.353&lt;/td&gt;
&lt;td&gt;1.000&lt;/td&gt;
&lt;td&gt;0.522&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;ensemble&lt;/td&gt;
&lt;td&gt;0.766 (0.737-0.797)&lt;/td&gt;
&lt;td&gt;0.450&lt;/td&gt;
&lt;td&gt;0.934&lt;/td&gt;
&lt;td&gt;0.607&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The lexical and numeric detectors are cheap enough to also run on all 2,700 test responses. Lexical gets AUROC 0.785 there, so the subsample isn't flattering it. The intervals for lexical and NLI barely overlap on the subsample, but I'd treat the gap as "lexical is at least as good here", not as a law of nature.&lt;/p&gt;

&lt;p&gt;The ensemble, fit on 299 responses, didn't beat lexical alone overall. It only came out ahead on QA.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why the cheap one wins (my read, not proven)
&lt;/h2&gt;

&lt;p&gt;Most RAGTruth hallucinations add content: a name, a claim, a plausible-sounding detail the source never mentions. A check for "new vocabulary" catches a lot of that for free. The NLI model has a harder job, and my setup gives it a hard time in places: it only sees the top three source sentences, and its probabilities are saturated near 0 and 1 (the tuned threshold ended up at 0.9987).&lt;/p&gt;

&lt;p&gt;On data-to-text, where the source is flattened JSON, NLI is at chance:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;task&lt;/th&gt;
&lt;th&gt;hallucinated&lt;/th&gt;
&lt;th&gt;lexical&lt;/th&gt;
&lt;th&gt;nli&lt;/th&gt;
&lt;th&gt;ensemble&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;QA&lt;/td&gt;
&lt;td&gt;20%&lt;/td&gt;
&lt;td&gt;0.708&lt;/td&gt;
&lt;td&gt;0.706&lt;/td&gt;
&lt;td&gt;0.740&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Summary&lt;/td&gt;
&lt;td&gt;20%&lt;/td&gt;
&lt;td&gt;0.616&lt;/td&gt;
&lt;td&gt;0.627&lt;/td&gt;
&lt;td&gt;0.582&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Data2txt&lt;/td&gt;
&lt;td&gt;66%&lt;/td&gt;
&lt;td&gt;0.661&lt;/td&gt;
&lt;td&gt;0.496&lt;/td&gt;
&lt;td&gt;0.663&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;AUROC within each task, 300 responses each. Note how much lower the per-task numbers are than the pooled 0.78: part of the pooled score comes from the detectors picking up on the task itself, since base rates differ so much between tasks.&lt;/p&gt;

&lt;p&gt;The per-model picture is mixed too. NLI is the best detector on Mistral 7B instruct (0.812 vs 0.688 for lexical) and the worst on GPT-4 (0.689 vs 0.808). With 150 responses per model the intervals are wide, so read the pattern, not the third decimal.&lt;/p&gt;

&lt;p&gt;The two kinds of detector also fail differently. In &lt;code&gt;examples.json&lt;/code&gt; there are cases where NLI flags a clean-looking fabrication ("will make it the longest F1 circuit ever built", lexical score 0.18, NLI 0.9997) and cases where NLI lets plausible boilerplate through that the lexical check catches. That's the argument for combining them, and the ensemble result above is the argument against assuming it just works.&lt;/p&gt;

&lt;h2&gt;
  
  
  The caveats, because there are several
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Precision is poor.&lt;/strong&gt; At the threshold tuned for F1, the lexical detector catches 85.8% of hallucinated responses with precision 0.476. Working that through with the 35.3% base rate, about half of the &lt;em&gt;correct&lt;/em&gt; responses get flagged too (this is my arithmetic from the table, not a number the benchmark reports directly). A flag is roughly a coin flip. Predicting "hallucinated" for everything gives F1 0.522, so an F1 of 0.61 is a modest gain, and AUROC is the fairer yardstick.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Thresholds are tuned on 299 responses&lt;/strong&gt; to maximise F1. They won't transfer to your data. The numeric detector's best threshold was 0.0, which flags everything with a number missing from the source, so its row is just the all-positive baseline.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;NLI ran on a subsample.&lt;/strong&gt; It takes about 7.3 seconds per response on a loaded 4-thread CPU, so the full run took 2 h 33 min and I used 900 test responses instead of 2,700.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;I did not run an LLM judge.&lt;/strong&gt; The interface is in the repo, but there are no results for it, so none of this says anything about how these cheap checks compare with an LLM-as-judge. I'd expect the judge to be more accurate and also more expensive, but that's an expectation, not a finding.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Scope.&lt;/strong&gt; English only, three tasks, 2023-era generator models, and response-level labels (span positions are ignored). I also didn't fine-tune anything on RAGTruth, which would flatter the numbers on this benchmark.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I'd do with it
&lt;/h2&gt;

&lt;p&gt;Treat a cheap detector as a triage signal, not a gate. If you block or rewrite every flagged answer, you'll degrade a lot of good ones. If you use the score to decide which answers a person reads first, it's useful. And the ranking between detectors changed with task and model, so the only way to know what works on your traffic is to label a few hundred of your own responses and measure.&lt;/p&gt;

&lt;h2&gt;
  
  
  Reproduce it
&lt;/h2&gt;

&lt;p&gt;Code: &lt;a href="https://github.com/protforge-ai/groundcheck" rel="noopener noreferrer"&gt;github.com/protforge-ai/groundcheck&lt;/a&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git clone https://github.com/protforge-ai/groundcheck &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class="nb"&gt;cd&lt;/span&gt; groundcheck
pip install -e &lt;span class="s2"&gt;".[test]"&lt;/span&gt;
python -m pytest
groundcheck bench --seed 0
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;bench&lt;/code&gt; downloads the RAGTruth files, scores the train and test samples, and writes &lt;code&gt;metrics.json&lt;/code&gt;, &lt;code&gt;by_task.csv&lt;/code&gt;, &lt;code&gt;by_model.csv&lt;/code&gt;, &lt;code&gt;test_scores.csv&lt;/code&gt; and &lt;code&gt;examples.json&lt;/code&gt; into &lt;code&gt;results/&lt;/code&gt;. NLI scores are cached, so an interrupted run resumes. To score one response against its source:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;groundcheck score --source source.txt --response response.txt --detector nli
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;--detector&lt;/code&gt; is one of &lt;code&gt;lexical&lt;/code&gt;, &lt;code&gt;numeric&lt;/code&gt;, &lt;code&gt;nli&lt;/code&gt;. It prints JSON with a response score and a per-sentence verdict. The default &lt;code&gt;--threshold&lt;/code&gt; of 0.5 is not tuned, so tune it on your own data.&lt;/p&gt;

&lt;p&gt;The code is MIT licensed, built by ProtForge. The full write-up, with a per-model table, is at &lt;a href="https://protforge.com/research/hallucination-detectors" rel="noopener noreferrer"&gt;protforge.com/research/hallucination-detectors&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;If you've run something similar on a different corpus and got a different ranking, I'd like to hear it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Citation
&lt;/h2&gt;

&lt;p&gt;Niu et al. &lt;em&gt;RAGTruth: A Hallucination Corpus for Developing Trustworthy Retrieval-Augmented Language Models.&lt;/em&gt; ACL 2024. arXiv:2401.00396.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Drafted by an AI assistant from the benchmark results and reviewed by me. Every number comes from &lt;code&gt;results/metrics.json&lt;/code&gt; in the repo.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>machinelearning</category>
      <category>python</category>
      <category>rag</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>
