ecocost 0.2.0__tar.gz → 0.2.2__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ecocost
3
- Version: 0.2.0
3
+ Version: 0.2.2
4
4
  Summary: Per-run carbon, energy and water estimates for AI inference, with computed confidence and sourced inputs
5
5
  License: Apache-2.0
6
6
  License-File: LICENSE
@@ -31,17 +31,21 @@ Description-Content-Type: text/markdown
31
31
 
32
32
  # ecocost
33
33
 
34
+ [![PyPI](https://img.shields.io/pypi/v/ecocost)](https://pypi.org/project/ecocost/)
35
+ [![Python](https://img.shields.io/pypi/pyversions/ecocost)](https://pypi.org/project/ecocost/)
36
+ [![License](https://img.shields.io/badge/license-Apache--2.0-blue)](https://github.com/GooeyAI/ecocost/blob/main/LICENSE)
37
+
38
+ ecocost calculates the carbon emissions, energy use and water use of each AI inference request.
39
+
34
40
  ```bash
35
41
  pip install ecocost
36
42
  ```
37
43
 
38
- Per-request carbon, energy and water estimates for AI inference, each with a
39
- likely range and a confidence label computed from the evidence behind it.
40
- Every input is sourced and tiered, and the knowledge base in `ecocost/data/`
41
- is open to pull requests from providers, hardware makers and researchers.
44
+ Maintained by [Gooey.AI](https://gooey.ai). Learn more at
45
+ [gooey.ai/ecocost](https://gooey.ai/ecocost/). Read how the estimates are
46
+ made in [METHODOLOGY.md](https://github.com/GooeyAI/ecocost/blob/main/METHODOLOGY.md).
42
47
 
43
- Maintained by [Gooey.AI](https://gooey.ai). Pure Python; the only dependency
44
- is PyYAML.
48
+ ![Eco-cost labeling architecture: source data, curation and contributions, the open source estimation engine, the API contract, and product interfaces](https://raw.githubusercontent.com/GooeyAI/ecocost/main/docs/architecture.png)
45
49
 
46
50
  ## Quick start
47
51
 
@@ -1,16 +1,20 @@
1
1
  # ecocost
2
2
 
3
+ [![PyPI](https://img.shields.io/pypi/v/ecocost)](https://pypi.org/project/ecocost/)
4
+ [![Python](https://img.shields.io/pypi/pyversions/ecocost)](https://pypi.org/project/ecocost/)
5
+ [![License](https://img.shields.io/badge/license-Apache--2.0-blue)](https://github.com/GooeyAI/ecocost/blob/main/LICENSE)
6
+
7
+ ecocost calculates the carbon emissions, energy use and water use of each AI inference request.
8
+
3
9
  ```bash
4
10
  pip install ecocost
5
11
  ```
6
12
 
7
- Per-request carbon, energy and water estimates for AI inference, each with a
8
- likely range and a confidence label computed from the evidence behind it.
9
- Every input is sourced and tiered, and the knowledge base in `ecocost/data/`
10
- is open to pull requests from providers, hardware makers and researchers.
13
+ Maintained by [Gooey.AI](https://gooey.ai). Learn more at
14
+ [gooey.ai/ecocost](https://gooey.ai/ecocost/). Read how the estimates are
15
+ made in [METHODOLOGY.md](https://github.com/GooeyAI/ecocost/blob/main/METHODOLOGY.md).
11
16
 
12
- Maintained by [Gooey.AI](https://gooey.ai). Pure Python; the only dependency
13
- is PyYAML.
17
+ ![Eco-cost labeling architecture: source data, curation and contributions, the open source estimation engine, the API contract, and product interfaces](https://raw.githubusercontent.com/GooeyAI/ecocost/main/docs/architecture.png)
14
18
 
15
19
  ## Quick start
16
20
 
@@ -15,6 +15,7 @@ first_party_provider:
15
15
  Meta AI: meta
16
16
  KissanAI: dhenu
17
17
  Qwen: alibaba-sg
18
+ Mistral: mistral
18
19
 
19
20
  models:
20
21
  gpt-oss-120b:
@@ -353,6 +354,30 @@ models:
353
354
  stale_after: '2027-03-31'
354
355
  sources:
355
356
  - resource: https://docs.mistral.ai/models/model-cards/mistral-medium-3-5-26-04
357
+ mistral-large-4:
358
+ label: Mistral Large 4
359
+ creator: Mistral
360
+ open_weights: false
361
+ total_params_b: 1050
362
+ aliases:
363
+ - mistral-large-4-0
364
+ - mistral/mistral-large-4
365
+ - mistral/mistral-large-4-0
366
+ active_params_b:
367
+ value: 52
368
+ unit: B
369
+ tier: 1
370
+ source: https://docs.mistral.ai/models/mistral-large-4
371
+ note: "Public preview, granular MoE: 52B active and 1.05T total per the model card, corroborated by the launch announcement. The research index still says 49B; use the detailed card. The separately reported 1.6B vision encoder is not added to text-token FLOPs. Weights are promised for the end of October 2026 but are not released as of 2026-10-08, hence open_weights false. No measured inference energy is published."
372
+ provenance:
373
+ generated: {by: 'agent:codex-research', at: '2026-10-08'}
374
+ verified: []
375
+ status: draft
376
+ stale_after: '2027-04-08'
377
+ sources:
378
+ - resource: https://docs.mistral.ai/models/mistral-large-4
379
+ - resource: https://mistral.ai/news/mistral-large-4
380
+ - resource: https://mistral.ai/research/
356
381
  mistral-large-2512:
357
382
  label: Mistral Large 3
358
383
  creator: Mistral
@@ -979,6 +1004,30 @@ models:
979
1004
  stale_after: '2027-03-31'
980
1005
  sources:
981
1006
  - resource: https://en.wikipedia.org/wiki/GPT-6_Astra
1007
+ gpt-6.1-sol:
1008
+ label: GPT-6.1 Sol
1009
+ creator: OpenAI
1010
+ open_weights: false
1011
+ total_params_b: 375
1012
+ aliases:
1013
+ - openai/gpt-6.1-sol
1014
+ active_params_b:
1015
+ value: 65
1016
+ unit: B
1017
+ tier: 2
1018
+ min: 38
1019
+ max: 112
1020
+ source: https://raw.githubusercontent.com/genai-impact/ecologits/main/ecologits/data/models.json
1021
+ note: "Undisclosed. EcoLogits (2026-10-08) estimates MoE 375B total and 38-112B active, flagged model-arch-not-released. Point is the rounded geometric mean (65.24B). This is a published estimate, not an OpenAI disclosure or measured energy. Separate weights from GPT-6 Sol; matching prices do not establish matching compute."
1022
+ provenance:
1023
+ generated: {by: 'agent:codex-research', at: '2026-10-08'}
1024
+ verified: []
1025
+ status: draft
1026
+ stale_after: '2027-04-08'
1027
+ sources:
1028
+ - resource: https://raw.githubusercontent.com/genai-impact/ecologits/main/ecologits/data/models.json
1029
+ - resource: https://developers.openai.com/api/docs/models/gpt-6.1-sol
1030
+ - resource: https://developers.openai.com/api/docs/changelog
982
1031
  gpt-6-sol:
983
1032
  label: GPT-6 Sol
984
1033
  creator: OpenAI
@@ -1066,6 +1115,47 @@ models:
1066
1115
  stale_after: '2027-03-31'
1067
1116
  sources:
1068
1117
  - resource: https://developers.openai.com/api/docs/models/gpt-realtime-mini
1118
+ gpt-realtime-1.5:
1119
+ label: GPT Realtime 1.5
1120
+ creator: OpenAI
1121
+ total_params_b: 440
1122
+ open_weights: false
1123
+ active_params_b:
1124
+ value: 76
1125
+ unit: B
1126
+ tier: 3
1127
+ min: 44
1128
+ max: 132
1129
+ source: https://developers.openai.com/api/docs/models/gpt-realtime-1.5
1130
+ note: "Undisclosed; no EcoLogits entry as of 2026-09-24. Proxy gpt-realtime-2.1 (gpt-4o lineage, EcoLogits 440B total, 44-132B active): OpenAI prices both at $32/$64 per 1M audio tokens and $4 per 1M text input tokens (text output $16 vs $24). Point = geometric mean."
1131
+ provenance:
1132
+ generated: {by: 'agent:claude-opus-5-5', at: '2026-09-24'}
1133
+ verified: []
1134
+ status: draft
1135
+ stale_after: '2027-03-31'
1136
+ sources:
1137
+ - resource: https://developers.openai.com/api/docs/models/gpt-realtime-1.5
1138
+ - resource: https://developers.openai.com/api/docs/models/gpt-realtime-2.1
1139
+ gpt-realtime-2.1-mini:
1140
+ label: GPT Realtime 2.1 mini
1141
+ creator: OpenAI
1142
+ open_weights: false
1143
+ active_params_b:
1144
+ value: 12
1145
+ unit: B
1146
+ tier: 3
1147
+ min: 8
1148
+ max: 28
1149
+ source: https://developers.openai.com/api/docs/models/gpt-realtime-2.1-mini
1150
+ note: "Undisclosed; no EcoLogits entry as of 2026-09-24. OpenAI calls it 'a distilled reasoning model'. Proxy gpt-realtime-mini (gpt-4o-mini lineage, 8-28B): OpenAI prices both at $0.6/$2.4 per 1M text tokens."
1151
+ provenance:
1152
+ generated: {by: 'agent:claude-opus-5-5', at: '2026-09-24'}
1153
+ verified: []
1154
+ status: draft
1155
+ stale_after: '2027-03-31'
1156
+ sources:
1157
+ - resource: https://developers.openai.com/api/docs/models/gpt-realtime-2.1-mini
1158
+ - resource: https://developers.openai.com/api/docs/models/gpt-realtime-mini
1069
1159
  claude-sonnet-5:
1070
1160
  label: Claude Sonnet 5
1071
1161
  creator: Anthropic
@@ -1113,29 +1203,54 @@ models:
1113
1203
  claude-opus-5-5:
1114
1204
  label: Claude Opus 5.5
1115
1205
  creator: Anthropic
1206
+ total_params_b: 670
1116
1207
  open_weights: false
1117
1208
  aliases:
1118
1209
  - anthropic.claude-opus-5-5
1119
1210
  - anthropic/claude-opus-5.5
1120
1211
  - claude-opus-5.5
1121
1212
  active_params_b:
1122
- value: 80
1213
+ value: 118
1123
1214
  unit: B
1124
- tier: 3
1125
- min: 45
1215
+ tier: 2
1216
+ min: 70
1126
1217
  max: 200
1127
- source: https://www.anthropic.com/news/claude-opus-5-5#performance-and-cost-effectiveness
1128
- note: "Undisclosed; no published estimate yet (EcoLogits models.json has no claude-opus-5-5 as of 2026-09-23). Derived from claude-opus-5 (67-110-200). Anthropic states 'Opus 5.5 requires less compute to serve than Opus 5, and its pricing reflects that'; per-token price is 0.8x ($4/$20 vs $5/$25), scaling to ~88B. Decode on Anthropic's API is 1.5x faster at the same (low) effort (Artificial Analysis: 83.4 vs 55.7 tok/s), scaling to ~73B, but launch-week speeds are noisy. Point ~ geometric mean of the two (80). 'Less compute' may come from serving changes rather than fewer active parameters, so max stays at claude-opus-5's 200; min = claude-opus-5's min scaled by the speed ratio."
1218
+ source: https://raw.githubusercontent.com/genai-impact/ecologits/main/ecologits/data/models.json
1219
+ note: "Undisclosed. EcoLogits (2026-10-08) estimates MoE 670B total and 70-200B active, flagged model-arch-not-released. Point is the rounded geometric mean (118.32B). Replaces the earlier 80B pricing/throughput proxy. Anthropic reports lower serving compute and fewer tokens per task, but its 40% cost reduction is not a measured energy reduction or a parameter disclosure."
1129
1220
  provenance:
1130
- generated: {by: 'agent:claude-opus-5-5', at: '2026-09-23'}
1221
+ generated: {by: 'agent:codex-research', at: '2026-10-08'}
1131
1222
  verified: []
1132
1223
  status: draft
1133
- stale_after: '2027-03-31'
1224
+ stale_after: '2027-04-08'
1134
1225
  sources:
1226
+ - resource: https://raw.githubusercontent.com/genai-impact/ecologits/main/ecologits/data/models.json
1135
1227
  - resource: https://platform.claude.com/docs/en/models/opus-5-5/overview
1136
1228
  - resource: https://www.anthropic.com/news/claude-opus-5-5
1137
- - resource: https://artificialanalysis.ai/models/claude-opus-5-5-low
1138
- - resource: https://artificialanalysis.ai/models/claude-opus-5-low
1229
+ claude-sonnet-5-5:
1230
+ label: Claude Sonnet 5.5
1231
+ creator: Anthropic
1232
+ open_weights: false
1233
+ total_params_b: 293
1234
+ aliases:
1235
+ - anthropic/claude-sonnet-5.5
1236
+ - claude-sonnet-5.5
1237
+ active_params_b:
1238
+ value: 51
1239
+ unit: B
1240
+ tier: 2
1241
+ min: 29
1242
+ max: 88
1243
+ source: https://raw.githubusercontent.com/genai-impact/ecologits/main/ecologits/data/models.json
1244
+ note: "Undisclosed. EcoLogits (2026-10-08) estimates MoE 293B total and 29-88B active, flagged model-arch-not-released. Point is the rounded geometric mean (50.52B). Released September 28; a separate record from Sonnet 5. No measured inference energy is published."
1245
+ provenance:
1246
+ generated: {by: 'agent:codex-research', at: '2026-10-08'}
1247
+ verified: []
1248
+ status: draft
1249
+ stale_after: '2027-04-08'
1250
+ sources:
1251
+ - resource: https://raw.githubusercontent.com/genai-impact/ecologits/main/ecologits/data/models.json
1252
+ - resource: https://www.anthropic.com/claude-sonnet-5-5
1253
+ - resource: https://platform.claude.com/docs/en/models/sonnet-5-5/overview
1139
1254
  claude-fable-5-1:
1140
1255
  label: Claude Fable 5.1
1141
1256
  creator: Anthropic
@@ -1156,6 +1271,110 @@ models:
1156
1271
  stale_after: '2027-03-31'
1157
1272
  sources:
1158
1273
  - resource: https://arxiv.org/html/2604.24827
1274
+ claude-fable-5:
1275
+ label: Claude Fable 5
1276
+ creator: Anthropic
1277
+ total_params_b: 1340
1278
+ open_weights: false
1279
+ active_params_b:
1280
+ value: 230
1281
+ unit: B
1282
+ tier: 2
1283
+ min: 134
1284
+ max: 400
1285
+ source: https://raw.githubusercontent.com/genai-impact/ecologits/main/ecologits/data/models.json
1286
+ note: "Undisclosed. EcoLogits (2026-09-24): MoE 1,340B total, 134-400B active, the same figures it gives claude-fable-5-1. A separate record, not an alias, because 5 and 5.1 are different weights. Point = geometric mean 230, as for claude-fable-5-1."
1287
+ provenance:
1288
+ generated: {by: 'agent:claude-opus-5-5', at: '2026-09-24'}
1289
+ verified: []
1290
+ status: draft
1291
+ stale_after: '2027-03-31'
1292
+ sources:
1293
+ - resource: https://raw.githubusercontent.com/genai-impact/ecologits/main/ecologits/data/models.json
1294
+ - resource: https://platform.claude.com/docs/en/models/fable-5/overview
1295
+ claude-opus-4-8:
1296
+ label: Claude Opus 4.8
1297
+ creator: Anthropic
1298
+ total_params_b: 670
1299
+ open_weights: false
1300
+ active_params_b:
1301
+ value: 110
1302
+ unit: B
1303
+ tier: 2
1304
+ min: 67
1305
+ max: 200
1306
+ source: https://raw.githubusercontent.com/genai-impact/ecologits/main/ecologits/data/models.json
1307
+ note: "Undisclosed. EcoLogits (2026-09-24): MoE 670B total, 67-200B active, the same figures it gives claude-opus-5. Point 110, as for claude-opus-5 (decode-throughput analysis of Opus 4.6 gives 93-105B active at FP8)."
1308
+ provenance:
1309
+ generated: {by: 'agent:claude-opus-5-5', at: '2026-09-24'}
1310
+ verified: []
1311
+ status: draft
1312
+ stale_after: '2027-03-31'
1313
+ sources:
1314
+ - resource: https://raw.githubusercontent.com/genai-impact/ecologits/main/ecologits/data/models.json
1315
+ - resource: https://unexcitedneurons.substack.com/p/estimating-the-size-of-claude-opus
1316
+ claude-opus-4-7:
1317
+ label: Claude Opus 4.7
1318
+ creator: Anthropic
1319
+ total_params_b: 670
1320
+ open_weights: false
1321
+ active_params_b:
1322
+ value: 110
1323
+ unit: B
1324
+ tier: 2
1325
+ min: 67
1326
+ max: 200
1327
+ source: https://raw.githubusercontent.com/genai-impact/ecologits/main/ecologits/data/models.json
1328
+ note: "Undisclosed. EcoLogits (2026-09-24): MoE 670B total, 67-200B active, the same figures it gives claude-opus-5. Point 110, as for claude-opus-5 (decode-throughput analysis of Opus 4.6 gives 93-105B active at FP8)."
1329
+ provenance:
1330
+ generated: {by: 'agent:claude-opus-5-5', at: '2026-09-24'}
1331
+ verified: []
1332
+ status: draft
1333
+ stale_after: '2027-03-31'
1334
+ sources:
1335
+ - resource: https://raw.githubusercontent.com/genai-impact/ecologits/main/ecologits/data/models.json
1336
+ - resource: https://unexcitedneurons.substack.com/p/estimating-the-size-of-claude-opus
1337
+ claude-opus-4-6:
1338
+ label: Claude Opus 4.6
1339
+ creator: Anthropic
1340
+ total_params_b: 670
1341
+ open_weights: false
1342
+ active_params_b:
1343
+ value: 110
1344
+ unit: B
1345
+ tier: 2
1346
+ min: 67
1347
+ max: 200
1348
+ source: https://raw.githubusercontent.com/genai-impact/ecologits/main/ecologits/data/models.json
1349
+ note: "Undisclosed. Two independent lines agree: EcoLogits (2026-09-24) MoE 670B total, 67-200B active; Vertex/Bedrock decode-throughput analysis of Opus 4.6 itself gives 93-105B active at FP8 (127-154B with FP4 experts). Point 110, as for claude-opus-5."
1350
+ provenance:
1351
+ generated: {by: 'agent:claude-opus-5-5', at: '2026-09-24'}
1352
+ verified: []
1353
+ status: draft
1354
+ stale_after: '2027-03-31'
1355
+ sources:
1356
+ - resource: https://raw.githubusercontent.com/genai-impact/ecologits/main/ecologits/data/models.json
1357
+ - resource: https://unexcitedneurons.substack.com/p/estimating-the-size-of-claude-opus
1358
+ claude-sonnet-4-6:
1359
+ label: Claude Sonnet 4.6
1360
+ creator: Anthropic
1361
+ total_params_b: 440
1362
+ open_weights: false
1363
+ active_params_b:
1364
+ value: 76
1365
+ unit: B
1366
+ tier: 2
1367
+ min: 44
1368
+ max: 132
1369
+ source: https://raw.githubusercontent.com/genai-impact/ecologits/main/ecologits/data/models.json
1370
+ note: "Undisclosed. EcoLogits (2026-09-24): MoE 440B total, 44-132B active (10-30% activation rule). Point = geometric mean 76."
1371
+ provenance:
1372
+ generated: {by: 'agent:claude-opus-5-5', at: '2026-09-24'}
1373
+ verified: []
1374
+ status: draft
1375
+ stale_after: '2027-03-31'
1376
+ sources:
1377
+ - resource: https://raw.githubusercontent.com/genai-impact/ecologits/main/ecologits/data/models.json
1159
1378
  gemini-3.8-flash:
1160
1379
  label: Gemini 3.8 Flash
1161
1380
  creator: Google
@@ -1236,6 +1455,30 @@ models:
1236
1455
  - resource: https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/gemini/3-5-flash
1237
1456
  - resource: https://artificialanalysis.ai/models/gemini-3-5-flash
1238
1457
  - resource: https://artificialanalysis.ai/models/gemini-3-flash
1458
+ gemini-3.5-flash-lite:
1459
+ label: Gemini 3.5 Flash-Lite
1460
+ creator: Google
1461
+ open_weights: false
1462
+ aliases:
1463
+ - google/gemini-3.5-flash-lite
1464
+ - gemini/gemini-3.5-flash-lite
1465
+ active_params_b:
1466
+ value: 56
1467
+ unit: B
1468
+ tier: 2
1469
+ min: 30
1470
+ max: 105
1471
+ source: https://raw.githubusercontent.com/genai-impact/ecologits/main/ecologits/data/models.json
1472
+ note: "Undisclosed. EcoLogits (2026-10-08) estimates a dense model with 30-105B parameters, flagged model-arch-not-released. Point is the rounded geometric mean (56.12B). A separate record from Gemini 3.1 Flash-Lite, even though EcoLogits assigns both the same range. Covers text-token inference only."
1473
+ provenance:
1474
+ generated: {by: 'agent:codex-research', at: '2026-10-08'}
1475
+ verified: []
1476
+ status: draft
1477
+ stale_after: '2027-04-08'
1478
+ sources:
1479
+ - resource: https://raw.githubusercontent.com/genai-impact/ecologits/main/ecologits/data/models.json
1480
+ - resource: https://ai.google.dev/gemini-api/docs/models/gemini-3.5-flash-lite
1481
+ - resource: https://ai.google.dev/gemini-api/docs/changelog
1239
1482
  gemini-3.1-flash-lite:
1240
1483
  label: Gemini 3.1 Flash Lite
1241
1484
  creator: Google
@@ -1317,6 +1560,26 @@ models:
1317
1560
  stale_after: '2027-03-31'
1318
1561
  sources:
1319
1562
  - resource: https://artificialanalysis.ai/models/muse-spark-1-3
1563
+ muse-spark-1.2:
1564
+ label: Muse Spark 1.2
1565
+ creator: Meta AI
1566
+ open_weights: false
1567
+ active_params_b:
1568
+ value: 160
1569
+ unit: B
1570
+ tier: 3
1571
+ source: https://artificialanalysis.ai/models/muse-spark-1-2
1572
+ note: "Undisclosed ('Meta has not disclosed the model size'). Deprecated predecessor of muse-spark-1.3 (released 2026-08-05 vs 2026-09-02). Proxy muse-spark-1.3 90-300 active: Artificial Analysis lists the same price ($1.25/$4.25 per 1M tokens) and similar output speed (200.8 vs 222.3 tok/s)."
1573
+ min: 90
1574
+ max: 300
1575
+ provenance:
1576
+ generated: {by: 'agent:claude-opus-5-5', at: '2026-09-24'}
1577
+ verified: []
1578
+ status: draft
1579
+ stale_after: '2027-03-31'
1580
+ sources:
1581
+ - resource: https://artificialanalysis.ai/models/muse-spark-1-2
1582
+ - resource: https://artificialanalysis.ai/models/muse-spark-1-3
1320
1583
  dhenu-3-beta-preview:
1321
1584
  label: Dhenu 3 (beta)
1322
1585
  creator: KissanAI
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "ecocost"
3
- version = "0.2.0"
3
+ version = "0.2.2"
4
4
  description = "Per-run carbon, energy and water estimates for AI inference, with computed confidence and sourced inputs"
5
5
  authors = ["Gooey.AI <devs@dara.network>"]
6
6
  license = "Apache-2.0"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes