,

High Bandwidth Memory: Why AI Chips Need Stacked RAM

By Editorial Team Published 7 min read
Dark layered stacks sit beside a flat processor-like tile, linked by copper traces on a green base.

An AI accelerator can have an extraordinary capacity for arithmetic and still spend valuable time waiting for data. A multiplication unit is useful only when the numbers it needs arrive quickly enough.

High bandwidth memory (HBM) tackles that supply problem. It stacks DRAM dies vertically and connects the resulting stacks to a processor through an unusually wide memory interface. The aim is to move large amounts of data between memory and compute without spreading the whole arrangement across a large circuit board.

The stack is the eye-catching part. The wide connection is what makes it interesting.

What is high bandwidth memory?

HBM is a form of volatile DRAM used alongside processors that need substantial memory bandwidth, including AI accelerators and high-performance computing devices. Like other DRAM, it stores working data rather than preserving files when the power goes off.

A stack contains multiple memory dies and a base die. Through-silicon vias (TSVs) provide vertical electrical connections through the stacked structure. Dense package interconnects connect the memory interface to the processor. AMD’s HBM documentation shows this arrangement in its stacked-silicon devices. [1]

That distinguishes HBM from ordinary DDR RAM installed as modules in a computer’s memory slots. HBM is integrated into the processor package’s design; it isn’t a faster DIMM you can insert into a desktop motherboard.

It is also separate from the processor’s on-chip caches and local working storage. An accelerator still needs a memory hierarchy. Putting DRAM nearby doesn’t make all of its contents instantly available to every arithmetic unit.

The memory goes up; the connection stays close

There are two packaging ideas to keep separate:

  • Inside an HBM stack, memory dies sit above one another. Vertical connections let the stack expose a dense interface in a small footprint.
  • Across a conventional accelerator package, the HBM stacks sit beside the compute die or chiplets. High-density interconnects link the components.

An interposer is an intermediate layer that provides those connections. TSMC’s CoWoS family illustrates the approach, with packaging variants using silicon, redistribution layers, or local silicon interconnects to integrate logic and memory. [2]

This common arrangement is called 2.5D integration: separate components share a densely interconnected package. The DRAM dies inside each memory stack are themselves stacked in three dimensions.

So “stacked RAM” doesn’t mean the entire memory system is piled directly on top of the GPU. In the conventional package, the memory stacks are its neighbors. The short, dense connections make a very wide interface practical.

A wide bus can beat a frantic clock

A memory interface’s theoretical data bandwidth depends on both how many data bits it transfers in parallel and the transfer rate per data pin. A higher clock isn’t the only route to more bandwidth.

Micron describes HBM3E with a 1,024-bit data interface and HBM4 with a 2,048-bit interface. [3, 4] To isolate the effect of width, give both interfaces an illustrative rate of 8 gigabits per second per data pin:

Data interface widthIllustrative per-pin rateCalculated raw bandwidth
1,024 bits8 Gb/s1,024 GB/s, or 1.024 TB/s
2,048 bits8 Gb/s2,048 GB/s, or 2.048 TB/s

The calculation is data pins × bit rate per pin ÷ 8. The division converts bits to bytes. These figures use decimal GB and TB.

Doubling the width doubles the raw rate without changing the assumed per-pin rate. Real product rates differ, and an application won’t necessarily sustain the calculated maximum: access patterns, controller scheduling, and the rest of the system matter.

Stack height is another variable. Micron lists HBM3E offerings with 24 GB in an eight-high stack and 36 GB in a twelve-high stack, while both retain the same interface width. [3] More layers can add capacity without automatically widening the data path.

Capacity, bandwidth, and latency are different promises

A memory specification can look impressive while answering the wrong question.

PropertyThe question it answersWhat a shortfall looks like
CapacityHow much working data can fit?The workload needs to split, reduce, or move data elsewhere.
BandwidthHow much data can move per second?Compute can wait for a stream of operands.
LatencyHow long does a particular access take?Work dependent on that access waits for its result.

A useful real-world example is NVIDIA’s H200, specified with 141 GB of HBM3E and 4.8 TB/s of memory bandwidth. Those are distinct capacity and bandwidth numbers for one GPU. They aren’t the capacity or rate of one HBM stack, and 4.8 TB/s doesn’t say how quickly a particular application will finish. [6]

Likewise, a new memory generation can increase bandwidth without increasing capacity per stack. Micron’s HBM4 page describes a 36 GB twelve-high stack with more than 2.8 TB/s of bandwidth, compared with the same-capacity HBM3E configuration. Those are manufacturer specifications, not an end-to-end AI benchmark. [4]

The first check is therefore whether the data fits. The second is whether the device can supply it at the rate the computation demands. Neither result, by itself, establishes application latency.

Why generating the next token can expose the bottleneck

A language model’s inference workload changes between reading a prompt and generating the answer. Prompt processing can expose substantial parallel computation. During ordinary autoregressive decoding, each sequence advances one token at a time, and moving weights and attention state can become a major constraint. NVIDIA’s inference analysis describes this shift in resource demands. [5]

Consider a deliberately simplified example:

  1. A dense model has 7 billion parameters.
  2. Each stored weight uses 2 bytes, giving 14 GB of weights.
  3. A hypothetical processing step needs to read that entire 14 GB once from external memory.
  4. Ignore every other transfer and all computation.

At an ideal 1 TB/s, that read takes 14 milliseconds. At 4 TB/s, it takes 3.5 milliseconds.

These are lower bounds for that assumed read, not measured token-generation times. They exclude cache behavior, attention-state traffic, temporary data, communication, and computation. The model’s weights aren’t its complete memory requirement either.

But the example reveals a useful limit: an arithmetic engine can’t operate on data that hasn’t arrived. Adding compute units alone won’t shorten a read that already saturates the memory path.

The KV cache adds another reason to care about memory. It saves repeated attention calculations by retaining intermediate state, but that state must be stored and accessed. Longer contexts and more active requests can increase the pressure.

Batching can let multiple requests share some work, including weight access. Quantization changes the stored representation. Different models, batch sizes, and kernels can therefore hit different limits. “Decode is often bandwidth-sensitive” is a useful starting point, not a diagnosis for every AI workload.

Why not put HBM in everything?

The wide interface comes with packaging work. The processor, memory stacks, interconnects, power delivery, and cooling must function as one system. Stacking more dies introduces additional thermal and manufacturing challenges.

SK hynix’s discussion of memory-centric design emphasizes that signal integrity, power delivery, thermal management, and mechanical stability affect actual product performance. It also identifies interface area and conditions inside the stack as constraints on further bandwidth growth. [7]

Shorter data paths can improve the energy efficiency of moving data, but the complete accelerator still has to dissipate the heat its workload produces. High bandwidth doesn’t remove the thermal budget.

And AI doesn’t universally require HBM. NVIDIA’s RTX 5090, for example, is an AI-capable GPU specified with 32 GB of GDDR7. [8] Memory choices depend on the product’s workload, capacity, bandwidth, packaging, power, and cost targets.

Other memory technologies solve different parts of the problem. A CXL memory pool changes how compatible systems can obtain capacity from a separately managed resource. It doesn’t automatically provide an accelerator’s HBM bandwidth or make every memory location equivalent. Moving data between tiers can itself become important work.

Read an AI chip specification from the memory outward

Before treating a large compute figure as a performance prediction, ask:

  • What must fit? Count weights, cached context, temporary storage, and the other data the workload actually keeps.
  • What must move? A small stored dataset can still generate repeated transfers.
  • Which bandwidth is quoted? Per stack, per GPU, and aggregate system figures describe different boundaries.
  • How much reuse is available? Batching and on-chip storage can change the traffic required for each result.
  • Where is the measured bottleneck? Memory, computation, interconnects, and serving software can limit different phases.

High bandwidth memory is compelling because it changes how much data can reach a processor through a compact package. The vertical stack provides room for DRAM; the wide nearby interface helps feed the computation. The practical result depends on whether the workload needed that supply in the first place.

Sources and further reading

Network Encyclopedia Editorial Team

Every entry is written, reviewed and kept up to date by our editors. Spotted a mistake? We fix it in the open.

Editorial Mission · Correction Policy · Suggest a correction