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.
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.Apollo 11, 19692 pages of text
A large AI model, 20263 million books
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:
- 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.
- 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.
- 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.
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.
| RAM | VRAM | Unified memory | |
|---|---|---|---|
| Where it sits | Next to the processor | On the graphics card | One pool for processor and graphics chip |
| Typical size in 2026 | 16 to 128 GB in a PC | 8 to 32 GB on a consumer card | 16 to 512 GB |
| Speed for AI | Slow | Fast | Medium to fast |
| Add more later? | Usually yes | No | No |
| Found in | Every PC and server | Gaming PCs, workstations, AI servers | Apple 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.
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.
- 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.
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.
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.
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.
| Neocloud | Headquarters | Good to know |
|---|---|---|
| United States | ||
| CoreWeave | Livingston, New Jersey | More than 50 data centres in the US and Europe |
| Lambda | California | Founded in San Francisco in 2012 |
| Crusoe | United States | European headquarters in Dublin, sites in Norway and Iceland |
| Europe | ||
| Nebius | Amsterdam, Netherlands | Listed on the Nasdaq stock exchange |
| Nscale | London, United Kingdom | Sites in Norway, the UK, Portugal, Iceland and the US |
| Verda | Helsinki, Finland | Called 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 server | Rented capacity | Public AI service | |
|---|---|---|---|
| Where the memory is | In your office | In a provider’s data centre | In the AI company’s data centre |
| Who can reach your data | You | You and the provider’s operators | The AI company |
| What you pay | Once, for the machine | For the capacity, per hour or month | Per token or per seat |
| Time to start | Weeks | Days | Minutes |
| Effect of the shortage | Higher price for the machine | Prices follow the market | Prices 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.
Your files sit in memory that belongs to the provider, under the law of the provider’s country.
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 callAll figures checked in November 2026.
- TrendForce: Rapid Contract Price Surge Drives 1Q26 DRAM Industry Up 81% QoQ, 1 June 2026
- TrendForce: DRAM Industry Revenue Rises 59.5% QoQ in 2Q26, 7 September 2026
- DRAMeXchange (TrendForce) contract prices: current price table. Monthly values as reported by Seoul Economic Daily (start of the series), SBS Biz (2018 high, phase-out of DDR4), The Elec (2019), Seoul Economic Daily (2020), New Daily (2021) and SBS Biz (October 2026). Every month from 2022 with its press report: Silicon Analysts
- TrendForce forecasts for 2026: second quarter, third quarter, fourth quarter
- NASA: Computers in Spaceflight, the Apollo guidance computer
- Nvidia: Vera Rubin NVL72 specifications and Inside NVIDIA Rubin GPU Architecture
- Red Hat: How AI inference works, clearly explained
- Apple: Apple unleashes M1, 10 November 2020, and Mac Studio technical specifications
- Nvidia: DGX Spark and GeForce RTX 5090 specifications
- AMD: Ryzen AI Max+ 395 specifications
- Tom’s Hardware: OpenAI’s Stargate project to consume up to 40% of global DRAM output, 1 October 2025
- Tom’s Hardware on Toto: 23 January 2026 and 17 February 2026
- Model cards on Hugging Face: gpt-oss-20b, gpt-oss-120b, Gemma 4 E4B, Gemma 4 31B, Qwen3.8 27B, Kolibri-1, DeepSeek V4 Flash, MiniMax M3, DeepSeek V4 Pro, Kimi K3
- Neoclouds, own pages and press releases: CoreWeave, Lambda, Crusoe, Nebius, Nscale (headquarters), Verda
- Google Trends, five years to November 2026, our own comparison