# CUDA

> Canonical: https://skillalmanac.com/glossary/nvidia-cuda | Last verified: 2026-11-24 | Index status: not offered to search engines

CUDA (Compute Unified Device Architecture) is NVIDIA's computing platform for running general computations on its GPUs. It is used to run parallel arithmetic, such as the calculations AI models need, on those chips.

Also called: NVIDIA CUDA, CUDA platform, CUDA cores, CUDA for AI, Compute Unified Device Architecture, CUDA toolkit.

## In plain language

CUDA is the software layer NVIDIA provides so that programs, not just games, can use its graphics chips for heavy calculation. AI models need huge numbers of small calculations at once, and a GPU does these in parallel. CUDA is how software talks to the GPU to do that. When an AI tool says it needs CUDA, it means it expects an NVIDIA GPU with matching drivers and libraries. The practical limit is compatibility: it works with NVIDIA hardware, so a Mac or an AMD card needs a different route. Check that versions match before you start.

## Technical definition

NVIDIA's CUDA Programming Guide describes CUDA as a computing architecture and platform that lets computational workloads use the throughput of GPUs independent of graphics APIs, with programming in high-level languages such as C++. It describes GPUs as built to run thousands of threads in parallel. NVIDIA's CUDA Toolkit page describes the toolkit as a development environment for creating high-performance, GPU-accelerated applications. IBM describes CUDA as a software platform and application programming interface that gave developers direct access to GPUs' parallel computation abilities.

## How it shows up when you use agents

If you use hosted agents such as Claude Code, Codex or Cursor, you do not need to install CUDA, because the model runs on the vendor's servers. CUDA appears when you run a model yourself, for example with a local model server such as [Ollama](/glossary/ollama) on a machine with an NVIDIA GPU, where the software may use CUDA to run the model on the card. See [GPU for AI](/glossary/gpu-for-ai) for the hardware side.

What breaks when this is misunderstood is setup. Another trap is assuming CUDA is needed everywhere. It is NVIDIA's platform, so other hardware uses other software routes.

A next action: before pulling a large model, check that it fits in your GPU's memory (the sizing skill below does this), then check that your driver and CUDA versions match what your tool's documentation requires. Treat "needs CUDA" as meaning "needs an NVIDIA GPU". See [Self-hosted LLM](/glossary/self-hosted-llm) for the wider trade-offs.

## Common confusions

- **CUDA versus GPU.** A GPU is the chip. CUDA is NVIDIA's software platform for programming it. NVIDIA's guide describes CUDA as a computing architecture and platform.
- **CUDA versus a CUDA core.** The platform and a hardware unit share a name but are different things.
- **CUDA versus an AI framework.** CUDA is a platform for programming GPUs. A framework such as [PyTorch](/glossary/pytorch) is a separate tool for building models.
- **Myth.** You do not need CUDA to use AI. Hosted tools run on the vendor's side, and some local tools run on a CPU or other hardware.

## 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 fit check for an open-weight language model on a given GPU, Mac or PC, with a script that computes weight, KV-cache and overhead memory per quantization.

Why it exercises the concept: Whether a model runs on your NVIDIA GPU is a memory question first. CUDA is the software route to the card, and this skill checks if the model fits on it.

### [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 covers what you take on when an agent runs on your machine: matching the model to your hardware, the memory it needs, network exposure and vetting skills.

Why it exercises the concept: Running a model locally on an NVIDIA GPU is where you meet CUDA drivers and versions. The guide covers the wider set of things you own once you self-host.

### [Claude Code](https://skillalmanac.com/tools/claude-code)

```
/model
```

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

What you see: Claude Code lists the models the session can use and marks the active one.

Why it exercises the concept: A hosted model runs on the vendor's hardware, so you do not install CUDA for it. CUDA only enters when you run a model on your own NVIDIA GPU.

## Related terms

- [GPU for AI](https://skillalmanac.com/glossary/gpu-for-ai.md)
- [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)
- [Deep learning](https://skillalmanac.com/glossary/deep-learning.md)
- [Ollama](https://skillalmanac.com/glossary/ollama.md)

## Sources

- [Introduction (CUDA Programming Guide)](https://docs.nvidia.com/cuda/cuda-programming-guide/01-introduction/introduction.html), NVIDIA Documentation (accessed 2026-11-24)
- [CUDA Toolkit](https://developer.nvidia.com/cuda/toolkit), NVIDIA Developer (accessed 2026-11-24)
- [What is a GPU?](https://www.ibm.com/think/topics/gpu), IBM (accessed 2026-11-24)

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