llms.txt
Compare with other sites' llms.txt files →# LLM Footprint
> A browser-based calculator for estimating electricity use and carbon emissions from large language model (LLM) inference. Educational and provisional; not a carbon audit.
## Pages
- [Calculator](https://llmfootprint.fyi/): Enter input tokens (including cached reads), output tokens, cache hit rate, and an inference class, or load an example.
- [Methodology](https://llmfootprint.fyi/#methodology): Energy coefficients, grid scenarios, assumptions, and source links.
## Interpretation
- Input tokens include fresh input and cached reads. Cached reads are a subset of input, not additional tokens. For usage reports that separate fresh input, cache writes, and cache reads, sum all three for total input. Cache writes are modeled as fresh input, without a distinct write-energy coefficient.
- The estimator calculates joules from fresh input, cached input, and output token counts multiplied by provisional per-token coefficients and a serving-profile multiplier. It converts joules to kWh using 3,600,000 J/kWh.
- Carbon emissions in kg CO2e equal kWh multiplied by the selected grid intensity in g CO2e/kWh, divided by 1,000. Grid presets use EPA eGRID2023 revision 2 total-output rates: U.S. 349.67, California 179.06, and West Virginia 893.06 g CO2e/kWh. These are generation averages, not consumption-based or marginal factors; electricity imports, transmission losses, and upstream fuel emissions are not added.
- Flash, Frontier, and SOTA are illustrative energy classes. They are not measurements of a user's actual provider or model. The phase-energy ratios and absolute coefficients are assumptions, not verified per-request telemetry.
- The serving-profile range is a scenario band, not a statistical confidence interval or guaranteed error bound. Changing grid intensity changes emissions, not electricity use.
- The calculator estimates inference electricity and associated emissions. It does not calculate model training, embodied hardware emissions, water use, or a complete lifecycle footprint.
- Comparisons use different boundaries. Read each comparison's explanation before interpreting it. Tree comparisons describe modeled CO2 uptake over a stated time, not purchased, verified, or guaranteed permanent offsets. Energy-only comparisons do not depend on grid intensity.
- This page uses a rounded estimate of development usage: 30M input and 150K output tokens, with assumed 90% cache reuse and SOTA coefficients. This is not recorded token usage or a measured footprint.
- Chat and agent assistant examples are illustrative. Major project and Agent team project use reported token totals from the projects below; their energy estimates still use this calculator's assumed coefficients and serving conditions. They are exceptional projects, not representative averages.
- Inputs and calculations stay in the browser: this application does not send token counts to a server and contains no analytics or cookies. Hosting request logs and external source links are outside that application behavior.
## Reported project usage
- [Anthropic's C compiler project](https://www.anthropic.com/engineering/building-c-compiler): Reported 2B input and 140M output tokens. The Major project preset uses the SOTA class and assumes 75% cache reuse; it is not a measured cache rate. SOTA energy coefficients remain modeling assumptions. Session count is not API request count.
- [Bun's Zig-to-Rust rewrite](https://bun.com/blog/bun-in-rust): Reported pre-merge 5.9B uncached input, 72B cached input, and 690M output tokens. The Agent team project preset uses 77.9B total input and rounds the approximately 92.4% cache share to 92% for the whole-percent control. It uses the SOTA class with assumed energy coefficients, not measured model energy.
- [Claude Code usage documentation](https://code.claude.com/docs/en/costs): Explains usage reporting and separate cache accounting.
## Other references
- [EPA eGRID](https://www.epa.gov/egrid/summary-data): Reference for grid-emissions scenarios.
- [EPA equivalencies](https://www.epa.gov/energy/greenhouse-gas-equivalencies-calculator-calculations-and-references): Reference for selected comparisons; not a validation of this calculator's full methodology.
This file is a descriptive overview, not an API, a license grant, or a crawler-access policy. It does not establish independent validation of the estimator or its cited factors.