The pipeline
Follow the energy of Short question from the task to the comparison, the same scenario the demo plays. Line width shows the amount (log scale); click any stage to see its formula and change it.
TokensEnergyCO₂eWaterOptional, switched offChanged from the default
Click a stage to open its settings. Keyboard: Tab between stages, Enter to open, Esc to close.
Full calculation
Every step with your current settings filled in. This is the exact code path the demo uses.
Tokens over the whole scenario: 3,385 fresh input, 3,153 cached input, 410 output.
T = output + r_input × (input + r_cached × cached input)T = 410 + 0.119 × (3,385 + 0.1 × 3,153)= 850 output-token equivalents- Server energy[7]
E_IT = T / 1000 × e_outE_IT = 850 / 1000 × 0.861 Wh= 732 mWh - Datacenter energy (PUE)[54]
E = E_IT × PUEE = 732 mWh × 1.14= 834 mWh - CO₂e from electricity[60]
g_op = E / 1000 × grid intensityg_op = 834 mWh / 1000 × 418 g/kWh= 349 mg - Hardware manufacturing (embodied)
g_emb = E / 1000 × k_embodiedSwitched off - CO₂e per conversation
g = g_op + g_embg = 349 mg + 0 g= 349 mg - API price per conversation[20]
USD = (input × p_in + cached × p_cached + output × p_out) / 1M + searches × feeUSD = (3,385 × 4 + 3,153 × 0.2 + 410 × 20) / 1M + 0 × 0.01= $0.0224 EWIF = Σ share × water per kWh of each sourceEWIF (USA (PJM Interconnection: Virginia, Ohio, ...)) = 42% Gas (combined cycle) × 0.776 + 31% Nuclear × 2.54 + 17% Coal × 2.6 + 3.7% Wind (onshore) × 0 + 2.8% Solar (PV) × 0.0038 + 1.8% Hydro (reservoir) × 17 + … = 1.89 L/kWh= 1.89 L/kWhL = E_IT / 1000 × WUE + E / 1000 × EWIFL = 732 mWh / 1000 × 0.08 + 834 mWh / 1000 × 1.89= 1.64 mL- Scaled up
total = g × people × timestotal = 349 mg × 1 × 1= 349 mg - Electricity compared with one phone charge[159]
share = E × people × times / Wh_refshare = 834 mWh × 1 × 1 / 18 Wh= 4.65% of a phone charge share = total g / (Wh_ref / 1000 × grid intensity where it charges)share = 349 mg / (18 / 1000 × 253 g/kWh)= 7.68% of a phone charge- Energy compared with a year of the global livestock industry[204]
share = E × people × times / (TWh_ref × 10¹²)share = 834 mWh × 1 × 1 / 5,600 TWh= 0.0047 µs of the global livestock industry's year (1 in 6,711 trillion) - CO₂e compared with a year of the global livestock industry[203]
share = total g / (MtCO₂e_ref × 10¹²)share = 349 mg / 6,200 MtCO₂e= 0.0018 µs of the global livestock industry's year (1 in 17,775 trillion) - CO₂e compared with one 100 g portion of beef[218]
share = total g / g CO₂e of one portionshare = 349 mg / 9.95 kg= 0.00351% of a 100 g portion of beef - Water compared with one shower[143]
share = L × people × times / L_refshare = 1.64 mL × 1 × 1 / 56.9 L= 0.00288% of a shower - Medium petrol car: CO₂e per km[73]
g/km from the data pointsg/km = 224= 224 g/km - Sharing the car: CO₂e per person
g per person-km = g/km / people in the carOne person in the car: you drive alone - Same CO₂e as driving (whole car)
distance = total g / (g/km)distance = 349 mg / 224 g/km= 1.56 m - Same electricity as driving
distance = total Wh / (kWh per 100 km × 10)Only for electric vehicles - Route Amsterdam → Paris[93]
d = great-circle distance × detour factord = 431 km × 1.25= 538 km - Trips
trips = distance / dtrips = 1.56 m / 538 km= 0.0000029 trips
Data checked on 2 October 2026. Prices and models change fast; every value links to its source.