Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rakam_frugal_ai-2026.6.15.1.tar.gz (10.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rakam_frugal_ai-2026.6.15.1-py3-none-any.whl (12.5 kB view details)

Uploaded Python 3

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

Hashes for rakam_frugal_ai-2026.6.15.1.tar.gz
Algorithm Hash digest
SHA256 0fbbfe546ceee7fcd4eaf37806ffbb9759755ff502c543c521bf4681021bb547
MD5 51da3f3091d153f91dd354df7e5f7aac
BLAKE2b-256 f3a1737b5c2c720109c7f3dd584782e05efb55760bf3ec6436f7f21b61d38ec2

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file rakam_frugal_ai-2026.6.15.1-py3-none-any.whl.

File metadata

File hashes

Hashes for rakam_frugal_ai-2026.6.15.1-py3-none-any.whl
Algorithm Hash digest
SHA256 da689c3c10ae385d77a573d51f7269a455f928babe529ad6aeffb4e749f19045
MD5 5c3834dccf99f987f5f369b44c350e8a
BLAKE2b-256 75ac6f7191dc1db9e42dbe47020a58607494d42e9685104c09e6a1a7a7771f1d

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page