Data centers have always had batteries. For decades their job was narrow: keep the IT load running for the minutes between a grid failure and the generators taking over. AI facilities are giving batteries a wider role. Large battery energy storage systems, or BESS, now appear in designs to smooth the power swings of training clusters, to cut peak demand charges, to support the grid, and sometimes to let a site start operating before its full grid connection is ready. Each role asks for a different size and a different kind of battery, and each changes what the operations team has to watch.

Four jobs a battery can do

Ride-through is the classic job. The UPS battery carries the load for a few minutes until generators start and stabilise. It needs high power for a short time.

Load smoothing is newer. Large training jobs move thousands of GPUs between computation and communication phases in step, and the whole cluster's power draw can rise and fall by a large share within seconds. Public research from industry teams has documented these swings and their effect on grids and on-site equipment. A battery on the facility bus can absorb and supply the difference so the grid sees a steadier load.

Peak shaving and energy shifting are commercial jobs. Many tariffs charge for the highest demand in a billing period, or price energy higher at certain hours. A battery can cover peaks or shift consumption, which lowers the bill.

Grid services and flexible connection are the newest. Grid operators in several markets pay for fast frequency response and other services that batteries are well suited to. Some also offer earlier or larger connections to sites that agree to reduce their draw from the grid at times of stress. A battery lets a site honour that agreement without shutting down GPUs.

Size depends on the job

The two numbers that describe a battery are power, in megawatts, and energy, in megawatt-hours. Their ratio, the duration, follows from the job.

RoleTypical durationWhat drives the sizing
UPS ride-through5 to 15 minutesCritical IT load and generator start time
Load smoothingSeconds to minutesSize and speed of the load swing
Peak shaving1 to 4 hoursLength of the peak and tariff structure
Grid services or flexible connection1 to 4 hours or moreTerms of the grid agreement

A worked example shows how the numbers come out. A 20 MW training cluster swings between about 60 and 100 percent of its draw as jobs move between phases, an 8 MW swing. To keep the grid-side load flat, the battery needs at least 8 MW of power capability with headroom, say 10 MW. Because the swings are short and alternate, the energy needed for smoothing alone is small: 15 minutes at 10 MW is 2.5 MWh, far more than the swings use, and enough to also cover ride-through. If the same site wants to shave a two-hour evening peak of 10 MW, it needs 20 MWh. The second goal costs about eight times as much battery as the first.

Mixing roles in one system is common and sensible, but it needs clear rules. Energy used for peak shaving at 7 p.m. is not available for ride-through at 7.05 p.m. Most operators reserve a fixed share of capacity for the critical backup role and only use the rest commercially.

Where the battery connects

In a conventional AC design, batteries sit inside UPS systems or connect to the facility's medium-voltage network through their own inverters. In the 800 V DC designs discussed for future AI halls, batteries can connect directly to the DC bus, which removes conversion stages and lets them respond very quickly to load changes. Either way, the battery becomes part of the power path the operations team is responsible for.

Safety and lifetime

Most new BESS installations use lithium-ion chemistries, increasingly lithium iron phosphate for its better thermal stability. All lithium-ion batteries carry a risk of thermal runaway, where a failing cell heats its neighbours and can lead to fire. Standards such as NFPA 855 in the United States set requirements for spacing, ventilation, detection and suppression, and local fire authorities often add their own.

Batteries also wear. Each charge and discharge cycle, high temperatures and deep discharges all reduce capacity over time. A battery cycled several times a day for smoothing or market services ages faster than one that waits for a grid failure. Lifetime and warranty terms should be checked against the intended duty, not the brochure.

What operations teams need to see

A battery that only did ride-through could be checked monthly. A battery that works every day needs continuous monitoring. The battery management system reports state of charge, state of health, cell voltages and temperatures, alarms and the power flowing in or out. Those readings matter most when combined with the rest of the facility data:

  • the IT load and its swings, to confirm the battery is smoothing them as designed
  • the share of capacity reserved for backup, to confirm it has not been used for something else
  • temperature in the battery room or container, against the limits in the safety design
  • utility demand at the site meter, to confirm peak shaving or grid commitments are met

When an alarm comes from a battery string, the team should know at once which loads depend on it and how much reserve remains.

Is a battery right for your site?

The answer depends on the load profile, the tariff, the grid connection terms and local rules. Sites running large synchronised training jobs, sites with high demand charges and sites waiting for grid capacity have the strongest case. In all of them, the decision is easier with a year of measured power data at the site meter and at the cluster level, which shows the real size of peaks and swings.

Sizing a battery starts with the measured load profile. CloudSino's energy and capacity management records power by room, rack and device and monitors busbar, circuit breaker and ATS status, and GPU utilization and power come in through NVIDIA DCGM, so the size and speed of training load swings are on record. SmartBSM correlates alarms from the power path into incidents. Ask us to look at your own load profile with you.

Frequently asked questions

What does a battery energy storage system do at an AI data center?

Beyond UPS ride-through, a BESS can smooth the fast power swings of large training jobs, shave peaks to cut demand charges, shift energy to cheaper hours and provide grid services. Some grid operators offer earlier or larger connections to sites that agree to reduce their grid draw at times of stress, which a battery makes possible without shutting down GPUs.

How big should a data center battery be?

It depends on the job. Ride-through needs 5 to 15 minutes, load smoothing seconds to minutes, and peak shaving or grid services one to four hours or more. In the article's example, smoothing an 8 MW swing needs about 10 MW for 15 minutes, while shaving a two-hour 10 MW peak needs 20 MWh, about eight times the battery.

What safety rules apply to lithium-ion batteries in data centers?

Lithium-ion cells can go into thermal runaway, where one failing cell heats its neighbours and can cause fire. In the United States, NFPA 855 sets requirements for spacing, ventilation, detection and suppression, and local fire authorities often add their own. Many new systems use lithium iron phosphate for its better thermal stability.