All posts

What is AI memory? RAM, VRAM, unified memory and HBM, and why AI needs so much of it

The computer that guided Apollo 11 to the Moon in 1969 had about 4 KB of working memory, enough for two pages of text. Kimi K3, one of the largest AI models anyone can download today, takes up 1,561 GB: 381 million times as much. Demand like this is one reason why the price computer makers pay for memory chips roughly doubled in the first three months of 2026. This guide explains what memory does for an AI model, how RAM, VRAM, unified memory and HBM differ, why memory got so expensive, how much you need to run a model yourself, and what a neocloud is.

Patric Slis
Patric Slis9 November 2026 · 10 min read

Memory, 1969 and 2026

Apollo 11 flew to the Moon with memory for two pages of text. A large AI model needs a library of 3 million books.
One character of text takes one byte. Apollo Guidance Computer: 2,048 words of working memory, about 4 KB, next to a fixed memory for its programs, according to NASA. AI model: Kimi K3, 1,561 GB on Hugging Face. Counted with 1,800 characters per page and 500,000 per book.
The short answer

Definition: AI memory is the fast working memory a model runs in: RAM, VRAM or unified memory. The whole model has to be loaded into it before it can answer, and every running conversation takes up more. It is something different from storage, and something different from the “memory” feature in ChatGPT.

In one line: the model lives in memory, and the bigger the model, the more memory it needs.

What is memory in AI?

Memory is where a computer keeps what it is working on right now. For an AI model, that is the model itself plus every conversation it is having. Three things share the word, and they are easy to mix up:

  • Storage keeps files when the power is off. An SSD or hard drive is storage. It is large, cheap and slow.
  • Memory holds what is in use this second. RAM, VRAM and unified memory are memory. It is small, expensive and fast, and it is empty again after a restart.
  • The “memory” feature in ChatGPT, Claude and other apps is a note the app keeps about you and adds to your next conversation. It has nothing to do with memory chips. The model itself remembers nothing between two requests, as we explain in What is an LLM?

This guide is about the second one.

Context window vs memory. The context window is how much text a model can look at in one go, counted in tokens. Every token in that window takes up memory while the conversation runs, so a longer context needs more memory.

Why does AI need so much memory?

Because the entire model has to sit in memory at once, and every conversation is stored on top of it. Three things add up:

  1. The model. A model is a long list of numbers, its parameters. Each one takes space: 2 bytes in the usual format, about half a byte when compressed to 4 bits. A model with 100 billion parameters therefore needs about 200 GB, or about 50 GB compressed.
  2. The conversation. While it writes, the model keeps notes on every token it has read so far, so that it does not have to read everything again for each new word. Engineers call these notes the KV cache. They grow with every token.
  3. The number of users. The model is loaded once, but every person talking to it gets their own notes.

Red Hat has worked this through for OpenAI’s open model gpt-oss-120b. The model has 117 billion parameters and would need about 234 GB in the usual format. OpenAI ships it compressed, so it fits on one GPU with 80 GB and leaves 15 to 20 GB free. Each token of conversation then costs about 36 KB, and a long document of 32,000 tokens about 1.2 GB.

One GPU with 80 GB, running OpenAI’s open model gpt-oss-120b
The model
60 to 65 GBThe model, loaded once
about 1.2 GBEach long document
12 to 16Documents until it is full
After 12 to 16 long documents at the same time, the card is full. Our calculation from Red Hat’s figures.

Training vs inference. Training a model needs even more memory than using it, because every intermediate result has to be kept. Using a model, called inference, needs less per request but runs all day for every user. The market researcher TrendForce notes that AI work in data centres is moving from training towards inference.

RAM vs VRAM vs unified memory

RAM belongs to the processor, VRAM sits on the graphics card, and unified memory is one pool that both share. For AI, VRAM is the fastest and the smallest, RAM is the largest and the slowest, and unified memory sits in between.

CPURAMGPU
RAMLarge and slow. The graphics chip has to fetch everything across a bridge.
CPUGPUVRAM
VRAMFast and small. The model sits right next to the graphics chip.
CPUGPUUnified memory
Unified memoryOne pool for both. Nothing is copied from one side to the other.
CPU is the processor, GPU the graphics chip. AI models do their calculating on the GPU.
RAMVRAMUnified memory
Where it sitsNext to the processorOn the graphics cardOne pool for processor and graphics chip
Typical size in 202616 to 128 GB in a PC8 to 32 GB on a consumer card16 to 512 GB
Speed for AISlowFastMedium to fast
Add more later?Usually yesNoNo
Found inEvery PC and serverGaming PCs, workstations, AI serversApple Macs, some AI mini PCs

Sizes from the specifications of Nvidia, Apple and AMD, November 2026.

What is VRAM? VRAM is the memory on a graphics card. It was built for games, where the picture has to be ready many times a second. AI models run best on the same chips, so the model has to fit into that memory. The largest consumer card from Nvidia, the RTX 5090, has 32 GB.

What happens when a model does not fit? Part of it moves to normal RAM. It still runs, but every word now has to cross the slow bridge between the two, and the answer crawls.

What is unified memory? Unified memory is a single block of memory that the processor and the graphics chip use together. Nothing has to be copied from one side to the other, and the graphics chip can use nearly all of it.

Apple Silicon made it popular. Apple introduced its unified memory architecture with the M1 chip in November 2020 and described it as “a single pool” that every part of the chip can reach “without copying it between multiple pools of memory”. Apple’s stated reason was performance and efficiency. Since then it has turned out to be a very good home for AI models: a Mac Studio with the M5 Ultra chip can be ordered with up to 512 GB of unified memory, sixteen times what the largest consumer graphics card holds.

Others followed. Nvidia sells the DGX Spark, a small desktop computer with 128 GB of unified memory. AMD’s Ryzen AI Max+ 395 chip supports up to 128 GB that processor and graphics share. In the US, Google searches for “unified memory” rose from 1 to 20 on Google’s scale of 100 between 2021 and 2026, in our own comparison.

Is unified memory the same as RAM? It is RAM, organised differently. 16 GB of unified memory holds as much as 16 GB of RAM. The difference is that the graphics chip can use it too.

Why speed matters: memory bandwidth

Memory bandwidth is how much data memory can deliver per second, and for AI it decides how fast the words appear. To write one token, the model has to read through all the parameters it uses for that token. A model that reads 30 GB per token on memory that delivers 90 GB per second can write three tokens per second at most. On memory that delivers 1,200 GB per second, the limit is 40.

A typical PCDDR5 RAM, two modulesabout 90 GB/s
AMD Ryzen AI Max+ 395Unified memoryabout 256 GB/s
Nvidia DGX SparkUnified memory273 GB/s
Apple M5 MaxUnified memoryup to 614 GB/s
Apple M5 UltraUnified memory1,200 GB/s
Nvidia Rubin GPUHBM4, data centre19,200 GB/s16 times the bar above. It does not fit on this scale.
Makers’ figures, November 2026. The PC and AMD values are calculated from the memory standard and AMD’s specification.

This is why two machines with the same amount of memory can feel completely different, and why a data-centre GPU answers many people at once while a laptop serves one.

What is HBM?

HBM stands for high-bandwidth memory. It is memory built for AI chips: several memory chips stacked on top of each other and placed directly next to the processor, so that data has only millimetres to travel.

One stackTwelve memory chips on top of each other.
GPU
One GPUUp to 288 GB, right beside the processor.
One rack72 GPUs with about 20,700 GB.
Nvidia’s Rubin GPU and the Vera Rubin NVL72 rack, from Nvidia’s specifications.
  • How much: Nvidia’s current Rubin GPU uses stacks of twelve layers and carries up to 288 GB of the newest generation, HBM4.
  • How fast: 19,200 GB per second per GPU, more than 200 times a typical PC.
  • Who makes it: three companies, Samsung, SK hynix and Micron. Together they took in 88% of the world’s revenue with this family of memory chips, called DRAM, in the second quarter of 2026, according to TrendForce.

HBM vs DRAM. HBM is DRAM, the same kind of memory as in a PC, built in a different shape. That detail explains the next section: every stack of HBM uses factory capacity that could have made memory for laptops and phones.

Why is RAM so expensive?

RAM is expensive because the same factories make memory for PCs and for AI servers, and the AI servers come first. Three companies make most of it, new factories take years, and AI data centres buy as much as they can get.

The longest record is the price PC makers pay for one standard memory chip. DRAMeXchange, the price service of TrendForce, has reported it every month since June 2016. For more than nine years it moved between $1.30 and $8.19. In October 2026 it stood at $27.50: more than nine times the $2.90 of June 2016, and twenty times the price of March 2025.

What PC makers pay for one standard memory chip, June 2016 to October 2026
DRAMeXchange (TrendForce): average monthly contract price of a DDR4 chip with 8 gigabits, in US dollars, as reported by Yonhap, News1 and other Korean media. Every month from 2022, single months before that. Dotted: only the first value and the 2018 high are shown.

This chip is an older type, called DDR4. Its makers are phasing it out in favour of newer memory, which is one reason its price rose so steeply. Newer memory went up as well: across all standard memory, TrendForce measured a rise in contract prices of 93 to 98% in the first three months of 2026 alone. The revenue of all DRAM makers together went from $97 billion in the first quarter to almost $155 billion in the second.

One deal made it visible. In October 2025, Samsung and SK hynix signed preliminary agreements to supply memory for OpenAI’s Stargate data centres. Reports put the possible demand at up to 900,000 wafers a month, which Tom’s Hardware estimated at as much as 40% of the world’s output. Whatever the final number turns out to be, it showed how much memory a single AI project can ask for.

Even a toilet maker benefits. Toto, Japan’s best-known maker of toilets, has also produced ceramic parts since 1988 that hold silicon wafers in place during chipmaking. They are used in making flash chips, the storage inside SSDs, which AI data centres buy in bulk as well. In January 2026 Toto’s shares rose 11% in a day. Analysts at Goldman Sachs put that down to these parts, the Japan Times reported. In February the activist investor Palliser Capital, a Toto shareholder, wrote to the company’s board and called it “the most undervalued and overlooked AI memory beneficiary”, according to the Financial Times. We quote both reports from Tom’s Hardware.

When will RAM prices go down? Nobody knows. What TrendForce’s forecasts say for now is that prices are still rising at the end of 2026, only more slowly than at the start of the year.

Search interest tells the same story

We compared Google searches over five years. In the US, the UK and Germany, “VRAM” is searched five to seven times as often in 2026 as in 2021. “RAM prices” went from 2 to 22 in the US, and from 0 to 27 in the UK.

Searches for “VRAM”20212026Growth
United States11595.4×
United Kingdom10626.1×
Germany7476.7×
Google Trends, web search, yearly averages on a scale from 0 to 100, five years to November 2026. Our own comparison.

How much memory do you need to run an LLM?

For a local LLM, one that runs on your own hardware, count about half a gigabyte of RAM or VRAM for every billion parameters, plus room for the conversation. That rule holds for a model compressed to 4 bits per parameter, the usual way to run one locally.

16 GBA normal laptopgpt-oss-20bGemma 4 E4B
32 GBThe largest consumer graphics cardGemma 4 31BQwen3.8 27B
128 GBA small AI desktop with unified memorygpt-oss-120bKolibri-1
512 GBA top-end desktop with unified memoryDeepSeek V4 FlashMiniMax M3
Several GPUsA server with 288 GB per GPUDeepSeek V4 ProKimi K3
Parameter counts from the model cards on Hugging Face, November 2026. Memory needs are our calculation at 4 bits per parameter, for the model alone.

Three honest limits:

  • Fitting is not the same as fast. A model that just fits into slow memory may write only a few words per second.
  • Long documents need extra. The rule covers the model. A long contract or a large folder of files needs gigabytes on top.
  • More users need more. A machine that serves one person well may not serve twenty.

What is a neocloud?

A neocloud is a cloud provider built around GPUs for AI. It rents out exactly the memory and computing power this guide describes, by the hour or on long contracts, to companies that do not want to buy the hardware.

Neocloud vs hyperscaler. A hyperscaler such as Amazon, Microsoft or Google offers hundreds of cloud services, from email to databases. A neocloud offers one thing: GPUs, the memory on them and the network between them. That focus is their selling point.

NeocloudHeadquartersGood to know
United States
CoreWeaveLivingston, New JerseyMore than 50 data centres in the US and Europe
LambdaCaliforniaFounded in San Francisco in 2012
CrusoeUnited StatesEuropean headquarters in Dublin, sites in Norway and Iceland
Europe
NebiusAmsterdam, NetherlandsListed on the Nasdaq stock exchange
NscaleLondon, United KingdomSites in Norway, the UK, Portugal, Iceland and the US
VerdaHelsinki, FinlandCalled DataCrunch until 2025

Neocloud providers by headquarters, from the companies’ own pages and press releases, November 2026. Older European cloud providers such as Scaleway and OVHcloud also rent out GPUs.

Why it matters where a neocloud is from. A data centre in Europe keeps your data in Europe. Which authorities can demand it depends on the company that runs the data centre, as we explain for the US CLOUD Act in What is an LLM? So two questions belong in every offer: where does the hardware stand, and where is the provider based.

Buy, rent or share: where should your AI memory sit?

A company has three ways to get AI memory, and each one decides where its data goes.

Your own serverRented capacityPublic AI service
Where the memory isIn your officeIn a provider’s data centreIn the AI company’s data centre
Who can reach your dataYouYou and the provider’s operatorsThe AI company
What you payOnce, for the machineFor the capacity, per hour or monthPer token or per seat
Time to startWeeksDaysMinutes
Effect of the shortageHigher price for the machinePrices follow the marketPrices and limits set by the provider

There is no single right answer. A team that only drafts marketing copy can use a public service. A firm that works with client files should know which memory those files pass through, and who owns it.

That question is why many companies choose private AI: models that run in memory they control, in their own office or on servers in the EU.

Public AI chat

Your files sit in memory that belongs to the provider, under the law of the provider’s country.

Private AI with Zedar

AI agents on EU servers or in your office. Every answer shows its source. €200 per seat and month.

See how Zedar handles this on your own documents.

Request a call
Sources

All figures checked in November 2026.

Run AI on memory you control.

Tell us what your team works on. We call you back and show you how private AI runs on EU servers that never save your files, or on a server in your office.

Request a call