@randomknights/aieds-mcp 0.0.0-stage → 2.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +227 -0
- package/LICENSE-DOCS +51 -0
- package/NOTICE +35 -0
- package/README.md +49 -2
- package/mcp/dist/estimate.js +58 -0
- package/mcp/dist/factors.js +88 -0
- package/mcp/dist/index.js +139 -0
- package/mcp/dist/water.js +78 -0
- package/package.json +51 -4
- package/spec/aieds.schema.json +290 -0
- package/spec/v2/aieds-factors.json +643 -0
|
@@ -0,0 +1,643 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$comment": "Canonical AiEDs factor data. This file is the single source of truth for every coefficient the AiEDs tooling emits. The TypeScript packages read it directly; the Dart package mirrors it as compile-time constants and is gated against a vendored copy by test. Editing a value here is a methodology change: bump methodology.md and its changelog in the same commit (methodology.md section 6).",
|
|
3
|
+
"schemaVersion": 1,
|
|
4
|
+
"methodologyVersion": "2.5.1",
|
|
5
|
+
"impactModelVersion": "v2",
|
|
6
|
+
"constants": {
|
|
7
|
+
"matureReferenceTreeCo2eGramsPerYear": {
|
|
8
|
+
"value": 21000,
|
|
9
|
+
"unit": "gCO2e/year",
|
|
10
|
+
"methodologySection": "2.5.1",
|
|
11
|
+
"provenance": "class-estimated",
|
|
12
|
+
"citation": "McPherson, E. G.; van Doorn, N. S.; Peper, P. J. (2016). Urban tree database and allometric equations. Gen. Tech. Rep. PSW-GTR-253. USDA Forest Service, Pacific Southwest Research Station, as surfaced by the EPA Greenhouse Gas Equivalencies Calculator: https://www.epa.gov/energy/greenhouse-gases-equivalencies-calculator-calculations-and-references",
|
|
13
|
+
"referenceObject": "One mature, healthy, temperate broadleaf or coniferous tree in steady-state growth, sequestering on its own account. NOT mortality-discounted, NOT averaged over juvenile years, NOT a planting-program unit.",
|
|
14
|
+
"publishedRange": {
|
|
15
|
+
"min": 10000,
|
|
16
|
+
"max": 40000,
|
|
17
|
+
"centralTendency": 25000,
|
|
18
|
+
"unit": "gCO2/year",
|
|
19
|
+
"note": "Single-tree sequestration varies about 4x with species, age, soil, light and climate. Published to show the width of the pin, NOT so an implementation can choose within it. Implementations MUST use value (21000)."
|
|
20
|
+
},
|
|
21
|
+
"notComparableTo": "Per-tree-PLANTED figures such as the EPA calculator's 0.060 metric tons CO2/tree/year, which is about 3x this value because it is a different object: a 10-year horizon, a 59 percent survival discount, and an 11/89 coniferous/deciduous weighting. MUST NOT be substituted. Tree-Time MUST NOT be presented as a number of trees to plant; that is an offset claim, which methodology section 1.1 forbids.",
|
|
22
|
+
"note": "One Mature Reference Tree (MRT). Unified at 21 kg in methodology 2.0.0; 1.x used 22 kg. Defined, cited and bounded in 2.4.0. 21 kg CO2e equals 21 kg CO2 because CO2 has a GWP of exactly 1, so this denominator and the CO2e numerator are in the same unit. The value sits BELOW the central tendency on purpose: Tree-Time divides by it, so a lower denominator yields more tree-minutes and overstates the disclosed impact, which is the conservative direction and the same bias methodology section 2.1 states for using TDP as an upper bound. Commercial tree-planting and carbon-offset vendors publish figures in this range and are NOT cited: a seller's estimate of what its product absorbs is not an independent measurement."
|
|
23
|
+
},
|
|
24
|
+
"minutesPerYear": {
|
|
25
|
+
"value": 525600,
|
|
26
|
+
"unit": "minutes",
|
|
27
|
+
"methodologySection": "2.5"
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"gridIntensity": {
|
|
31
|
+
"$comment": "TWO normative values for one physical quantity, deliberately split by methodology 2.4. They are NOT interchangeable: each applies to a different derivation path. See the finding filed with this lane.",
|
|
32
|
+
"responseSurfacePinned": {
|
|
33
|
+
"value": 429,
|
|
34
|
+
"unit": "gCO2e/kWh",
|
|
35
|
+
"methodologySection": "2.4",
|
|
36
|
+
"appliesTo": "response-surface path (section 2.4)",
|
|
37
|
+
"provenance": "project-modeled-constant",
|
|
38
|
+
"citation": null,
|
|
39
|
+
"note": "Pinned app-surface modeled global grid intensity. The shipped rand0m.ai app has disclosed with this value since AiEDs v1, so the standard follows the shipped number. This is a project modeled constant and carries no external citation."
|
|
40
|
+
},
|
|
41
|
+
"tableGlobalAverage": {
|
|
42
|
+
"value": 436,
|
|
43
|
+
"unit": "gCO2e/kWh",
|
|
44
|
+
"methodologySection": "3, Table 3",
|
|
45
|
+
"appliesTo": "compute paths (sections 2.1, 2.2, 2.3) when region is unknown",
|
|
46
|
+
"provenance": "cited",
|
|
47
|
+
"citation": "IEA World Energy Outlook 2023"
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"responseSurface": {
|
|
51
|
+
"methodologySection": "2.4",
|
|
52
|
+
"formula": [
|
|
53
|
+
"energyWh = inTok/1000 * whPer1kIn + outTok/1000 * whPer1kOut",
|
|
54
|
+
"energyWh = energyWh * pue",
|
|
55
|
+
"gCO2e = energyWh/1000 * gridIntensity.responseSurfacePinned",
|
|
56
|
+
"treeTimeMinutes = gCO2e / matureReferenceTreeCo2eGramsPerYear * minutesPerYear"
|
|
57
|
+
],
|
|
58
|
+
"splitAssumption": "split assumption: median exchange ~1000 in + 250 out tokens, output 4x input per token",
|
|
59
|
+
"confidenceTiers": [
|
|
60
|
+
"measured",
|
|
61
|
+
"vendor-published",
|
|
62
|
+
"class-estimated",
|
|
63
|
+
"unknown"
|
|
64
|
+
],
|
|
65
|
+
"profiles": [
|
|
66
|
+
{
|
|
67
|
+
"matchPrefixes": [
|
|
68
|
+
"gemini"
|
|
69
|
+
],
|
|
70
|
+
"whPer1kIn": 0.12,
|
|
71
|
+
"whPer1kOut": 0.48,
|
|
72
|
+
"pue": 1,
|
|
73
|
+
"confidence": "vendor-published",
|
|
74
|
+
"citation": "Google (Aug 2025): median Gemini Apps text prompt = 0.24 Wh, 0.03 gCO2e (arxiv.org/abs/2508.15734, \"Measuring the environmental impact of delivering AI\"); split assumption: median exchange ~1000 in + 250 out tokens, output 4x input per token."
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"matchPrefixes": [
|
|
78
|
+
"gpt",
|
|
79
|
+
"o1",
|
|
80
|
+
"o3",
|
|
81
|
+
"o4",
|
|
82
|
+
"chatgpt"
|
|
83
|
+
],
|
|
84
|
+
"whPer1kIn": 0.17,
|
|
85
|
+
"whPer1kOut": 0.68,
|
|
86
|
+
"pue": 1,
|
|
87
|
+
"confidence": "vendor-published",
|
|
88
|
+
"citation": "OpenAI / S. Altman blog \"The Gentle Singularity\" (Jun 2025): average ChatGPT query ~0.34 Wh (blog-grade figure, no methodology published); split assumption: median exchange ~1000 in + 250 out tokens, output 4x input per token."
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"matchPrefixes": [
|
|
92
|
+
"claude"
|
|
93
|
+
],
|
|
94
|
+
"whPer1kIn": 0.145,
|
|
95
|
+
"whPer1kOut": 0.58,
|
|
96
|
+
"pue": 1.2,
|
|
97
|
+
"confidence": "class-estimated",
|
|
98
|
+
"citation": "No Anthropic-published per-query figure as of 2026-01. Class estimate: midpoint of the two published frontier figures (0.24 Wh Google, 0.34 Wh OpenAI) = 0.29 Wh/prompt; split assumption: median exchange ~1000 in + 250 out tokens, output 4x input per token; PUE 1.2 (hyperscaler class)."
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"matchPrefixes": [
|
|
102
|
+
"grok"
|
|
103
|
+
],
|
|
104
|
+
"whPer1kIn": 0.145,
|
|
105
|
+
"whPer1kOut": 0.58,
|
|
106
|
+
"pue": 1.2,
|
|
107
|
+
"confidence": "unknown",
|
|
108
|
+
"citation": "No xAI-published figure found. UNKNOWN: falls back to the frontier-class estimate (see claude entry); treat as order-of-magnitude only."
|
|
109
|
+
}
|
|
110
|
+
],
|
|
111
|
+
"unknownProfile": {
|
|
112
|
+
"matchPrefixes": [],
|
|
113
|
+
"whPer1kIn": 0.145,
|
|
114
|
+
"whPer1kOut": 0.58,
|
|
115
|
+
"pue": 1.2,
|
|
116
|
+
"confidence": "unknown",
|
|
117
|
+
"citation": "Model not in the coefficient table. UNKNOWN: frontier-class estimate (midpoint of published 0.24-0.34 Wh/prompt figures, output 4x input, PUE 1.2); order-of-magnitude only."
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
"computePaths": {
|
|
121
|
+
"hardwareTdp": {
|
|
122
|
+
"methodologySection": "2.1, Table 1",
|
|
123
|
+
"unit": "W",
|
|
124
|
+
"defaultPowerW": 400,
|
|
125
|
+
"entries": [
|
|
126
|
+
{
|
|
127
|
+
"id": "NVIDIA H100 SXM",
|
|
128
|
+
"label": "NVIDIA H100 SXM",
|
|
129
|
+
"description": "NVIDIA H100 SXM5 80GB",
|
|
130
|
+
"powerW": 700,
|
|
131
|
+
"source": "NVIDIA datasheet 2023"
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"id": "NVIDIA H100 PCIe",
|
|
135
|
+
"label": "NVIDIA H100 PCIe",
|
|
136
|
+
"description": "NVIDIA H100 PCIe 80GB",
|
|
137
|
+
"powerW": 350,
|
|
138
|
+
"source": "NVIDIA datasheet 2023"
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"id": "NVIDIA A100 SXM",
|
|
142
|
+
"label": "NVIDIA A100 SXM",
|
|
143
|
+
"description": "NVIDIA A100 SXM4 80GB",
|
|
144
|
+
"powerW": 400,
|
|
145
|
+
"source": "NVIDIA datasheet 2021"
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
"id": "NVIDIA A100 PCIe",
|
|
149
|
+
"label": "NVIDIA A100 PCIe",
|
|
150
|
+
"description": "NVIDIA A100 PCIe 80GB",
|
|
151
|
+
"powerW": 300,
|
|
152
|
+
"source": "NVIDIA datasheet 2021"
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"id": "NVIDIA V100 SXM",
|
|
156
|
+
"label": "NVIDIA V100 SXM",
|
|
157
|
+
"description": "NVIDIA V100 SXM2 32GB",
|
|
158
|
+
"powerW": 300,
|
|
159
|
+
"source": "NVIDIA datasheet 2018"
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
"id": "NVIDIA RTX 4090",
|
|
163
|
+
"label": "NVIDIA RTX 4090",
|
|
164
|
+
"description": "NVIDIA GeForce RTX 4090",
|
|
165
|
+
"powerW": 450,
|
|
166
|
+
"source": "NVIDIA datasheet 2022"
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
"id": "NVIDIA RTX 3090",
|
|
170
|
+
"label": "NVIDIA RTX 3090",
|
|
171
|
+
"description": "NVIDIA GeForce RTX 3090",
|
|
172
|
+
"powerW": 350,
|
|
173
|
+
"source": "NVIDIA datasheet 2020"
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"id": "NVIDIA L40S",
|
|
177
|
+
"label": "NVIDIA L40S",
|
|
178
|
+
"description": "NVIDIA L40S 48GB",
|
|
179
|
+
"powerW": 350,
|
|
180
|
+
"source": "NVIDIA datasheet 2023"
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
"id": "NVIDIA A40",
|
|
184
|
+
"label": "NVIDIA A40",
|
|
185
|
+
"description": "NVIDIA A40 48GB",
|
|
186
|
+
"powerW": 300,
|
|
187
|
+
"source": "NVIDIA datasheet 2020"
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
"id": "Google TPU v4",
|
|
191
|
+
"label": "Google TPU v4 (per chip)",
|
|
192
|
+
"description": "Google TPU v4 (per chip)",
|
|
193
|
+
"powerW": 170,
|
|
194
|
+
"source": "Google Cloud 2023"
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
"id": "Google TPU v5e",
|
|
198
|
+
"label": "Google TPU v5e (per chip)",
|
|
199
|
+
"description": "Google TPU v5e (per chip)",
|
|
200
|
+
"powerW": 200,
|
|
201
|
+
"source": "Google Cloud 2024"
|
|
202
|
+
}
|
|
203
|
+
]
|
|
204
|
+
},
|
|
205
|
+
"flop": {
|
|
206
|
+
"methodologySection": "2.2",
|
|
207
|
+
"joulesPerTflop": 0.35,
|
|
208
|
+
"note": "Representative for FP16/BF16 on A100/H100 class hardware."
|
|
209
|
+
},
|
|
210
|
+
"tokenProxy": {
|
|
211
|
+
"methodologySection": "2.3, Table 2",
|
|
212
|
+
"unit": "Wh per million tokens",
|
|
213
|
+
"defaultScale": "medium",
|
|
214
|
+
"entries": [
|
|
215
|
+
{
|
|
216
|
+
"scale": "small",
|
|
217
|
+
"parameters": "< 7B",
|
|
218
|
+
"whPerMillionTokens": 100
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
"scale": "medium",
|
|
222
|
+
"parameters": "7B to 70B",
|
|
223
|
+
"whPerMillionTokens": 500
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
"scale": "large",
|
|
227
|
+
"parameters": "> 70B",
|
|
228
|
+
"whPerMillionTokens": 2000
|
|
229
|
+
}
|
|
230
|
+
]
|
|
231
|
+
},
|
|
232
|
+
"gridByRegion": {
|
|
233
|
+
"methodologySection": "3, Table 3",
|
|
234
|
+
"unit": "gCO2e/kWh",
|
|
235
|
+
"basis": "2023 market average",
|
|
236
|
+
"defaultRegion": "global_average",
|
|
237
|
+
"entries": [
|
|
238
|
+
{
|
|
239
|
+
"region": "global_average",
|
|
240
|
+
"gCO2ePerKWh": 436,
|
|
241
|
+
"source": "IEA World Energy Outlook 2023"
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
"region": "US",
|
|
245
|
+
"gCO2ePerKWh": 386,
|
|
246
|
+
"source": "EPA eGRID 2023"
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
"region": "EU27",
|
|
250
|
+
"gCO2ePerKWh": 276,
|
|
251
|
+
"source": "EEA 2023"
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
"region": "UK",
|
|
255
|
+
"gCO2ePerKWh": 233,
|
|
256
|
+
"source": "DESNZ 2023"
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
"region": "France",
|
|
260
|
+
"gCO2ePerKWh": 85,
|
|
261
|
+
"source": "RTE 2023"
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
"region": "Germany",
|
|
265
|
+
"gCO2ePerKWh": 385,
|
|
266
|
+
"source": "UBA 2023"
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
"region": "Poland",
|
|
270
|
+
"gCO2ePerKWh": 746,
|
|
271
|
+
"source": "KOBiZE 2023"
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
"region": "China",
|
|
275
|
+
"gCO2ePerKWh": 530,
|
|
276
|
+
"source": "IEA 2023"
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
"region": "India",
|
|
280
|
+
"gCO2ePerKWh": 713,
|
|
281
|
+
"source": "CEA 2023"
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
"region": "Japan",
|
|
285
|
+
"gCO2ePerKWh": 463,
|
|
286
|
+
"source": "IEA 2023"
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
"region": "Canada",
|
|
290
|
+
"gCO2ePerKWh": 130,
|
|
291
|
+
"source": "CER 2023"
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
"region": "Australia",
|
|
295
|
+
"gCO2ePerKWh": 590,
|
|
296
|
+
"source": "DISER 2023"
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
"region": "Sweden",
|
|
300
|
+
"gCO2ePerKWh": 45,
|
|
301
|
+
"source": "Swedish Energy Agency 2023"
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
"region": "Norway",
|
|
305
|
+
"gCO2ePerKWh": 29,
|
|
306
|
+
"source": "NVE 2023"
|
|
307
|
+
}
|
|
308
|
+
]
|
|
309
|
+
}
|
|
310
|
+
},
|
|
311
|
+
"humanEquivalencies": {
|
|
312
|
+
"methodologySection": "2.5",
|
|
313
|
+
"note": "Level 3. Educational comparisons only. Never offsets, credits, certifications or restoration claims.",
|
|
314
|
+
"phoneChargeWh": 12,
|
|
315
|
+
"ledBulbWatts": 10,
|
|
316
|
+
"laptopWatts": 50,
|
|
317
|
+
"carDrivingGramsCo2ePerKm": 170
|
|
318
|
+
},
|
|
319
|
+
"water": {
|
|
320
|
+
"methodologySection": "2.6, Table 5",
|
|
321
|
+
"note": "Level 1 modeled estimate, inference only. Water is CONSUMED water (gone from the local source), not withdrawn water. Location-based only. Confidence is low by rule. Always carried as a low to high range. Added in 2.5.0; nothing above this key changed.",
|
|
322
|
+
"basis": "consumption",
|
|
323
|
+
"formula": [
|
|
324
|
+
"siteL = energyKWh * siteWue",
|
|
325
|
+
"gridL = energyKWh * gridWaterIntensity",
|
|
326
|
+
"waterL = siteL + gridL",
|
|
327
|
+
"teaspoons = waterL * 1000 / 5"
|
|
328
|
+
],
|
|
329
|
+
"unit": "L/kWh",
|
|
330
|
+
"confidence": "low",
|
|
331
|
+
"gridBasisDefaultLabel": "US avg",
|
|
332
|
+
"siteWue": {
|
|
333
|
+
"unit": "L/kWh",
|
|
334
|
+
"low": 0.27,
|
|
335
|
+
"value": 0.36,
|
|
336
|
+
"high": 1.8,
|
|
337
|
+
"methodologySection": "2.6.11, Table 5",
|
|
338
|
+
"provenance": "class-estimated",
|
|
339
|
+
"citation": "Shehabi, A., Smith, S.J., Hubbard, A., Newkirk, A., Lei, N., Siddik, M.A.B., Holecek, B., Koomey, J., Masanet, E., Sartor, D. 2024. 2024 United States Data Center Energy Usage Report. Lawrence Berkeley National Laboratory, Berkeley, California. LBNL-2001637. DOI 10.71468/P1WC7Q. Section 4, Figure 4.7, report page 48: US average site WUE just over 0.36 L/kWh through 2023.",
|
|
340
|
+
"rangeSources": {
|
|
341
|
+
"low": "0.27: Microsoft datacenter efficiency page, global WUE for FY25 (https://datacenters.microsoft.com/sustainability/efficiency/). The page does not say whether the water is consumed or withdrawn, so this is a low bound with a basis caveat.",
|
|
342
|
+
"high": "1.8: the typical water cooling requirement in Siddik, M.A.B., Shehabi, A., Marston, L. 2021. The environmental footprint of data centers in the United States. Environmental Research Letters 16, 064017."
|
|
343
|
+
},
|
|
344
|
+
"crossChecks": "Google fleet consumptive WUE 1.15 L/kWh (Elsworth et al. 2025, arXiv 2508.15734), an operator figure for one fleet. LBNL expects 0.45 to 0.48 L/kWh after 2023 (same page); that is inside the range.",
|
|
345
|
+
"note": "The default is the US-wide value from the primary source. WUE is water per kWh of IT load; some AiEDs energy is already scaled by PUE, so applying it to the disclosed energy slightly overstates site water, by at most the PUE. That is the conservative direction."
|
|
346
|
+
},
|
|
347
|
+
"gridWaterIntensity": {
|
|
348
|
+
"unit": "L/kWh",
|
|
349
|
+
"low": 1.5,
|
|
350
|
+
"value": 4.52,
|
|
351
|
+
"high": 9.5,
|
|
352
|
+
"methodologySection": "2.6.11, Table 5",
|
|
353
|
+
"provenance": "class-estimated",
|
|
354
|
+
"citation": "Shehabi, A., Smith, S.J., Hubbard, A., Newkirk, A., Lei, N., Siddik, M.A.B., Holecek, B., Koomey, J., Masanet, E., Sartor, D. 2024. 2024 United States Data Center Energy Usage Report. Lawrence Berkeley National Laboratory, Berkeley, California. LBNL-2001637. DOI 10.71468/P1WC7Q. Section 5, report page 57: national average of 4.52 L/kWh of indirect water consumption for data-center electricity in 2023.",
|
|
355
|
+
"rangeSources": {
|
|
356
|
+
"low": "1.5: Ireland row (1.476) of Table 1 in Li, P., Yang, J., Islam, M.A., Ren, S. Making AI Less Thirsty, arXiv 2304.03271 v5.",
|
|
357
|
+
"high": "9.5: Washington row (9.501) of Table 1 in Li et al., same paper. Single places, used as the ends of the observed spread."
|
|
358
|
+
},
|
|
359
|
+
"crossChecks": "Li et al. US 3.1 L/kWh; Siddik et al. about 5.3 L/kWh (our arithmetic from their totals). Neither is the default.",
|
|
360
|
+
"note": "Location-based: the grid that served the work. LBNL's indirect factors do not reflect power purchase agreements or on-site generation. The US average may stand in for a region with no figure of its own and is then labeled US avg."
|
|
361
|
+
},
|
|
362
|
+
"comparison": {
|
|
363
|
+
"unit": "teaspoon",
|
|
364
|
+
"milliliters": 5,
|
|
365
|
+
"showLitersAboveTeaspoons": 250
|
|
366
|
+
},
|
|
367
|
+
"requiredCopy": "Water is a modeled estimate.",
|
|
368
|
+
"bannedWords": ["offset", "credit", "neutral", "positive", "saved", "restored", "replenished"]
|
|
369
|
+
},
|
|
370
|
+
"measuredDevices": {
|
|
371
|
+
"methodologySection": "2.3.1, Table 4; prefill bands 2.3.2, Table 4b",
|
|
372
|
+
"unit": "a in Wh per request, b in Wh per token; band figures in Wh per million tokens",
|
|
373
|
+
"model": "energyWh = a + b * tokens, fitted per phase and per device; prefill published as a per-prompt-length-band distribution where the affine fit is mis-specified (see each entry's prefill.bands)",
|
|
374
|
+
"scopeFence": "A measured device coefficient describes only the hardware, runtime, model and quantization it names. It MUST NOT be applied to any other system, and in particular MUST NOT be applied to hosted inference.",
|
|
375
|
+
"note": "A per-request fixed cost `a` is a NEW disclosure shape. The AiEDs per-token paths in sections 2.1 to 2.4 cannot express it, which is why a single Wh-per-million-tokens figure measured on real hardware came out with an interquartile range wider than its own median. Hosted calls have no measured intercept and remain class-estimated with low confidence. Where prefill's affine fit is mis-specified, no single coefficient is published; the phase is reported as a per-band median and interquartile range instead (methodology 2.3.2).",
|
|
376
|
+
"entries": [
|
|
377
|
+
{
|
|
378
|
+
"id": "rtx-3060-laptop-gpu-ollama-0-34-0-llama3-2-1b-q8-0",
|
|
379
|
+
"hardware": "NVIDIA GeForce RTX 3060 Laptop GPU",
|
|
380
|
+
"acceleratorDriver": "527.99",
|
|
381
|
+
"enforcedPowerLimitW": 60,
|
|
382
|
+
"hostCpu": "AMD Ryzen 7 5800H with Radeon Graphics",
|
|
383
|
+
"hostRamGb": 15.4,
|
|
384
|
+
"os": "Microsoft Windows 11 Home 10.0.26200 build 26200",
|
|
385
|
+
"runtime": "Ollama 0.34.0",
|
|
386
|
+
"model": "llama3.2:1b",
|
|
387
|
+
"architecture": "llama",
|
|
388
|
+
"parameters": "1.2B",
|
|
389
|
+
"quantization": "Q8_0",
|
|
390
|
+
"contextLength": "8192",
|
|
391
|
+
"batchSize": 1,
|
|
392
|
+
"measurementScope": "dGPU board power only (nvidia-smi power.draw). Host CPU, system memory and the integrated GPU are NOT measured.",
|
|
393
|
+
"instrumentAccuracy": "nvidia-smi --help-query-gpu, driver 527.99: power.draw is the last measured power draw for the entire board, accurate to within +/- 5 watts.",
|
|
394
|
+
"samplingIntervalMs": 16,
|
|
395
|
+
"idleBaselineW": 13.229,
|
|
396
|
+
"idleBaselineBasis": "Loaded idle: model resident in VRAM, no request in flight, 60 s. Unloaded idle measured 13.486 W over 60 s; the difference is below this instrument's stated accuracy, so VRAM residency cost is not resolvable here.",
|
|
397
|
+
"unloadedIdleW": 13.486,
|
|
398
|
+
"tailExcluded": true,
|
|
399
|
+
"tailShareOfRequestPctMedian": 29.86,
|
|
400
|
+
"tailNote": "Both phase fits EXCLUDE the post-response power decay, which is real energy caused by the request but falls in neither phase window. Its median share of a request's net energy is published here so the size of the omission is a number rather than a caveat.",
|
|
401
|
+
"phases": {
|
|
402
|
+
"prefill": {
|
|
403
|
+
"status": "published-by-band",
|
|
404
|
+
"runs": 36,
|
|
405
|
+
"degreesOfFreedom": 34,
|
|
406
|
+
"r2": 0.966145,
|
|
407
|
+
"residualStandardErrorJoules": 7.557968,
|
|
408
|
+
"absResidualVsTokensPearson": -0.533943,
|
|
409
|
+
"curvatureSignificant": true,
|
|
410
|
+
"curvaturePValue": 0,
|
|
411
|
+
"method": "ordinary least squares, energy_joules = a + b * tokens",
|
|
412
|
+
"intervalMethod": "t-based at 95 percent (df = n - 2) as the published interval; seeded percentile bootstrap over pairs, 10000 resamples, as a distribution-free cross-check",
|
|
413
|
+
"reason": "The affine two-term model is MIS-SPECIFIED for prefill on this device. A quadratic term in tokens is significant, so energy is convex in token count rather than affine, and the fitted intercept is not a fixed per-request cost: it is whatever a straight line needs at zero tokens to compensate for the curvature. On these data that line predicts NEGATIVE energy inside the observed range, which is not physical. No single coefficient is published for this phase.",
|
|
414
|
+
"bandNote": "No single a/b coefficient is published for this phase; see bands below. Each band reports the median and interquartile range of Wh per million tokens observed at that prompt length, not a fitted line.",
|
|
415
|
+
"bandUnit": "Wh per million tokens",
|
|
416
|
+
"bands": [
|
|
417
|
+
{
|
|
418
|
+
"band": "short",
|
|
419
|
+
"lowerBoundTokens": 0,
|
|
420
|
+
"upperBoundTokens": 256,
|
|
421
|
+
"runs": 12,
|
|
422
|
+
"promptTokensObservedMin": 252,
|
|
423
|
+
"promptTokensObservedMax": 252,
|
|
424
|
+
"medianWhPerMillionTokens": 2.474,
|
|
425
|
+
"q1WhPerMillionTokens": 1.163,
|
|
426
|
+
"q3WhPerMillionTokens": 3.591,
|
|
427
|
+
"iqrWhPerMillionTokens": 2.429,
|
|
428
|
+
"minWhPerMillionTokens": 0.485,
|
|
429
|
+
"maxWhPerMillionTokens": 4.185
|
|
430
|
+
},
|
|
431
|
+
{
|
|
432
|
+
"band": "medium",
|
|
433
|
+
"lowerBoundTokens": 256,
|
|
434
|
+
"upperBoundTokens": 2048,
|
|
435
|
+
"runs": 12,
|
|
436
|
+
"promptTokensObservedMin": 1528,
|
|
437
|
+
"promptTokensObservedMax": 1528,
|
|
438
|
+
"medianWhPerMillionTokens": 2.848,
|
|
439
|
+
"q1WhPerMillionTokens": 2.7,
|
|
440
|
+
"q3WhPerMillionTokens": 2.894,
|
|
441
|
+
"iqrWhPerMillionTokens": 0.194,
|
|
442
|
+
"minWhPerMillionTokens": 1.987,
|
|
443
|
+
"maxWhPerMillionTokens": 3.129
|
|
444
|
+
},
|
|
445
|
+
{
|
|
446
|
+
"band": "long",
|
|
447
|
+
"lowerBoundTokens": 2048,
|
|
448
|
+
"upperBoundTokens": null,
|
|
449
|
+
"runs": 12,
|
|
450
|
+
"promptTokensObservedMin": 4370,
|
|
451
|
+
"promptTokensObservedMax": 4370,
|
|
452
|
+
"medianWhPerMillionTokens": 5.897,
|
|
453
|
+
"q1WhPerMillionTokens": 5.722,
|
|
454
|
+
"q3WhPerMillionTokens": 6.015,
|
|
455
|
+
"iqrWhPerMillionTokens": 0.293,
|
|
456
|
+
"minWhPerMillionTokens": 5.579,
|
|
457
|
+
"maxWhPerMillionTokens": 6.143
|
|
458
|
+
}
|
|
459
|
+
]
|
|
460
|
+
},
|
|
461
|
+
"decode": {
|
|
462
|
+
"status": "published",
|
|
463
|
+
"runs": 36,
|
|
464
|
+
"degreesOfFreedom": 34,
|
|
465
|
+
"r2": 0.94553,
|
|
466
|
+
"residualStandardErrorJoules": 14.090854,
|
|
467
|
+
"absResidualVsTokensPearson": 0.453742,
|
|
468
|
+
"curvatureSignificant": false,
|
|
469
|
+
"curvaturePValue": 0.910387737,
|
|
470
|
+
"method": "ordinary least squares, energy_joules = a + b * tokens",
|
|
471
|
+
"intervalMethod": "t-based at 95 percent (df = n - 2) as the published interval; seeded percentile bootstrap over pairs, 10000 resamples, as a distribution-free cross-check",
|
|
472
|
+
"aWhPerRequest": -0.001692,
|
|
473
|
+
"aWhPerRequestCI95": [
|
|
474
|
+
-0.004049,
|
|
475
|
+
0.000665
|
|
476
|
+
],
|
|
477
|
+
"aPValue": 0.153871,
|
|
478
|
+
"aDistinguishableFromZero": false,
|
|
479
|
+
"aNote": "NOT distinguishable from zero at 95 percent: the interval straddles zero, so this phase shows no measurable fixed per-request cost. A consumer may take a as zero and should carry the interval.",
|
|
480
|
+
"bWhPerToken": 0.000099273,
|
|
481
|
+
"bWhPerTokenCI95": [
|
|
482
|
+
0.000090969,
|
|
483
|
+
0.000107577
|
|
484
|
+
],
|
|
485
|
+
"bWhPerMillionTokens": 99.273,
|
|
486
|
+
"bWhPerMillionTokensCI95": [
|
|
487
|
+
90.969,
|
|
488
|
+
107.577
|
|
489
|
+
],
|
|
490
|
+
"bPValue": 0,
|
|
491
|
+
"bootstrapAWhPerRequestCI95": [
|
|
492
|
+
-0.003403,
|
|
493
|
+
-0.000106
|
|
494
|
+
],
|
|
495
|
+
"bootstrapBWhPerTokenCI95": [
|
|
496
|
+
0.000090019,
|
|
497
|
+
0.000108517
|
|
498
|
+
],
|
|
499
|
+
"bootstrapResamples": 10000,
|
|
500
|
+
"bootstrapSeed": 24301
|
|
501
|
+
}
|
|
502
|
+
},
|
|
503
|
+
"provenance": "measured",
|
|
504
|
+
"confidence": "high",
|
|
505
|
+
"measurementDirectory": "spec/measurements/2026-09-14-rtx-3060-laptop",
|
|
506
|
+
"measurementCommit": "d9a3f0a029ed885bb4f76eff7ed35f6a70acfe7f",
|
|
507
|
+
"citation": "Random Knights, LLC (2026). Measured on NVIDIA GeForce RTX 3060 Laptop GPU, driver 527.99, Ollama 0.34.0, llama3.2:1b Q8_0, batch size 1, context 8192. Discrete GPU board power via nvidia-smi power.draw at about 16 ms, loaded-idle baseline 13.229 W subtracted, 36 runs. Method, harness and raw samples: spec/measurements/2026-09-14-rtx-3060-laptop/README.md at commit d9a3f0a029ed885bb4f76eff7ed35f6a70acfe7f."
|
|
508
|
+
},
|
|
509
|
+
{
|
|
510
|
+
"id": "rtx-3060-laptop-gpu-ollama-0-34-0-llama3-2-latest-q4-k-m",
|
|
511
|
+
"hardware": "NVIDIA GeForce RTX 3060 Laptop GPU",
|
|
512
|
+
"acceleratorDriver": "527.99",
|
|
513
|
+
"enforcedPowerLimitW": 60,
|
|
514
|
+
"hostCpu": "AMD Ryzen 7 5800H with Radeon Graphics",
|
|
515
|
+
"hostRamGb": 15.4,
|
|
516
|
+
"os": "Microsoft Windows 11 Home 10.0.26200 build 26200",
|
|
517
|
+
"runtime": "Ollama 0.34.0",
|
|
518
|
+
"model": "llama3.2:latest",
|
|
519
|
+
"architecture": "llama",
|
|
520
|
+
"parameters": "3.2B",
|
|
521
|
+
"quantization": "Q4_K_M",
|
|
522
|
+
"contextLength": "8192",
|
|
523
|
+
"batchSize": 1,
|
|
524
|
+
"measurementScope": "dGPU board power only (nvidia-smi power.draw). Host CPU, system memory and the integrated GPU are NOT measured.",
|
|
525
|
+
"instrumentAccuracy": "nvidia-smi --help-query-gpu, driver 527.99: power.draw is the last measured power draw for the entire board, accurate to within +/- 5 watts.",
|
|
526
|
+
"samplingIntervalMs": 16,
|
|
527
|
+
"idleBaselineW": 13.407,
|
|
528
|
+
"idleBaselineBasis": "Loaded idle: model resident in VRAM, no request in flight, 60 s. Unloaded idle measured 13.486 W over 60 s; the difference is below this instrument's stated accuracy, so VRAM residency cost is not resolvable here.",
|
|
529
|
+
"unloadedIdleW": 13.486,
|
|
530
|
+
"tailExcluded": true,
|
|
531
|
+
"tailShareOfRequestPctMedian": 14.82,
|
|
532
|
+
"tailNote": "Both phase fits EXCLUDE the post-response power decay, which is real energy caused by the request but falls in neither phase window. Its median share of a request's net energy is published here so the size of the omission is a number rather than a caveat.",
|
|
533
|
+
"phases": {
|
|
534
|
+
"prefill": {
|
|
535
|
+
"status": "published-by-band",
|
|
536
|
+
"runs": 36,
|
|
537
|
+
"degreesOfFreedom": 34,
|
|
538
|
+
"r2": 0.993897,
|
|
539
|
+
"residualStandardErrorJoules": 8.146918,
|
|
540
|
+
"absResidualVsTokensPearson": -0.410962,
|
|
541
|
+
"curvatureSignificant": true,
|
|
542
|
+
"curvaturePValue": 0,
|
|
543
|
+
"method": "ordinary least squares, energy_joules = a + b * tokens",
|
|
544
|
+
"intervalMethod": "t-based at 95 percent (df = n - 2) as the published interval; seeded percentile bootstrap over pairs, 10000 resamples, as a distribution-free cross-check",
|
|
545
|
+
"reason": "The affine two-term model is MIS-SPECIFIED for prefill on this device. A quadratic term in tokens is significant, so energy is convex in token count rather than affine, and the fitted intercept is not a fixed per-request cost: it is whatever a straight line needs at zero tokens to compensate for the curvature. On these data that line predicts NEGATIVE energy inside the observed range, which is not physical. No single coefficient is published for this phase.",
|
|
546
|
+
"bandNote": "No single a/b coefficient is published for this phase; see bands below. Each band reports the median and interquartile range of Wh per million tokens observed at that prompt length, not a fitted line.",
|
|
547
|
+
"bandUnit": "Wh per million tokens",
|
|
548
|
+
"bands": [
|
|
549
|
+
{
|
|
550
|
+
"band": "short",
|
|
551
|
+
"lowerBoundTokens": 0,
|
|
552
|
+
"upperBoundTokens": 256,
|
|
553
|
+
"runs": 12,
|
|
554
|
+
"promptTokensObservedMin": 251,
|
|
555
|
+
"promptTokensObservedMax": 251,
|
|
556
|
+
"medianWhPerMillionTokens": 3.207,
|
|
557
|
+
"q1WhPerMillionTokens": 2.908,
|
|
558
|
+
"q3WhPerMillionTokens": 4.416,
|
|
559
|
+
"iqrWhPerMillionTokens": 1.508,
|
|
560
|
+
"minWhPerMillionTokens": 1.827,
|
|
561
|
+
"maxWhPerMillionTokens": 6.518
|
|
562
|
+
},
|
|
563
|
+
{
|
|
564
|
+
"band": "medium",
|
|
565
|
+
"lowerBoundTokens": 256,
|
|
566
|
+
"upperBoundTokens": 2048,
|
|
567
|
+
"runs": 12,
|
|
568
|
+
"promptTokensObservedMin": 1527,
|
|
569
|
+
"promptTokensObservedMax": 1527,
|
|
570
|
+
"medianWhPerMillionTokens": 11.282,
|
|
571
|
+
"q1WhPerMillionTokens": 10.696,
|
|
572
|
+
"q3WhPerMillionTokens": 11.409,
|
|
573
|
+
"iqrWhPerMillionTokens": 0.713,
|
|
574
|
+
"minWhPerMillionTokens": 10.369,
|
|
575
|
+
"maxWhPerMillionTokens": 12.165
|
|
576
|
+
},
|
|
577
|
+
{
|
|
578
|
+
"band": "long",
|
|
579
|
+
"lowerBoundTokens": 2048,
|
|
580
|
+
"upperBoundTokens": null,
|
|
581
|
+
"runs": 12,
|
|
582
|
+
"promptTokensObservedMin": 4369,
|
|
583
|
+
"promptTokensObservedMax": 4369,
|
|
584
|
+
"medianWhPerMillionTokens": 15.261,
|
|
585
|
+
"q1WhPerMillionTokens": 15.04,
|
|
586
|
+
"q3WhPerMillionTokens": 15.651,
|
|
587
|
+
"iqrWhPerMillionTokens": 0.611,
|
|
588
|
+
"minWhPerMillionTokens": 15.013,
|
|
589
|
+
"maxWhPerMillionTokens": 15.85
|
|
590
|
+
}
|
|
591
|
+
]
|
|
592
|
+
},
|
|
593
|
+
"decode": {
|
|
594
|
+
"status": "published",
|
|
595
|
+
"runs": 36,
|
|
596
|
+
"degreesOfFreedom": 34,
|
|
597
|
+
"r2": 0.974538,
|
|
598
|
+
"residualStandardErrorJoules": 18.876011,
|
|
599
|
+
"absResidualVsTokensPearson": 0.600666,
|
|
600
|
+
"curvatureSignificant": false,
|
|
601
|
+
"curvaturePValue": 0.743138187,
|
|
602
|
+
"method": "ordinary least squares, energy_joules = a + b * tokens",
|
|
603
|
+
"intervalMethod": "t-based at 95 percent (df = n - 2) as the published interval; seeded percentile bootstrap over pairs, 10000 resamples, as a distribution-free cross-check",
|
|
604
|
+
"aWhPerRequest": -0.001838,
|
|
605
|
+
"aWhPerRequestCI95": [
|
|
606
|
+
-0.004996,
|
|
607
|
+
0.001319
|
|
608
|
+
],
|
|
609
|
+
"aPValue": 0.244896,
|
|
610
|
+
"aDistinguishableFromZero": false,
|
|
611
|
+
"aNote": "NOT distinguishable from zero at 95 percent: the interval straddles zero, so this phase shows no measurable fixed per-request cost. A consumer may take a as zero and should carry the interval.",
|
|
612
|
+
"bWhPerToken": 0.000197467,
|
|
613
|
+
"bWhPerTokenCI95": [
|
|
614
|
+
0.000186343,
|
|
615
|
+
0.000208592
|
|
616
|
+
],
|
|
617
|
+
"bWhPerMillionTokens": 197.467,
|
|
618
|
+
"bWhPerMillionTokensCI95": [
|
|
619
|
+
186.343,
|
|
620
|
+
208.592
|
|
621
|
+
],
|
|
622
|
+
"bPValue": 0,
|
|
623
|
+
"bootstrapAWhPerRequestCI95": [
|
|
624
|
+
-0.004063,
|
|
625
|
+
0.00019
|
|
626
|
+
],
|
|
627
|
+
"bootstrapBWhPerTokenCI95": [
|
|
628
|
+
0.000184942,
|
|
629
|
+
0.000210133
|
|
630
|
+
],
|
|
631
|
+
"bootstrapResamples": 10000,
|
|
632
|
+
"bootstrapSeed": 24301
|
|
633
|
+
}
|
|
634
|
+
},
|
|
635
|
+
"provenance": "measured",
|
|
636
|
+
"confidence": "high",
|
|
637
|
+
"measurementDirectory": "spec/measurements/2026-09-14-rtx-3060-laptop",
|
|
638
|
+
"measurementCommit": "d9a3f0a029ed885bb4f76eff7ed35f6a70acfe7f",
|
|
639
|
+
"citation": "Random Knights, LLC (2026). Measured on NVIDIA GeForce RTX 3060 Laptop GPU, driver 527.99, Ollama 0.34.0, llama3.2:latest Q4_K_M, batch size 1, context 8192. Discrete GPU board power via nvidia-smi power.draw at about 16 ms, loaded-idle baseline 13.407 W subtracted, 36 runs. Method, harness and raw samples: spec/measurements/2026-09-14-rtx-3060-laptop/README.md at commit d9a3f0a029ed885bb4f76eff7ed35f6a70acfe7f."
|
|
640
|
+
}
|
|
641
|
+
]
|
|
642
|
+
}
|
|
643
|
+
}
|