# Compute (AI)

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

In AI, compute is the amount of computing work, and the hardware that does it, used to train or run a model. Training compute is the total calculation spent in one training run.

Also called: AI compute, compute AI, training compute, compute power AI, AI computing power.

## In plain language

Compute is the raw calculating effort behind an AI model. Training a large model means doing an enormous number of arithmetic steps, and that takes many specialised chips running in a data centre for a long time, which costs money and electricity. It is like the fuel for a long journey: more of it lets you go further, but it does not choose the destination. More compute does not make a model correct, and it does not decide how well the model suits your task. As a user you do not usually buy compute directly. You see it indirectly, in what you are charged to use a model and in how fast answers arrive.

## Technical definition

The scaling-laws paper by Kaplan et al. (arXiv 2001.08361, submitted 23 January 2020) treats the amount of compute used for training as one of three quantities, with model size and dataset size, on which language-model loss depends, and studies how loss scales with compute, data and parameters. See [FLOPS](/glossary/flops) for the unit. NVIDIA's glossary says large-scale compute infrastructure is needed to maintain and develop generative models. IBM describes AI models as trained and run on data center GPUs. Compute for training is distinct from compute for inference, the cost of each request.

## How it shows up when you use agents

You do not manage compute when you use Claude Code, Codex or Cursor. The vendor runs the hardware, and you meet compute as latency, price and limits. A long, complex request takes longer and uses more tokens, and a provider may apply a [rate limit](/glossary/rate-limit).

If you run a model yourself, compute becomes your problem. A model that fits on a machine with a modern graphics chip may be too slow on one without. See [GPU for AI](/glossary/gpu-for-ai) and [inference](/glossary/inference) for the run-time side.

What breaks when this is misunderstood: assuming that a larger model, which takes more compute to train and to run, will do your task better, or treating a vendor's compute spending as a quality signal. The safer habit is to test two or three models on your own tasks and pay for what the results justify. For how training compute relates to model quality in research, see [scaling laws](/glossary/scaling-laws).

## Common confusions

- **Compute versus hardware.** Compute is the amount of work. A GPU or other chip is the hardware that does it.
- **Training compute versus inference compute.** One is spent once to build the model, the other on every request.
- **Compute versus FLOPS.** Compute is the quantity. [FLOPS](/glossary/flops) is a rate used to describe how fast hardware can do it.
- **Myth.** More compute guarantees a better model. The scaling-laws paper reports how loss varies with compute in its tests, and does not claim anything about your task.

## Worked examples in this catalogue

### [llm-cost-estimator](https://skillalmanac.com/skills/skill-almanac/llm-cost-estimator)

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

What you see: A monthly LLM cost range from a usage profile and your own price table, with cache, batch and subscription effects.

Why it exercises the concept: This skill works from the price, not the compute, so it shows the end-user side only.

### [agent-session-cost-review](https://skillalmanac.com/skills/skill-almanac/agent-session-cost-review)

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

What you see: A report of where a saved coding-agent session spent its tokens, produced by a script that reads the session transcript.

Why it exercises the concept: Tokens are the unit you pay for. They are a proxy for the compute a request used, not a measure of it.

### [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 the context window, per-token pricing and API errors from an agent user's point of view.

Why it exercises the concept: It covers the run-time side of an LLM, where compute shows up for a user as speed and price rather than as hardware.

## Related terms

- [Scaling laws](https://skillalmanac.com/glossary/scaling-laws.md)
- [GPU for AI](https://skillalmanac.com/glossary/gpu-for-ai.md)
- [Inference](https://skillalmanac.com/glossary/inference.md)
- [Model weights](https://skillalmanac.com/glossary/model-weights.md)
- [Large language model (LLM)](https://skillalmanac.com/glossary/large-language-model.md)
- [FLOPS (floating-point operations per second)](https://skillalmanac.com/glossary/flops.md)

## Sources

- [Scaling Laws for Neural Language Models](https://arxiv.org/abs/2001.08361), arXiv (Kaplan et al.) (accessed 2026-11-24)
- [What Is Generative AI?](https://www.nvidia.com/en-us/glossary/generative-ai/), NVIDIA (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).
