paulca / paulca.com Public

Clone
git clone https://amadan.net/paulca/paulca.com

Plain git — no account needed to clone.

1---
2layout: base.njk
3title: Prompt & carbon ledger
4permalink: /ai.html
5---
6<h1>Prompt &amp; carbon ledger</h1>
7
8<p>The initial version of this site was set up by
9<a href="https://claude.com/claude-code">Claude Code</a> (model: Claude
10Fable&nbsp;5). The plan for ongoing maintenance is to use open-source models
11running on private hardware. Nothing here was written by hand except the
12prompts below. Each row records an instruction given to an agent, which model
13did the work, what came of it, and a rough estimate of the energy and carbon
14the AI work cost. Newest first.</p>
15
16<table border="1" cellpadding="6">
17<tr>
18 <th>Date</th>
19 <th>Model</th>
20 <th>Prompt (verbatim)</th>
21 <th>What happened</th>
22 <th>Est. energy</th>
23 <th>Est. CO&#8322;e</th>
24 <th>Roughly equivalent to</th>
25</tr>
26{%- for e in collections.ledger | reverse %}
27<tr>
28 <td>{{ e.date | longDate }}</td>
29 <td>{{ e.data.model }}</td>
30 <td>{{ e.data.prompt | mdInline | safe }}</td>
31 <td>{{ e.templateContent | safe }}</td>
32 <td>~{{ e.data.wh }} Wh</td>
33 <td>~{{ e.data.co2_g }} g</td>
34 <td>{{ e.data.comparison }}</td>
35</tr>
36{%- endfor %}
37</table>
38
39<p><b>Running total:</b> ~{{ collections.ledger | total("wh") }} Wh,
40~{{ collections.ledger | total("co2_g") | round }} g CO&#8322;e &mdash;
41{{ ledger.totals_comparison }}.</p>
42
43<h2>Method</h2>
44
45<p>Anthropic, in their cowardice, doesn't publish per-request energy figures, so these are
46order-of-magnitude estimates, not measurements. The arithmetic:
47<i>(model invocations in the session) &times; 1&nbsp;Wh per invocation &times;
48400&nbsp;g CO&#8322;e per kWh</i> (a rough global-average grid intensity). Published
49measurements for single chat queries are around 0.24&ndash;0.33&nbsp;Wh
50(Google's 2025 Gemini disclosure); 1&nbsp;Wh per invocation is deliberately
51generous because agentic coding calls carry much longer contexts than chat.
52For open-source models running on local hardware, the estimate is
53~2&nbsp;Wh per prompt instead, based on the power draw of the GPU doing the
54work. Training-run amortisation, network transfer, and this page being served
55are not counted. Treat every number as right to within a factor of ten, at
56best.</p>
57
58<p>The ledger is append-only: each time an agent works on this site, it adds a
59Markdown file to <code>src/ledger/</code> and rebuilds; this page and the
60running total are generated from those files.</p>
61
62<hr>
63
64<p><a href="/">Home</a></p>
65