SlideShare a Scribd company logo
1 of 10
Download to read offline
qaware.de
CO2 Footprint of ChatGPT
Andreas Weber
andreas.weber@qaware.de
2
QAware
3
QAware
CO2 Footprint of ChatGPT
■ GPT-3 [1]
– 175 billion (10^9) parameters
– Training:
• 10 000 * V100 GPU (TDP 300W)
• 14.8 days training
• 1287 MWh
• 550t CO2e (0,429 kg CO2e/kWh)
– Inference [2] (Data for BLOOM, 176 B params)
• 16 * A100 GPU (TDP 400W)
• 18 days, 230,768 requests
• 914 kWh total, 3,96Wh/Request
• 1,56g CO2e / Request (0,394 kg CO2e/kWh)
• Note: Idle times!
4
QAware
[1] https://doi.org/10.48550/arXiv.2104.10350
[2] https://doi.org/10.48550/arXiv.2211.02001
[3] https://medium.com/@chrispointon/the-carbon-footprint-of-chatgpt-e1bc14e4cc2a
– Inference (Estimations from [3])
• 1 * A100 GPU (407W)
• 1 Request = 10,5s (0,35s / word * 30 words)
• 0,38g CO2e/ Request (0,322 kg CO2e/kWh)
• 13 million users per day with 5 requests each
• 24,8t CO2e / day
• Note: Is a single A100 GPU (80GB RAM)
capable of 175 billion parameters?
❭ 4 bit quantization -> 81,5 GB
CO2 Footprint of ChatGPT
5
QAware
[4] https://archive.ph/2RQ8X
■ GPT-4 [4]
– 1.8 trillion (10^12) parameters
– Training
• 25 000 * A100 GPUs (TDP 400W)
• 100 initial days training (after tests) (cost: ~$63 million)
• 24 000 MWh
• 7 728t CO2e (0,322 kg CO2e/kWh)
– Inference
• 8-16 * A100 GPU
• ~10s-15s / request -> 8,89 Wh/ request
• 2,86g CO2e / Request (0,322 kg CO2e/kWh)
CO2 Footprint of a Google Search
■ Google Search incl. indexing effort
– 0.3 Wh / Search [5.1]
– 0.2g CO2e / Search [3] (-> 0,67 kg CO2e/kWh) [5.1]
– 0.1g CO2e / Search (0,322 kg CO2e/kWh)
6
QAware
[5.1] https://googleblog.blogspot.com/2009/01/powering-google-search.htm
[5.2] https://greenspector.com/en/search-engines/
■ Comparison of different search engines & use cases [5.2]
– methodology: measure energy consumption + network
input/output → estimate emissions via OneByte Model
– use cases: app vs. browser, weather, definition, local
search / interactive map
Footprint Comparison
7
QAware
[6] https://co2.myclimate.org/
[7] https://de.statista.com/statistik/daten/studie/167877/umfrage/co-emissionen-nach-laendern-je-einwohner/
[8] https://de.statista.com/statistik/daten/studie/399048/umfrage/entwicklung-der-co2-emissionen-von-neuwagen-deutschland/
Training
■ GPT-3: ~ 100 Flights MUC <-> Sydney
■ GPT-4: ~1000 Germans living 1 year
Usage
■ GPT-3: ~ 4 Google Searches
■ GPT-4: ~ 29 Google Searches
What’s missing in the analysis
■ Non-GPU emissions like networking, RAM and SSDs
■ Power Usage Effectiveness (PUE) of datacenter
■ The embodied carbon of a datacenter
■ Emissions from network transfer
■ Emissions from end-user equipment
8
QAware
We need more transparency!
Green Software Development Manifesto: https://www.greenmanifesto.de/en/
9
QAware
Helpful Transparency Tools
■ Infrastructure at Cloud-Provider-Level
– Emission Dashboards from AWS, Azure, Google
■ Cluster-Level Energy consumption
– Kepler: https://github.com/sustainable-computing-io/kepler
■ Estimate Emissions for ML Usecases
– ML CO2 Impact: https://mlco2.github.io/impact/
• based on GPU hardware, usage hours, infrastructure provider, location
■ Estimate CO2 Emissions for Network Transfer, Device Usage, Embodied Carbon
– CO2.js: https://developers.thegreenwebfoundation.org/co2js/overview/
■ Emission Factors
– Climatiq data explorer & api: https://www.climatiq.io/data
• emission factors for various sectors
– Carbon aware sdk: https://github.com/Green-Software-Foundation/carbon-aware-sdk
• grid intensity data & forecasts
10
QAware

More Related Content

What's hot

Guide for a Data Scientist
Guide for a Data ScientistGuide for a Data Scientist
Guide for a Data Scientist
Rohit Dubey
 

What's hot (11)

Carlos Kidman - Exploring AI Applications in Testing.pptx
Carlos Kidman - Exploring AI Applications in Testing.pptxCarlos Kidman - Exploring AI Applications in Testing.pptx
Carlos Kidman - Exploring AI Applications in Testing.pptx
 
Seldon: Deploying Models at Scale
Seldon: Deploying Models at ScaleSeldon: Deploying Models at Scale
Seldon: Deploying Models at Scale
 
ChatGPT_Prompts.pptx
ChatGPT_Prompts.pptxChatGPT_Prompts.pptx
ChatGPT_Prompts.pptx
 
Unleashing the Power of OpenAI GPT-3 in FME Data Integration Workflows
Unleashing the Power of OpenAI GPT-3 in FME Data Integration WorkflowsUnleashing the Power of OpenAI GPT-3 in FME Data Integration Workflows
Unleashing the Power of OpenAI GPT-3 in FME Data Integration Workflows
 
Fine tuning large LMs
Fine tuning large LMsFine tuning large LMs
Fine tuning large LMs
 
AI and ML Series - Introduction to Generative AI and LLMs - Session 1
AI and ML Series - Introduction to Generative AI and LLMs - Session 1AI and ML Series - Introduction to Generative AI and LLMs - Session 1
AI and ML Series - Introduction to Generative AI and LLMs - Session 1
 
Test AI/ML Applications
Test AI/ML ApplicationsTest AI/ML Applications
Test AI/ML Applications
 
Foundation Models in Recommender Systems
Foundation Models in Recommender SystemsFoundation Models in Recommender Systems
Foundation Models in Recommender Systems
 
OpenAI’s GPT 3 Language Model - guest Steve Omohundro
OpenAI’s GPT 3 Language Model - guest Steve OmohundroOpenAI’s GPT 3 Language Model - guest Steve Omohundro
OpenAI’s GPT 3 Language Model - guest Steve Omohundro
 
Guide for a Data Scientist
Guide for a Data ScientistGuide for a Data Scientist
Guide for a Data Scientist
 
Microsoft + OpenAI: Recent Updates (Machine Learning 15minutes! Broadcast #74)
Microsoft + OpenAI: Recent Updates (Machine Learning 15minutes! Broadcast #74)Microsoft + OpenAI: Recent Updates (Machine Learning 15minutes! Broadcast #74)
Microsoft + OpenAI: Recent Updates (Machine Learning 15minutes! Broadcast #74)
 

Similar to CO2 Footprint of ChatGPT

Cutting Costs for Energy Producers by 1 Cent per Kilowatt Hour
Cutting Costs for Energy Producers by 1 Cent per Kilowatt HourCutting Costs for Energy Producers by 1 Cent per Kilowatt Hour
Cutting Costs for Energy Producers by 1 Cent per Kilowatt Hour
Sentient Science
 
SAGE Enterprises Fuel Cell Challenge V Presentation
SAGE Enterprises Fuel Cell Challenge V PresentationSAGE Enterprises Fuel Cell Challenge V Presentation
SAGE Enterprises Fuel Cell Challenge V Presentation
EngenuitySC
 
Combustion Turbine Efficiency Impact
Combustion Turbine Efficiency ImpactCombustion Turbine Efficiency Impact
Combustion Turbine Efficiency Impact
Katherine Corcoran
 
Performance Presentation - NREL March 2010
Performance Presentation - NREL March 2010Performance Presentation - NREL March 2010
Performance Presentation - NREL March 2010
Jacob McKee
 
Waste to Energy Project in Ghana: Landfill Gas or Incineration
Waste to Energy Project in Ghana: Landfill Gas or IncinerationWaste to Energy Project in Ghana: Landfill Gas or Incineration
Waste to Energy Project in Ghana: Landfill Gas or Incineration
Syawalianto Rahmaputro
 

Similar to CO2 Footprint of ChatGPT (20)

IRJET- Diesel Particulate Filter by using Copper Oxide as a Filter Medium
IRJET- Diesel Particulate Filter by using Copper Oxide as a Filter MediumIRJET- Diesel Particulate Filter by using Copper Oxide as a Filter Medium
IRJET- Diesel Particulate Filter by using Copper Oxide as a Filter Medium
 
Environmental Sustainability - Green IT
Environmental Sustainability - Green ITEnvironmental Sustainability - Green IT
Environmental Sustainability - Green IT
 
SaltConf14 - Eric johnson, Google - Orchestrating Google Compute Engine with ...
SaltConf14 - Eric johnson, Google - Orchestrating Google Compute Engine with ...SaltConf14 - Eric johnson, Google - Orchestrating Google Compute Engine with ...
SaltConf14 - Eric johnson, Google - Orchestrating Google Compute Engine with ...
 
Cutting Costs for Energy Producers by 1 Cent per Kilowatt Hour
Cutting Costs for Energy Producers by 1 Cent per Kilowatt HourCutting Costs for Energy Producers by 1 Cent per Kilowatt Hour
Cutting Costs for Energy Producers by 1 Cent per Kilowatt Hour
 
LNG Facility GHG Mitigation Options - Government of Nova Scotia
LNG Facility GHG Mitigation Options - Government of Nova ScotiaLNG Facility GHG Mitigation Options - Government of Nova Scotia
LNG Facility GHG Mitigation Options - Government of Nova Scotia
 
SUNSHINE short overview of the project and its objectives
SUNSHINE short overview of the project and its objectives SUNSHINE short overview of the project and its objectives
SUNSHINE short overview of the project and its objectives
 
Development of a concept for the modular design and sizing of a pv ice making...
Development of a concept for the modular design and sizing of a pv ice making...Development of a concept for the modular design and sizing of a pv ice making...
Development of a concept for the modular design and sizing of a pv ice making...
 
Peak shaving of an EV Aggregator Using Quadratic Programming
Peak shaving of an EV Aggregator Using Quadratic ProgrammingPeak shaving of an EV Aggregator Using Quadratic Programming
Peak shaving of an EV Aggregator Using Quadratic Programming
 
Coal Fleet Overview 2010
Coal Fleet Overview   2010Coal Fleet Overview   2010
Coal Fleet Overview 2010
 
SAGE Enterprises Fuel Cell Challenge V Presentation
SAGE Enterprises Fuel Cell Challenge V PresentationSAGE Enterprises Fuel Cell Challenge V Presentation
SAGE Enterprises Fuel Cell Challenge V Presentation
 
Combustion Turbine Efficiency Impact
Combustion Turbine Efficiency ImpactCombustion Turbine Efficiency Impact
Combustion Turbine Efficiency Impact
 
Performance Presentation - NREL March 2010
Performance Presentation - NREL March 2010Performance Presentation - NREL March 2010
Performance Presentation - NREL March 2010
 
Waste to Energy Project in Ghana: Landfill Gas or Incineration
Waste to Energy Project in Ghana: Landfill Gas or IncinerationWaste to Energy Project in Ghana: Landfill Gas or Incineration
Waste to Energy Project in Ghana: Landfill Gas or Incineration
 
GE 글로벌 파워플랜트 분석 보고서
GE 글로벌 파워플랜트 분석 보고서GE 글로벌 파워플랜트 분석 보고서
GE 글로벌 파워플랜트 분석 보고서
 
this-is-garbage-talk-2022.pptx
this-is-garbage-talk-2022.pptxthis-is-garbage-talk-2022.pptx
this-is-garbage-talk-2022.pptx
 
Impacts of carbon tax.docx
Impacts of carbon tax.docxImpacts of carbon tax.docx
Impacts of carbon tax.docx
 
CBE480ProjectReport
CBE480ProjectReportCBE480ProjectReport
CBE480ProjectReport
 
Amber kinetics intro non nda 06-16-2017
Amber kinetics intro non nda 06-16-2017Amber kinetics intro non nda 06-16-2017
Amber kinetics intro non nda 06-16-2017
 
IRJET- Analysis of Emission Data by using Testbed for Euro VI Norms
IRJET- Analysis of Emission Data by using Testbed for Euro VI NormsIRJET- Analysis of Emission Data by using Testbed for Euro VI Norms
IRJET- Analysis of Emission Data by using Testbed for Euro VI Norms
 
Ndevr/WesCEF InSync slides
Ndevr/WesCEF InSync slidesNdevr/WesCEF InSync slides
Ndevr/WesCEF InSync slides
 

More from Green Software Development

More from Green Software Development (6)

Sustainable Web Design - Claire Thornewill
Sustainable Web Design - Claire ThornewillSustainable Web Design - Claire Thornewill
Sustainable Web Design - Claire Thornewill
 
Blue turns green! Approaches and technologies for sustainable K8s clusters #C...
Blue turns green! Approaches and technologies for sustainable K8s clusters #C...Blue turns green! Approaches and technologies for sustainable K8s clusters #C...
Blue turns green! Approaches and technologies for sustainable K8s clusters #C...
 
Green Cloud - Measure cloud emissions
Green Cloud - Measure cloud emissionsGreen Cloud - Measure cloud emissions
Green Cloud - Measure cloud emissions
 
Tools and best practices for sustainable software
Tools and best practices for sustainable softwareTools and best practices for sustainable software
Tools and best practices for sustainable software
 
Carbon Hack 2022
Carbon Hack 2022Carbon Hack 2022
Carbon Hack 2022
 
The Path to Green Enterprise Applications
The Path to Green Enterprise ApplicationsThe Path to Green Enterprise Applications
The Path to Green Enterprise Applications
 

Recently uploaded

Recently uploaded (20)

BT & Neo4j _ How Knowledge Graphs help BT deliver Digital Transformation.pptx
BT & Neo4j _ How Knowledge Graphs help BT deliver Digital Transformation.pptxBT & Neo4j _ How Knowledge Graphs help BT deliver Digital Transformation.pptx
BT & Neo4j _ How Knowledge Graphs help BT deliver Digital Transformation.pptx
 
Long journey of Ruby Standard library at RubyKaigi 2024
Long journey of Ruby Standard library at RubyKaigi 2024Long journey of Ruby Standard library at RubyKaigi 2024
Long journey of Ruby Standard library at RubyKaigi 2024
 
How we scaled to 80K users by doing nothing!.pdf
How we scaled to 80K users by doing nothing!.pdfHow we scaled to 80K users by doing nothing!.pdf
How we scaled to 80K users by doing nothing!.pdf
 
Your enemies use GenAI too - staying ahead of fraud with Neo4j
Your enemies use GenAI too - staying ahead of fraud with Neo4jYour enemies use GenAI too - staying ahead of fraud with Neo4j
Your enemies use GenAI too - staying ahead of fraud with Neo4j
 
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdfThe Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
 
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
 
Where to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdfWhere to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdf
 
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdfHow Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
 
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
 
PLAI - Acceleration Program for Generative A.I. Startups
PLAI - Acceleration Program for Generative A.I. StartupsPLAI - Acceleration Program for Generative A.I. Startups
PLAI - Acceleration Program for Generative A.I. Startups
 
Easier, Faster, and More Powerful – Notes Document Properties Reimagined
Easier, Faster, and More Powerful – Notes Document Properties ReimaginedEasier, Faster, and More Powerful – Notes Document Properties Reimagined
Easier, Faster, and More Powerful – Notes Document Properties Reimagined
 
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
 
Enterprise Knowledge Graphs - Data Summit 2024
Enterprise Knowledge Graphs - Data Summit 2024Enterprise Knowledge Graphs - Data Summit 2024
Enterprise Knowledge Graphs - Data Summit 2024
 
FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...
FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...
FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...
 
The Metaverse: Are We There Yet?
The  Metaverse:    Are   We  There  Yet?The  Metaverse:    Are   We  There  Yet?
The Metaverse: Are We There Yet?
 
Working together SRE & Platform Engineering
Working together SRE & Platform EngineeringWorking together SRE & Platform Engineering
Working together SRE & Platform Engineering
 
AI mind or machine power point presentation
AI mind or machine power point presentationAI mind or machine power point presentation
AI mind or machine power point presentation
 
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
 
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
 
TopCryptoSupers 12thReport OrionX May2024
TopCryptoSupers 12thReport OrionX May2024TopCryptoSupers 12thReport OrionX May2024
TopCryptoSupers 12thReport OrionX May2024
 

CO2 Footprint of ChatGPT

  • 1. qaware.de CO2 Footprint of ChatGPT Andreas Weber andreas.weber@qaware.de
  • 4. CO2 Footprint of ChatGPT ■ GPT-3 [1] – 175 billion (10^9) parameters – Training: • 10 000 * V100 GPU (TDP 300W) • 14.8 days training • 1287 MWh • 550t CO2e (0,429 kg CO2e/kWh) – Inference [2] (Data for BLOOM, 176 B params) • 16 * A100 GPU (TDP 400W) • 18 days, 230,768 requests • 914 kWh total, 3,96Wh/Request • 1,56g CO2e / Request (0,394 kg CO2e/kWh) • Note: Idle times! 4 QAware [1] https://doi.org/10.48550/arXiv.2104.10350 [2] https://doi.org/10.48550/arXiv.2211.02001 [3] https://medium.com/@chrispointon/the-carbon-footprint-of-chatgpt-e1bc14e4cc2a – Inference (Estimations from [3]) • 1 * A100 GPU (407W) • 1 Request = 10,5s (0,35s / word * 30 words) • 0,38g CO2e/ Request (0,322 kg CO2e/kWh) • 13 million users per day with 5 requests each • 24,8t CO2e / day • Note: Is a single A100 GPU (80GB RAM) capable of 175 billion parameters? ❭ 4 bit quantization -> 81,5 GB
  • 5. CO2 Footprint of ChatGPT 5 QAware [4] https://archive.ph/2RQ8X ■ GPT-4 [4] – 1.8 trillion (10^12) parameters – Training • 25 000 * A100 GPUs (TDP 400W) • 100 initial days training (after tests) (cost: ~$63 million) • 24 000 MWh • 7 728t CO2e (0,322 kg CO2e/kWh) – Inference • 8-16 * A100 GPU • ~10s-15s / request -> 8,89 Wh/ request • 2,86g CO2e / Request (0,322 kg CO2e/kWh)
  • 6. CO2 Footprint of a Google Search ■ Google Search incl. indexing effort – 0.3 Wh / Search [5.1] – 0.2g CO2e / Search [3] (-> 0,67 kg CO2e/kWh) [5.1] – 0.1g CO2e / Search (0,322 kg CO2e/kWh) 6 QAware [5.1] https://googleblog.blogspot.com/2009/01/powering-google-search.htm [5.2] https://greenspector.com/en/search-engines/ ■ Comparison of different search engines & use cases [5.2] – methodology: measure energy consumption + network input/output → estimate emissions via OneByte Model – use cases: app vs. browser, weather, definition, local search / interactive map
  • 7. Footprint Comparison 7 QAware [6] https://co2.myclimate.org/ [7] https://de.statista.com/statistik/daten/studie/167877/umfrage/co-emissionen-nach-laendern-je-einwohner/ [8] https://de.statista.com/statistik/daten/studie/399048/umfrage/entwicklung-der-co2-emissionen-von-neuwagen-deutschland/ Training ■ GPT-3: ~ 100 Flights MUC <-> Sydney ■ GPT-4: ~1000 Germans living 1 year Usage ■ GPT-3: ~ 4 Google Searches ■ GPT-4: ~ 29 Google Searches
  • 8. What’s missing in the analysis ■ Non-GPU emissions like networking, RAM and SSDs ■ Power Usage Effectiveness (PUE) of datacenter ■ The embodied carbon of a datacenter ■ Emissions from network transfer ■ Emissions from end-user equipment 8 QAware
  • 9. We need more transparency! Green Software Development Manifesto: https://www.greenmanifesto.de/en/ 9 QAware
  • 10. Helpful Transparency Tools ■ Infrastructure at Cloud-Provider-Level – Emission Dashboards from AWS, Azure, Google ■ Cluster-Level Energy consumption – Kepler: https://github.com/sustainable-computing-io/kepler ■ Estimate Emissions for ML Usecases – ML CO2 Impact: https://mlco2.github.io/impact/ • based on GPU hardware, usage hours, infrastructure provider, location ■ Estimate CO2 Emissions for Network Transfer, Device Usage, Embodied Carbon – CO2.js: https://developers.thegreenwebfoundation.org/co2js/overview/ ■ Emission Factors – Climatiq data explorer & api: https://www.climatiq.io/data • emission factors for various sectors – Carbon aware sdk: https://github.com/Green-Software-Foundation/carbon-aware-sdk • grid intensity data & forecasts 10 QAware