SaveMyCert
Log in
5 of 5 free questions left today·for 10 a day
Managing Risks of Generative AI in Software Testing

CT-GenAI: Energy Use of GenAI and AI Regulations, Standards and Frameworks

13 min readCT-GenAI · Managing Risks of Generative AI in Software TestingUpdated

The energy consumption of Generative AI in software testing is the electricity, and the resulting CO₂ emissions, spent in devices, networks and data centres each time a model is used, and it depends on the task's complexity, the size of the model and how often it is called. This lesson covers CT-GenAI syllabus sections 3.3 and 3.4: why image generation costs far more than text, why many small requests add up to a substantial total, why the data is uncertain but the impact clear, how right-sized models and fewer unnecessary interactions reduce energy, and how to balance benefits against cost and energy. It then covers the four AI guidelines the syllabus names (ISO/IEC 42001, ISO/IEC 23053, the EU AI Act and the NIST AI Risk Management Framework), which is a standard, a regulation or a framework, and why test organizations must keep up with an evolving regulatory landscape.

What you’ll learn
  • Explain why using GenAI as a web-based service loads devices, networks and data centres
  • Explain how task complexity and required computational resources affect the energy of a GenAI task, including the image-versus-text comparison
  • Explain why energy rises sharply with usage and how the cumulative effect of small requests becomes substantial
  • Choose right-sized models and remove unnecessary model interactions to cut energy while keeping quality
  • Balance the benefits of GenAI automation against its cost and energy consumption
  • Recall the four AI guidelines in the syllabus, their type (standard, regulation, framework) and their application in software testing
  • Explain why test organizations must stay updated on regulations, standards, national laws and frameworks

Why GenAI use in testing consumes energy

GenAI consumes energy because training and running large language models needs intensive use of many specialized computing resources, and every prompt a tester sends is processed on that hardware. The CT-GenAI syllabus (section 3.3) notes that LLMs are offered as web-based services, so their use increases the load on devices, networks and data centres, which leads to higher energy consumption.

This matters for testers because most GenAI use in testing is inference: drafting test cases, generating test data, summarizing defect reports, rewriting scripts. The device a tester types on does only a small part of the work. The model itself runs on the provider's accelerators, and each request and response crosses networks on the way. What each answer costs is the computation needed to produce it, repeated for every request.

Two things follow. First, the environmental impact of GenAI in testing is real even when the work is invisible to the person using it. Second, the people who run the hardware are not the only ones who influence the total: the test team decides how often, how heavily and with which model GenAI is used.

What drives the energy of a single GenAI task

The energy of a single GenAI task is driven by the complexity of the task and the computational resources it requires. These are the two factors the syllabus names, and both describe the model's own work: what it is asked to produce and how much computing that takes.

The syllabus illustrates the difference with a widely cited comparison (Heikkilä 2023):

Output generatedApproximate energy per request
One image with a powerful modelAbout as much as fully charging a smartphone
TextA small percentage of a smartphone charge

So, per request, image generation is far more energy-intensive than text generation. Producing a mock-up picture of a login page for a training deck costs much more than drafting an SQL query that seeds test data, writing acceptance criteria or explaining a stack trace. The figures are orders of magnitude to reason with, not exact measurements: the per-request cost also depends on the model's size and how much output it produces.

Usage: why small requests add up

Energy consumption rises sharply as usage increases, so the total impact of GenAI in testing is set by how often models are called, not just by what one call costs. The syllabus accepts that a single search or text-generation task may seem negligible, but states that the cumulative effect across millions of users results in substantial environmental strain.

The same arithmetic applies inside one organization. Total energy is roughly unit cost × frequency, summed over every task:

  • A chat assistant built into the test management tool, which every tester queries dozens of times a day, can outweigh a handful of heavy but occasional tasks.
  • An expensive task attached to an automatic, frequent trigger quickly dominates the total.
  • A cheap task run occasionally contributes little, whichever model it uses.

Training a model also consumes a great deal of energy, but it is largely a one-off cost. Inference is repeated for every request by every user, which is why usage patterns are where a test team has the most influence. Uncertainty about exact figures (next section) does not change this: volume still multiplies whatever the true unit cost is.

Measuring the impact: uncertain data, clear direction

Accurate data on the environmental impact of GenAI is hard to obtain, yet it is clear that these energy-intensive operations collectively contribute to significant CO₂ emissions. The syllabus cites research for both halves of that statement (Luccioni 2024b on the difficulty of getting data, Berthelot 2024 on the emissions).

Few providers publish per-prompt energy or CO₂ figures. Those that do (since 2025, some have released median per-prompt estimates for their own services) use their own methods and boundaries, which are not standardized or independently audited, and the figures do not transfer to other models or workloads. Test teams therefore still work with estimates. The syllabus hands-on objective HO-3.3.1 asks learners to use a simulator to calculate the energy and CO₂ emissions of given GenAI test tasks and to observe how task characteristics and model usage change the result. The point of the exercise is to understand the drivers (task type, model size, number of interactions), not to produce a precise number.

Uncertainty about the exact figure does not make the impact small, and it is not a reason to stop using GenAI until exact figures exist. It is a reason to reason in relative terms: which tasks, models and usage patterns cost the most, and which of them are unnecessary.

Reducing energy use: right-sized models and fewer unnecessary interactions

Test teams reduce GenAI energy use mainly by limiting unnecessary model interactions and by selecting right-sized models for each test task. The syllabus calls adopting best practices such as limiting unnecessary interactions critical to mitigating environmental risk, and section 5.2.1 lists the environmental considerations testers need: optimizing model selection and usage patterns to reduce computational overhead, selecting right-sized models for test tasks, and balancing the benefits of GenAI automation against cost and energy consumption.

Right-sized models

A right-sized model is the smallest model that does the task to the required quality. Narrow, repetitive work, such as extracting field names and types from an API specification into a test-data template, often suits a small language model (SLM). Open-ended reasoning, such as reviewing a risk-based test plan for missing risks, can justify a large model. A smaller model saves energy only where it still meets the quality the task needs, so the choice is made per task rather than once for the whole team. Settings and prompt content that change the style or variety of output do not change which size of model a task needs.

Limiting unnecessary interactions

An interaction is unnecessary when it repeats work whose result is already available or adds nothing to quality. Typical patterns:

  • Keep and reuse approved results: once generated material has been reviewed and accepted, store it and use it again rather than asking the model for it each time.
  • Trigger generation by change: for example, regenerate API tests when the interface specification changes, rather than on a fixed timer.
  • Retire generation that no longer pays off: periodically check whether each automated GenAI job still produces useful, changing output.
  • Match verification effort to risk: extra checks that themselves call models (such as comparing outputs across models, a mitigation from section 3.1) multiply interactions, so they belong where an error would matter most.
  • Avoid blind retries: asking the same model again and again does not, by itself, make an answer correct.

Some techniques add interactions on purpose and are still the right choice for difficult or critical work. The goal is not the fewest calls at any cost, but no calls that do not earn their place.

Where the biggest saving is

Because total energy is unit cost × frequency, rank candidate changes by how much of that product they remove. The biggest saving usually comes from eliminating frequent repetitions of the most expensive task, not from small efficiencies on tasks that were already cheap or rare.

Balancing benefits against cost and energy

GenAI use in testing should be justified by balancing the benefits of GenAI automation against its cost and energy consumption. These are the two factors the syllabus names for the cost side of the balance.

In practice the balance is struck task by task. Where GenAI output keeps delivering value, its cost and energy are earned; where it repeats identical work or never yields anything useful, they are spent for nothing. A business case for adopting GenAI in testing therefore estimates both sides, chooses models and usage patterns accordingly, and revisits the choice as tasks change. The same thinking appears in the GenAI strategy and LLM/SLM selection criteria covered in chapter 5.

The four AI guidelines the syllabus names

The syllabus (section 3.4) names four key guidelines relevant to GenAI in software testing: two ISO/IEC standards, one regulation and one framework. Addressing GenAI risks such as reasoning errors, data privacy, vulnerabilities and environmental impact should take general AI regulations, standards and best practice frameworks into account.

GuidelineTypeWhat it isApplication in software testing
ISO/IEC 42001:2023
Information technology – Artificial intelligence – Management system
StandardSpecifies requirements for managing AI systems within an organizationPromotes that GenAI in testing adheres to recommended practices, promoting consistency and reliability
ISO/IEC 23053:2022
Framework for Artificial Intelligence (AI) Systems Using Machine Learning
StandardProvides a framework for AI lifecycle processes, emphasizing safety and transparencyProvides a framework for data quality, transparency and safety when using GenAI for testing
EU AI ActRegulationEstablishes a legal framework addressing AI risks, classifying applications by risk levelMandates compliance in transparency, accountability and bias mitigation for GenAI used in testing
NIST AI Risk Management Framework (US)FrameworkOffers guidelines for managing AI risks, focusing on fairness, transparency and securitySupports fairness and mitigates risks in GenAI, preventing biased test results

A quick way to keep them apart is one keyword each: 42001 = organization-wide AI management; 23053 = ML lifecycle and data quality; EU AI Act = law, risk classes; NIST AI RMF = fairness and risk guidance.

Standard, regulation or framework: which ones are binding

Of the four guidelines, only the EU AI Act is legally binding, because it is a regulation; the two ISO/IEC standards and the NIST AI RMF are voluntary for organizations to adopt. The verbs in the syllabus table reflect this: the EU AI Act mandates compliance, while the others promote, provide or support.

TypeGuideline(s)Status
RegulationEU AI ActLaw for organizations within its scope; compliance is required
StandardISO/IEC 42001:2023, ISO/IEC 23053:2022Voluntary; an organization chooses to adopt (and for 42001, may choose to be certified)
FrameworkNIST AI Risk Management FrameworkVoluntary guidance from the US National Institute of Standards and Technology

Watch the names. ISO/IEC 23053's title begins "Framework for AI Systems Using Machine Learning", yet the syllabus types it as a standard, because it is an ISO/IEC standard. Likewise, the EU AI Act "establishes a legal framework" but is a regulation. The type comes from what the document is, not from the word "framework" in its description.

Telling the guidelines apart from near-twin standards

Two other real ISO/IEC standards are easy to confuse with the AI guidelines, but neither is one of the four the syllabus lists for GenAI in testing.

StandardSubjectHow it differs
ISO/IEC 42001:2023AI management systemThe AI guideline: requirements for managing AI systems in an organization
ISO/IEC 27001:2022Information security management systemAlso a management-system standard, but its subject is information security, not AI
ISO/IEC 23053:2022Framework for AI systems using machine learningThe AI guideline: ML lifecycle processes, safety, transparency, data quality
ISO/IEC/IEEE 29119-1:2022Software and systems engineering – Software testing – General conceptsA software testing standard, not an AI standard

The shared words ("management system", "framework") are not enough to match a guideline: check the subject. Data-privacy regulations such as the GDPR belong to the data privacy and security risks covered in section 3.2 rather than to this list.

Staying current as regulations evolve

Test organizations must stay updated on the development of regulations, standards, national laws and best practice frameworks, because AI technologies and their regulatory landscapes continue to evolve. The syllabus presents its four guidelines as examples ("such as those in this table"), not a complete list.

In practice this means:

  • Law depends on where and how AI is used. Which regulations and national laws apply can change whenever the context changes, for example a product launched in a new market or a new kind of AI use. Voluntary standards and frameworks an organization follows sit alongside binding law; they do not replace it.
  • Adopted guidelines change too. Standards and frameworks are revised, and new companion guidance appears (for example, NIST has published a Generative AI Profile to accompany the AI RMF). Alignment checked once can go out of date.
  • Compliance stays with the organization. Supplier documentation is a useful input, but the organization using GenAI in its testing remains responsible for meeting the obligations that apply to that use.

The EU AI Act itself applies in phases, with different obligations taking effect at different dates, which is one more reason the regulatory picture has to be watched rather than checked once.

Tip. This topic is examined at two levels. For energy (K2), you need to explain how task characteristics (complexity, required computational resources, image versus text output) and model usage (which model, how often) affect energy consumption, why web-based use loads devices, networks and data centres, what the syllabus says about the availability of accurate impact data, how right-sized models and fewer unnecessary interactions reduce energy, and what is balanced against the benefits of automation; some questions describe a team's GenAI usage and expect you to apply these ideas. For regulations, standards and frameworks (K1), you need to recall the four guidelines the syllabus names (ISO/IEC 42001, ISO/IEC 23053, the EU AI Act and the NIST AI RMF), what each is, its application in testing and its type, which one is legally binding, and why organizations must stay updated as the landscape evolves.

Key takeaways
  • Training and using LLMs needs many specialized computing resources; web-based use loads devices, networks and data centres.
  • Task complexity and required computational resources drive the energy of a single task: one image with a powerful model can use about a smartphone charge, text a small percentage of one.
  • Energy rises sharply with usage: one request looks negligible, but the cumulative effect across many requests and users is substantial.
  • Accurate energy data is hard to obtain, yet GenAI clearly contributes significant CO₂ emissions; few providers publish per-prompt figures and methods differ, so teams estimate (for example with simulators).
  • Limit unnecessary model interactions (reuse approved results, trigger generation by change, match extra checks to risk) and select right-sized models per task.
  • Balance the benefits of GenAI automation against its cost and energy consumption, task by task.
  • ISO/IEC 42001 (standard): AI management system requirements; ISO/IEC 23053 (standard): ML lifecycle framework for data quality, transparency and safety.
  • EU AI Act (regulation, binding): classifies AI by risk and mandates transparency, accountability and bias mitigation; NIST AI RMF (US framework, voluntary): fairness, transparency, security.
  • The four guidelines are examples; organizations must track evolving regulations, standards, national laws and frameworks as their context changes.

Frequently asked questions

What affects the energy consumption of GenAI in software testing?

Two kinds of factor. Task characteristics: the complexity of the task and the computational resources it requires, so generating an image with a powerful model can use about as much energy as charging a smartphone while generating text uses a small percentage of one. Model usage: which model is used and how often, because energy rises sharply with usage and many small requests add up to a substantial total.

Is the energy of one text-generation request negligible?

A single text request may seem negligible, and the CT-GenAI syllabus accepts that. But it also states that the cumulative effect across many users and requests results in substantial environmental strain. Total energy is roughly unit cost multiplied by frequency, so volume, not just unit cost, has to be managed.

How can a test team reduce the energy used by GenAI?

Limit unnecessary model interactions and choose right-sized models. Store and reuse approved outputs instead of regenerating them, trigger generation when its input changes rather than on a timer, keep extra model-based checks for the work where errors matter most, and use a small model for narrow repetitive tasks while keeping a large model where the task needs it. Throughout, balance the benefits of automation against cost and energy.

Why can't testers simply look up the CO₂ emissions of each prompt?

Accurate data on the environmental impact of GenAI is hard to obtain. Few providers publish per-prompt figures, and those that do use their own methods, which are not standardized or independently audited and do not transfer to other models. It is nonetheless clear that these operations collectively contribute significant CO₂ emissions. Teams therefore estimate impact, for example with a simulator as in the syllabus hands-on exercise, and focus on the relative drivers: task type, model size and number of interactions.

Which AI regulations, standards and frameworks does the CT-GenAI syllabus list?

Four: ISO/IEC 42001:2023, a standard specifying requirements for managing AI systems in an organization; ISO/IEC 23053:2022, a standard providing a framework for AI systems using machine learning, covering lifecycle, safety, transparency and data quality; the EU AI Act, a regulation that classifies AI applications by risk level and mandates transparency, accountability and bias mitigation; and the NIST AI Risk Management Framework, a US framework focused on fairness, transparency and security.

Is ISO/IEC 23053 a standard or a framework?

The CT-GenAI syllabus types ISO/IEC 23053:2022 as a standard. Its title is 'Framework for Artificial Intelligence (AI) Systems Using Machine Learning', which makes it easy to mistake for a framework, but it is an ISO/IEC standard. In the syllabus list, the only guideline typed as a framework is the NIST AI Risk Management Framework, and the only regulation is the EU AI Act.

Which of the AI guidelines is legally binding?

Only the EU AI Act, because it is a regulation: organizations within its scope must comply. ISO/IEC 42001, ISO/IEC 23053 and the NIST AI RMF are voluntary to adopt. That is why the syllabus says the EU AI Act mandates compliance in transparency, accountability and bias mitigation, while the others promote, provide or support good practice.

Source

This lesson covers the "Managing Risks of Generative AI in Software Testing" domain of the official CT-GenAI exam guide. Vendors revise their guides — check the source for the current version.

Sign up free to mark lessons complete, bookmark topics and track your exam readiness.

Spotted a mistake in this lesson?