# GPU for AI

> Canonical: https://skillalmanac.com/glossary/gpu-for-ai | Last verified: 2026-11-25 | Index status: index-eligible

A GPU for AI is a graphics processing unit used to train and run AI models. Its many cores do large amounts of arithmetic in parallel.

Also called: AI GPU, GPU machine learning, VRAM for LLM, GPU for LLM, GPU for deep learning.

## In plain language

A GPU is a chip first built for drawing graphics that also suits AI work, because AI models need huge numbers of small calculations done at the same time. A GPU has hundreds or thousands of cores, so it can do many of them at once. For running a model on your own computer, the number to check is often the GPU's own memory, called VRAM. If the model's files do not fit, it may not load properly or may run very slowly.

## Technical definition

IBM notes that GPUs have hundreds or thousands of cores and onboard memory built for compute-heavy workloads. NVIDIA's performance guide explains that GPUs run many threads concurrently and that many common operations have low arithmetic intensity, which makes them limited by memory rather than arithmetic. See [Quantization](/glossary/quantization) and [Self-hosted LLM](/glossary/self-hosted-llm).

## How it shows up when you use agents

If your coding agent talks to a hosted model, the GPU is the provider's concern. It becomes yours when you run a model locally, for example through a local runtime behind an agent. Then the question is whether the model fits, and the answer is mostly about memory.

What breaks when this is misunderstood:

- **Choosing by speed alone.** A fast chip with too little memory cannot hold a large model. See [Inference](/glossary/inference) and [Self-hosted LLM](/glossary/self-hosted-llm).
- **Forgetting everything that uses memory.** The weights are one part; the context cache and overhead add to them. The [self-hosting guide](/learn/self-hosted-ai-agent-considerations) covers this.
- **Ignoring precision.** [Quantization](/glossary/quantization) stores weights more compactly, which can make a model fit, with possible effects on quality that you should test.

A practical next step is to run the [local-model-sizing](/skills/skill-almanac/local-model-sizing) skill with your model and machine before downloading anything large.

## Common confusions

- **GPU versus CPU.** Both can run a model. The IBM page explains that a GPU's many cores let it do many calculations at once, which is why it is used for AI.
- **VRAM versus system RAM.** VRAM is the GPU's own memory. Whether a model can use system RAM instead depends on the runtime and is often slower; check your runtime's documentation.
- **Training versus inference.** Training and running a trained model place different demands on hardware. Check the requirements for the job you have.
- **Compute-bound versus memory-bound.** NVIDIA's guide says many common operations are limited by memory rather than arithmetic, so more cores do not necessarily mean faster results.

## Worked examples in this catalogue

### [local-model-sizing](https://skillalmanac.com/skills/skill-almanac/local-model-sizing)

```
Give the skill the model and the GPU, Mac or PC you have.
```

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: A script computes weight, KV-cache and overhead memory per quantization level, so you can see whether the model fits before downloading it.

Why it exercises the concept: It turns the memory limit of a GPU into a number you can compare with a model's needs.

### [Self-Hosting an AI Agent: What You Take On](https://skillalmanac.com/learn/self-hosted-ai-agent-considerations)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: The guide says weights, the context cache and runtime overhead compete for memory, and that a model which is too large for the machine may load slowly or fail mid-task.

Why it exercises the concept: It shows the practical result of the GPU memory limit when you run an agent's model yourself.

### [What Is an LLM? The Facts Agent Users Need](https://skillalmanac.com/learn/what-is-an-llm-for-agent-users)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: The guide explains what a language model is from the point of view of someone running a coding agent.

Why it exercises the concept: It describes the model that the GPU runs.

## Related terms

- [Inference](https://skillalmanac.com/glossary/inference.md)
- [Self-hosted LLM](https://skillalmanac.com/glossary/self-hosted-llm.md)
- [Quantization](https://skillalmanac.com/glossary/quantization.md)
- [Edge AI](https://skillalmanac.com/glossary/edge-ai.md)
- [Neural network](https://skillalmanac.com/glossary/neural-network.md)
- [Open-weights model](https://skillalmanac.com/glossary/open-weights-model.md)
- [CUDA](https://skillalmanac.com/glossary/nvidia-cuda.md)
- [RunPod](https://skillalmanac.com/glossary/runpod.md)
- [Cerebras](https://skillalmanac.com/glossary/cerebras.md)
- [Serverless GPU](https://skillalmanac.com/glossary/serverless-gpu.md)

## Sources

- [What is a GPU?](https://www.ibm.com/think/topics/gpu), IBM (accessed 2026-11-24)
- [GPU Performance Background User's Guide](https://docs.nvidia.com/deeplearning/performance/dl-performance-gpu-background/index.html), NVIDIA Deep Learning Performance documentation (accessed 2026-11-24)
- [CompVis/stable-diffusion](https://github.com/CompVis/stable-diffusion), CompVis (GitHub) (accessed 2026-11-24)

Definitions are written by Skill Almanac from the sources above and checked against them on 2026-11-25. [Glossary index](https://skillalmanac.com/glossary.md).
