# VRAM

> The memory built into a graphics card, where the GPU keeps what it is working on.

- Level: Intermediate
- Topics: Hardware
- URL: https://tidbit.legios.com.ar/vram/
- In Spanish: [VRAM](https://tidbit.legios.com.ar/es/vram/)

**VRAM** (video RAM) is the memory that belongs to a GPU. It sits on the graphics card or right beside the GPU chip, separate from the computer's main RAM, and holds whatever the GPU is working on: the textures and frames of a game, the video being edited, the weights of an AI model. Today it is usually a fast type called **GDDR** or, in data-center GPUs, **HBM** (High Bandwidth Memory), made of stacked chips placed right next to the processor.

Two numbers matter. **Capacity**, in gigabytes, decides what fits: if a game's textures or a model's weights do not fit in VRAM, the GPU has to fetch data from much slower memory elsewhere, and performance collapses or the job refuses to run. **Bandwidth**, in gigabytes per second, decides how fast the GPU can be fed. A GPU has thousands of cores, and they sit idle if data cannot reach them quickly enough.

VRAM is why conversations about AI talk so much about memory. A large language model's weights must fit in VRAM to run quickly, so the amount of memory often matters more than raw speed when choosing hardware, and big models are split across several GPUs. That is also why high-end AI chips carry large amounts of expensive HBM. Many laptops and all phones have no separate VRAM: the GPU shares the main memory with the CPU, which is cheaper and simpler but usually slower.

## An analogy

A chef's countertop next to the stove. The pantry holds far more, but if the ingredients for tonight's dishes do not fit on the counter, the chef keeps walking back and forth and dinner slows to a crawl.

## Keep in mind

- VRAM is the GPU's own memory, separate from the main RAM.
- Capacity decides what fits; bandwidth decides how fast the GPU is fed.
- AI models must fit in VRAM to run quickly, so memory size often limits what you can run.
- Gaming cards use GDDR; data-center AI chips use stacked HBM.

## Go deeper

- [Video random-access memory on Wikipedia](https://en.wikipedia.org/wiki/Video_random-access_memory)
- [High Bandwidth Memory on Wikipedia](https://en.wikipedia.org/wiki/High_Bandwidth_Memory)
- [GDDR SDRAM on Wikipedia](https://en.wikipedia.org/wiki/GDDR_SDRAM)

## Related terms

- [GPU](https://tidbit.legios.com.ar/gpu/): The chip that does thousands of simple calculations at once.
- [Chip](https://tidbit.legios.com.ar/semiconductor-chip/): A sliver of silicon carrying billions of tiny switches that compute and remember.
- [RAM](https://tidbit.legios.com.ar/ram/): The computer's short-term memory: fast, small and wiped when you turn it off.
- [Model parameters](https://tidbit.legios.com.ar/model-parameters/): The billions of numbers a model learns in training; '70B' means 70 billion of them.
- [Artificial intelligence](https://tidbit.legios.com.ar/artificial-intelligence/): Getting computers to do things that, until recently, only people could do.
- [CPU](https://tidbit.legios.com.ar/cpu/): The chip that runs your programs, one instruction after another, very fast.
- [Bandwidth and latency](https://tidbit.legios.com.ar/bandwidth-and-latency/): How much data fits per second, and how long each trip takes. Two different things.
- [Cores and threads](https://tidbit.legios.com.ar/cpu-cores-and-threads/): Why a CPU is really several processors, and why it can juggle even more tasks.
