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.

0.0586 mLcooling6,948tokens−338saved850weighted732 mWhservers834 mWhwith PUE349 mgCO₂e1.58 mLpower plantsoff349 mgtotal
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.

  1. Weighted tokens[11,20]
    T = output + r_input × (input + r_cached × cached input)
    T = 410 + 0.119 × (3,385 + 0.1 × 3,153)= 850 output-token equivalents
  2. Server energy[7]
    E_IT = T / 1000 × e_out
    E_IT = 850 / 1000 × 0.861 Wh= 732 mWh
  3. Datacenter energy (PUE)[54]
    E = E_IT × PUE
    E = 732 mWh × 1.14= 834 mWh
  4. CO₂e from electricity[60]
    g_op = E / 1000 × grid intensity
    g_op = 834 mWh / 1000 × 418 g/kWh= 349 mg
  5. Hardware manufacturing (embodied)
    g_emb = E / 1000 × k_embodied
    Switched off
  6. CO₂e per conversation
    g = g_op + g_emb
    g = 349 mg + 0 g= 349 mg
  7. API price per conversation[20]
    USD = (input × p_in + cached × p_cached + output × p_out) / 1M + searches × fee
    USD = (3,385 × 4 + 3,153 × 0.2 + 410 × 20) / 1M + 0 × 0.01= $0.0224
  8. Power-plant water per kWh[221,222,228]
    EWIF = Σ share × water per kWh of each source
    EWIF (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/kWh
  9. Water[54,221,222,228]
    L = E_IT / 1000 × WUE + E / 1000 × EWIF
    L = 732 mWh / 1000 × 0.08 + 834 mWh / 1000 × 1.89= 1.64 mL
  10. Scaled up
    total = g × people × times
    total = 349 mg × 1 × 1= 349 mg
  11. Electricity compared with one phone charge[159]
    share = E × people × times / Wh_ref
    share = 834 mWh × 1 × 1 / 18 Wh= 4.65% of a phone charge
  12. CO₂e compared with one phone charge, charged in Amsterdam[60,159]
    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
  13. 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)
  14. 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)
  15. CO₂e compared with one 100 g portion of beef[218]
    share = total g / g CO₂e of one portion
    share = 349 mg / 9.95 kg= 0.00351% of a 100 g portion of beef
  16. Water compared with one shower[143]
    share = L × people × times / L_ref
    share = 1.64 mL × 1 × 1 / 56.9 L= 0.00288% of a shower
  17. Medium petrol car: CO₂e per km[73]
    g/km from the data points
    g/km = 224= 224 g/km
  18. Sharing the car: CO₂e per person
    g per person-km = g/km / people in the car
    One person in the car: you drive alone
  19. Same CO₂e as driving (whole car)
    distance = total g / (g/km)
    distance = 349 mg / 224 g/km= 1.56 m
  20. Same electricity as driving
    distance = total Wh / (kWh per 100 km × 10)
    Only for electric vehicles
  21. Route Amsterdam → Paris[93]
    d = great-circle distance × detour factor
    d = 431 km × 1.25= 538 km
  22. Trips
    trips = distance / d
    trips = 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.