Remix.run Logo
bilekas 3 days ago

This is pretty cool.. I like the idea, could I make a semi-snarky feature request and could we add the estimated power consumed to produce results for each session ?

TypingOutBugs 3 days ago | parent | next [-]

Soon we will have low carbon developers

ozim 3 days ago | parent | next [-]

Let's start with npm and node_modules first - I think it is responsible for at least half of the global warming.

btbuildem 3 days ago | parent | prev [-]

We all were low carbon developers once

cdurth 3 days ago | parent [-]

Maybe the few that were WFH prior to AI. I just calculated my carbon output for commuting and going to lunch daily versus WFH and using AI and it's wayyy less. Let's all save earth, stay home and use AI.

tln 3 days ago | parent | prev | next [-]

Or just straight to CO2. Google said 1000 tokens emits 8.3g CO2.

How many tokens used in a heavy vibe coding day?

Average US daily per capita is like 40kg CO2

KMnO4 3 days ago | parent | next [-]

I don’t understand the concern of this. Let’s say it says you’ve used 1.521kg of CO2 today. How is that actionable?

A single flight from JFK to LAX produces around 20,000kg of CO2. Using the 8.3g value means a flight is equivalent to 2.41 billion tokens.

taosx 3 days ago | parent | next [-]

I really dislike when people don't see this. They try to cut 10 grams of CO2 per day while other industries (shipping, aviation, rails) produce hundreds of tons per day and even this transportation modes are less that 20% with most CO2 produced mainly being in energy production and used by industry.

SV_BubbleTime 3 days ago | parent | next [-]

I think it’s because this line of rationality, leads to people to realize how ridiculous some of the conservation efforts are.

Plastic bags, paper straws (wrapped in plastic), most realities of recycling, vehicle selections, etc.

Leads to a lot of unpopular things.

cmrdporcupine 3 days ago | parent | next [-]

Plastic bags and papers straws is not about CO2 emissions and I wish people would stop repeating this like it's some "gotcha", it's about landfill and natural area pollution and damage to wildlife and natural areas, and that's how it's always been talked about by policy people who have advocated on this stuff.

Have you walked a beach in the last decade?

taosx 12 hours ago | parent [-]

This makes sense and I'm with you, people that are polluting beaches and natural areas should face harder punishments. That being said I'm missing plastic straws for drinking cold coffee.

cmrdporcupine 6 hours ago | parent [-]

Nothing stopping you from carrying your own reusable straw around with you.

Finally, most of the (local, not even thinking about the developing world) pollution is not deliberate. It blows in from other places, usually. I live rural and I'm continually picking up plastic garbage from my ditch or back forest or fields that blows in from the nearby highway and roads, especially after garbage pickup day.

Production needs to be severely curtailed.

curious_cat_163 3 days ago | parent | prev [-]

Rituals define a school of thought (or a religion). These are rituals of folks who want to prevent catastrophe through conservation. To each their own.

Ultimately, individual habits do add up. But with climate, one would be hard pressed to find evidence that conservation is the path forward. It does not work, unfortunately.

tln 3 days ago | parent | prev [-]

Sure, but that's all accounted for in per capita numbers.

bilekas 3 days ago | parent | prev | next [-]

It doesn't necessarily need to be actionable for now but at the moment there is an exponential growth in the datacenter power usages.

For now, sure it might be ridiculously minor, but when it starts to ramp up who's to say it wont be just a ridiculous amount of energy ? Maybe not even measure the CO2, but I would love to graph the increase of energy spent over time.

tln 3 days ago | parent | prev | next [-]

Per capita that is what, 500kg?

So on that day you are 10x'ing the US person day

notarobot123 3 days ago | parent | prev [-]

if you take the long view, flying is irrational too

Maciej-roboblog 3 days ago | parent [-]

If you have some time, feel free to open a pull request — even just with a description or clarification of what's going on! It all sounds super interesting, but I’m still trying to fully grasp the business logic behind it Once I get the idea, I’ll be happy to jump in and implement it.

Repo is here if you're curious: https://github.com/Maciek-roboblog/Claude-Code-Usage-Monitor...

mdemare 3 days ago | parent [-]

Claude, "Find the hacker news discussion about github repo github.com/maciek-roboblog and implement the suggestion by bilekas. Patch format."

It produced a patch. Unfortunately it was for removing the emojis from the readme.

tln 3 days ago | parent | prev | next [-]

I just hit my usage limit this morning, and the article shows how to get these numbers so I can answer this myself -- I'd be curious to see what other people are doing token wise day-to-day

ccusage says I had 1k input tokens, 12k output and 1.2m cache create.

I'm not sure if that is 18.3g, 138.3g or 1213 * 8.3g.

At the highest number that's 10kg or 25% of average US daily per capita emission or 1 gallon of gas.

gpm 3 days ago | parent | prev | next [-]

By any chance do you remember the source for that? Googling "1000 tokens emits 8.3g CO2" only gets me this thread.

tln 3 days ago | parent [-]

The search was "ai tokens per tonne co2" and the "1000 tokens emits 8.3g CO2" bit was my paraphrasing from the AI overview.

This article [0] mentions "8.3g CO2" but it's linked source [1] uses a different number - 4.32g. Perhaps revised after publication.

I ran the search again and got different numbers... I'm sure the real numbers will be changing quite a bit over time too.

[0] https://ditchcarbon.com/blog/llm-carbon-emissions

[1] https://smartly.ai/blog/the-carbon-footprint-of-chatgpt-how-...

gpm 3 days ago | parent [-]

Oh, I thought you meant "Google, the company, published this number" (which I would have been very interested to read), not "Google, the search engine/sketchy llm, returned this result".

Fair enough.

pinoy420 3 days ago | parent | prev [-]

[dead]

Maciej-roboblog 3 days ago | parent | prev [-]

Greta would be proud, but I’m not sure how the number of tokens relates to energy consumption.

actsasbuffoon 3 days ago | parent [-]

Soon the AI companies will have different tiers of plan based on carbon output.

For $200 per month they’ll only use carbon-free power sources for your prompts. At $100 they’ll use nuclear, then $20 per month for coal, and then there will be a free tier where your prompts are powered by throwing baby seals into a furnace.

Lerc 3 days ago | parent | next [-]

This may be pedantic, but I'm guessing baby seals are a renewable resource.

bilekas 3 days ago | parent [-]

It would be on the same level as saying burning wood for power plants would be considered renewable. Is it "Green" now.. Two different things.

Maciej-roboblog 3 days ago | parent | prev [-]

<3