If you’re asking “how much vram do i have” before running a local model, the quickest answer depends on your system: Windows shows dedicated GPU memory in Task Manager, NVIDIA’s command-line tool reports it on supported GPUs, and macOS displays memory information in System Information. Look for total memory first, then check how much is already in use. Those are different numbers, and the second one is often what determines whether a model loads.
Check VRAM on Windows
Open Task Manager with Ctrl+Shift+Esc, select Performance, and click your GPU. On supported systems, you’ll see dedicated GPU memory and shared GPU memory, along with usage graphs. The dedicated figure is the useful starting point for a discrete graphics card. If the graph reads 2.0/8.0 GB, for example, it indicates roughly 2 GB in use out of 8 GB dedicated to that GPU.
Shared GPU memory is system RAM that Windows can make available to the GPU. Don’t add its maximum to dedicated VRAM and assume a model requiring that combined amount will run at full GPU speed. Shared memory has different performance characteristics, and applications vary in whether and how they use it.
Another route is Settings, then System, Display, and Advanced display. Open the display adapter properties for the relevant display and look for Dedicated Video Memory. The exact labels can vary by Windows version and driver.
If you see GPU 0 and GPU 1, check both. A laptop might have integrated graphics as well as a discrete GPU, and the display-connected GPU isn’t necessarily the one your application uses. Match the GPU name to the device selected by your ML framework.

How much vram do i have on Linux?
For an NVIDIA GPU with a working driver, open a terminal and run nvidia-smi. Its table lists each visible GPU and a Memory-Usage column, typically showing used and total memory in MiB. For a continuously refreshed view, run nvidia-smi -l 1 and stop it with Ctrl+C.
For a compact report, run this command on one line:
nvidia-smi --query-gpu=index,name,memory.total,memory.used,memory.free --format=csv
That output is useful when a machine has multiple GPUs: it identifies each device and reports total, used, and free memory. The free figure is a snapshot, not a reservation. Another process can allocate memory immediately afterward.
If the command is missing or cannot communicate with the driver, that doesn’t prove the machine has no GPU. The NVIDIA driver or utility may be unavailable, or the device may not be exposed to your environment. Run lspci | grep -i vga to look for a graphics controller; some compute devices may instead appear under a different PCI device class, so lspci | grep -i nvidia can be useful too.
AMD and Intel GPUs use different tools and drivers; nvidia-smi is not a universal GPU checker. On Linux, inspect the device with lspci, then consult the relevant vendor’s tooling for memory capacity and usage. Integrated GPUs may draw from system RAM rather than report a fixed pool of dedicated VRAM.
Check memory on a Mac
Open the Apple menu, choose About This Mac, and open More Info or System Report to reach System Information. Under Hardware, select Graphics/Displays. On Macs with a discrete GPU, the graphics information may list VRAM for that device.
Apple silicon Macs use unified memory: the CPU and GPU share a pool rather than having separate, dedicated VRAM like a typical discrete graphics card. About This Mac shows the machine’s total memory, but that number is not a promise that all of it is available to a GPU workload. macOS, other applications, and the workload itself all need memory.
Use Activity Monitor’s Memory tab to see overall memory pressure and usage. For GPU activity, choose Window, then GPU History. These views help diagnose a busy machine, but they don’t turn total unified memory into a guaranteed per-model GPU allocation.

How much vram do i have available for a model?
Capacity gets the model onto your shortlist; available memory decides whether the workload fits right now. Model weights are only part of the budget. Inference also needs space for intermediate tensors, runtime allocations, and the key-value cache used by many language models. Larger context windows and more concurrent requests can increase that demand.
As a rough calculation, a 7-billion-parameter model stored at 16 bits per parameter needs about 14 billion bytes for weights alone, or roughly 13 GiB. That excludes runtime overhead and cache. Quantization can reduce the weight footprint, but actual memory use depends on the format, implementation, and workload. A model file’s download size is a starting clue, not a complete allocation forecast.
To measure a real run, check GPU memory before loading the model, after loading it, and during a representative request. On NVIDIA systems, keep nvidia-smi running in a separate terminal while you exercise the workload. Record the model and quantization, context length, batch or concurrency, and peak observed usage. A short prompt with one user won’t tell you what happens under a larger production request.
In PyTorch, torch.cuda.mem_get_info() can report free and total memory for a CUDA device after the framework sees it. PyTorch’s allocated and reserved memory metrics describe its own allocator, while the system tool can also reflect other processes and driver usage. They answer related but different questions, so don’t expect every number to match.
When the numbers don’t match
First, check the device index. A shell, container, and application may see different GPU sets or assign different indices to them. In a container, run the diagnostic inside the container as well as on the host; access depends on how the container runtime exposes devices.
Next, check units. GPU tools commonly show MiB or GiB, while product descriptions may use MB or GB. Those units are close, not identical. A small discrepancy can be a unit conversion rather than missing hardware.
Finally, if you hit an out-of-memory error despite apparently free capacity, inspect other processes and the size of the allocation your runtime needs. Reduce context length, batch size, or concurrency, or choose a smaller or more heavily quantized model. For a hosted GPU, repeat the same checks in the actual worker environment rather than relying on your laptop’s specs. No panic, just logs.
No letters yet — be the first to write.