# Metal

- **Canonical URL:** https://getaimath.com/dictionary/metal/
- **Topics:** [AI Infrastructure & Runtime](https://getaimath.com/dictionary/category/ai-infrastructure-and-runtime/)
- **Last updated:** 2026-11-25

## What is Metal?

**In one sentence:** Metal is Apple's graphics and computing platform that lets software use the GPU on Macs, iPhones and iPads.

AI tools like llama.cpp and MLX use Metal to run models quickly on Apple chips.

![AI Runtime Engines: Sharing the Oven So Nobody Waits in Line — Simple cartoon showing 4 users ordering at a coffee counter: instead of making everyone wait behind one huge order, a smart Runtime Engine serves all 4 side-by-side at the same time.](https://getaimath.com/diagrams/ai-infrastructure-and-runtime.png)
*Napkin Diagram (AI Infrastructure & Runtime): A runtime engine is the traffic controller that lets one AI chip serve dozens of people at once without anyone getting stuck.*

## What is an example of Metal?

Running a local LLM on a MacBook's GPU through llama.cpp uses Metal.

## Why does Metal matter?

Metal makes Apple devices strong platforms for local AI.

## Related Concepts

- [CUDA Kernel](https://getaimath.com/dictionary/cuda-kernel/): A CUDA kernel is a GPU program written with NVIDIA's CUDA that runs in parallel across thousands of GPU threads.
- [Vulkan](https://getaimath.com/dictionary/vulkan/): Vulkan is a cross-platform graphics and compute standard that works on GPUs from many companies.
- [Kernel](https://getaimath.com/dictionary/kernel/): In AI computing, a kernel is a small, highly optimized program that runs one operation on a GPU or other accelerator.
- [ROCm](https://getaimath.com/dictionary/rocm/): ROCm is AMD's software platform for running AI and other computing work on AMD GPUs, similar to NVIDIA's CUDA.
- [Quantization Backend](https://getaimath.com/dictionary/quantization-backend/): A quantization backend is the software that implements a particular quantization format and runs quantized models.
- [OpenCL](https://getaimath.com/dictionary/opencl/): OpenCL is an older open standard for running parallel computations on many kinds of processors, including GPUs and CPUs.

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