# VRAM

- **Canonical URL:** https://getaimath.com/dictionary/vram/
- **Topics:** [Hardware & AI Computing](https://getaimath.com/dictionary/category/hardware-and-ai-computing/)
- **Last updated:** 2026-11-25

## What is VRAM?

**In one sentence:** VRAM is the fast memory built onto a graphics card, where AI model weights and the KV cache are stored while running.

For local AI, VRAM is often the biggest limit. The model must fit in VRAM to run at full speed; if it does not, parts spill to slower system memory.

![AI Hardware (GPUs & VRAM): The Fast Chef & The Kitchen Door — Simple cartoon showing a Super-Fast Chef (GPU) who needs ingredients from a nearby Countertop Fridge (VRAM) via a wide double-door (Memory Bandwidth), instead of walking down a slow hallway to the Basement Pantry (System RAM).](https://getaimath.com/diagrams/hardware-and-ai-computing.png)
*Napkin Diagram (Hardware & AI Computing): A fast GPU chip is like a fast chef—if the memory doorway is too narrow, the chef just stands around waiting for ingredients.*

### Quick Math / Rule of Thumb

Quick sizing check: Model Weights + KV Cache + ~1–2 GB overhead should fit in GPU VRAM. If it doesn't, the model fails to load or (in tools that support it) part of it runs from much slower system RAM.

## What is an example of VRAM?

A GPU with 24 GB of VRAM can run a 4-bit 30B model.

## Why does VRAM matter?

VRAM size decides which models you can run fast on a GPU.

## VRAM vs. RAM

VRAM sits directly on the graphics card with ultra-wide bandwidth to feed GPU cores fast, whereas regular system RAM holds more gigabytes cheaply for the CPU at much lower bandwidth.

| Dimension | VRAM | [RAM](https://getaimath.com/dictionary/ram/) |
| --- | --- | --- |
| Typical bandwidth | 500 GB/s to 3,000+ GB/s (GDDR6X / HBM3e) | 50 GB/s to 100 GB/s on standard DDR5 PCs |
| Capacity vs. cost | Expensive and capped per card (8–80+ GB) | Cheap and easy to upgrade (32–512+ GB) |
| On Apple Silicon | No separate VRAM—the GPU uses the shared unified memory | The same unified memory pool, shared by CPU, GPU and NPU |

## Related Concepts

- [FLOPS vs TOPS](https://getaimath.com/dictionary/flops-vs-tops/): FLOPS counts floating-point (decimal-style) calculations, while TOPS counts operations that are often simpler integer math.
- [RAM](https://getaimath.com/dictionary/ram/): RAM is a computer's main working memory, where programs and data are kept while in use.
- [TOPS](https://getaimath.com/dictionary/tops/): TOPS means trillions of operations per second, usually for integer math like INT8, and is often used for NPUs.
- [Unified Memory](https://getaimath.com/dictionary/unified-memory/): Unified memory is a design where the CPU and GPU share one big pool of memory instead of having separate memory.
- [TFLOPS](https://getaimath.com/dictionary/tflops/): TFLOPS means trillions of floating-point operations per second.
- [Shared Memory](https://getaimath.com/dictionary/shared-memory/): Shared memory can mean memory that several processors use together, or a small, very fast memory area inside a GPU that a group of cores shares.

---
Source: The AI Math Dictionary (https://getaimath.com/dictionary/vram/)
