Code Assistant

Claude Code Environmental Impact

StandardEstimated

Anthropic's agentic coding tool for the terminal and IDEs

Architecture
Claude Sonnet/Opus (agentic coding)
Context
200,000 tokens
Provider
Anthropic
2.0 Wh
Energy per query
0.70 g
CO₂ per query
4 mL
Water per query
7x more than
vs Google search

Energy per query

2.0 Wh

7x more than a Google search (0.3 Wh)

CO2 per query

0.70 g

US East (Virginia) grid (450 gCO₂/kWh)

Water per query

4 mL

~270 queries to fill 1 litre

Processing location

AWS / GCP

Provider

Anthropic

Category

Code Assistant

Grid carbon intensity

450 g CO2/kWh (25% renewable)

How does Claude Code compare?

Ranked #87 of 152 models by energy per query

0 Wh0.5 Wh1 Wh1.5 Wh2 WhCodestralCursorGitHub CopilotClaude CodeGoogle search (0.3 Wh)

Detailed Breakdown

Energy Consumption

Claude Code is an agentic coding tool that uses Claude models (primarily Sonnet 4) to read, understand, and edit codebases. A single turn may involve multiple model calls as the agent reads files, plans changes, and writes code. At ~2.0 Wh per agentic turn, it's more energy-intensive than simple autocomplete but performs substantially more complex tasks.

Power Source & Carbon

Runs on Anthropic's inference infrastructure across AWS and Google Cloud.

Water Usage

At ~3.7 mL per agentic turn. Extended coding sessions with many turns can consume significant water in aggregate.

About Claude Code

Claude Code is a code assistant model from Anthropic, released in February 24, 2025. Anthropic's agentic coding tool for the terminal and IDEs. Each query uses 2.0 Wh of energy and produces 0.70 g of CO₂. That's 7x the energy of a Google search — reflecting the computational demands of code assistant.

These figures are estimates derived from hardware specifications and API benchmarks — Anthropic has not published official energy data for Claude Code. Actual consumption may vary significantly depending on batching, quantisation, and infrastructure optimisations that we cannot observe from outside.

Claude Code in Context

18.3 kWh
per year

Your yearly Claude Code footprint

At 25 queries per day, your annual Claude Code usage consumes 18.3 kWh — roughly what a fridge uses in a month. That produces 6.4 kg of CO₂.

What does your Claude Code usage cost the planet?

Use our calculator to estimate your personal environmental footprint based on how often you use Claude Code.

Calculate My Compute

Frequently Asked Questions

How much energy does Claude Code use per query?

Each Claude Code query consumes approximately 2.0 Wh of energy. This is 7x more than a traditional Google search (~0.3 Wh).

What is Claude Code's carbon footprint?

Based on the carbon intensity of AWS / GCP, each query produces approximately 0.70 g of CO2. The grid in this region has a carbon intensity of 450 g CO2/kWh with 25% renewable energy.

How much water does Claude Code use?

Each query consumes approximately 4 mL of water, primarily used for cooling the data centers that process the request.

How does Claude Code compare to a Google search?

A Claude Code query uses 7x more than a Google search in terms of energy. A Google search uses approximately 0.3 Wh, while Claude Code uses 2.0 Wh.

Technical Details

Architecture

Claude Sonnet/Opus (agentic coding)

Context window

200,000 tokens

Release date

2025-02-24

Open source

No