Skip to content
/ pef Public

kusuta012/pef

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Mar 4, 2026
b65465b · · Mar 4, 2026

History

2 Commits
Mar 4, 2026
Mar 4, 2026
Mar 4, 2026
Mar 4, 2026
Mar 4, 2026

Repository files navigation

What did your prompt cost?

This project is a web tool that estimates the hidden cost of an AI prompt. Users can enter a prompt and see an approximate breakdown of tokens processed, energy consumed, electricity cost, cooling water usage, and CO₂ emissions. The calculator uses tokenization and transparent formulas to show how large language model inference translates into real-world resource consumption.

Why did I make this?

Because of tom in #flavortown , he posted a ai slop garbage and I started wondering how much energy was used to generate that :D

How to use it?

Very simple , choose your model , add your prompt and response and generate !!