Carbon intensity data registry for LLM and embedding models with live Electricity Maps updates
Project description
rakam-frugal-ai
Carbon intensity data registry for LLM and embedding models. Ships a precomputed, weighted-by-region probability table for popular models (GPT-4o, GPT-4o-mini, Claude, embedding models, …). Carbon intensity values are refreshed weekly from Electricity Maps — no API key required.
Install
pip install rakam-frugal-ai
Usage
import rakam_frugal_ai as ci
m = ci.model("gpt-4o")
m.CI # CarbonIntensityValue(262.010 gCO2eq/kWh)
float(m.CI) # 262.01 — raw gCO2eq/kWh
m.size # SizeValue(200.00B params)
float(m.size) # 200.0 — raw billion params
m.provider # 'openai'
m.type # <ModelType.LLM: 'llm'>
Python support
Python 3.10, 3.11, 3.12.
License
MIT — see LICENSE.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rakam_frugal_ai-2026.6.15.1.tar.gz.
File metadata
- Download URL: rakam_frugal_ai-2026.6.15.1.tar.gz
- Upload date:
- Size: 10.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0fbbfe546ceee7fcd4eaf37806ffbb9759755ff502c543c521bf4681021bb547
|
|
| MD5 |
51da3f3091d153f91dd354df7e5f7aac
|
|
| BLAKE2b-256 |
f3a1737b5c2c720109c7f3dd584782e05efb55760bf3ec6436f7f21b61d38ec2
|
Provenance
The following attestation bundles were made for rakam_frugal_ai-2026.6.15.1.tar.gz:
Publisher:
weekly-data-refresh.yml on Rakam-AI/rakam-frugal-ai
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
rakam_frugal_ai-2026.6.15.1.tar.gz -
Subject digest:
0fbbfe546ceee7fcd4eaf37806ffbb9759755ff502c543c521bf4681021bb547 - Sigstore transparency entry: 1823389005
- Sigstore integration time:
-
Permalink:
Rakam-AI/rakam-frugal-ai@5f74ba2547f6c9df1136ede75e975fe24af656a6 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/Rakam-AI
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
weekly-data-refresh.yml@5f74ba2547f6c9df1136ede75e975fe24af656a6 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file rakam_frugal_ai-2026.6.15.1-py3-none-any.whl.
File metadata
- Download URL: rakam_frugal_ai-2026.6.15.1-py3-none-any.whl
- Upload date:
- Size: 12.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
da689c3c10ae385d77a573d51f7269a455f928babe529ad6aeffb4e749f19045
|
|
| MD5 |
5c3834dccf99f987f5f369b44c350e8a
|
|
| BLAKE2b-256 |
75ac6f7191dc1db9e42dbe47020a58607494d42e9685104c09e6a1a7a7771f1d
|
Provenance
The following attestation bundles were made for rakam_frugal_ai-2026.6.15.1-py3-none-any.whl:
Publisher:
weekly-data-refresh.yml on Rakam-AI/rakam-frugal-ai
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
rakam_frugal_ai-2026.6.15.1-py3-none-any.whl -
Subject digest:
da689c3c10ae385d77a573d51f7269a455f928babe529ad6aeffb4e749f19045 - Sigstore transparency entry: 1823389040
- Sigstore integration time:
-
Permalink:
Rakam-AI/rakam-frugal-ai@5f74ba2547f6c9df1136ede75e975fe24af656a6 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/Rakam-AI
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
weekly-data-refresh.yml@5f74ba2547f6c9df1136ede75e975fe24af656a6 -
Trigger Event:
workflow_dispatch
-
Statement type: