Table of Contents

Since 2023, semiconductor markets have split. Consumer electronics chip demand has been soft; data center memory has been severely supply-constrained. The driver is AI—specifically, the fact that LLM inference is fundamentally memory-bandwidth-bound in a way that traditional computing workloads are not. This piece explains why.

TL;DR

LLM inference requires loading model weights and maintaining KV caches in high-bandwidth memory at all times. This makes HBM (High Bandwidth Memory) the rate-limiting component of AI accelerators. The memory market grew 78% in 2024; HBM supply is committed through 2026, and the upcycle is expected to run at least through 2028.

What HBM Is

HBM stacks multiple DRAM layers vertically using Through-Silicon Vias (TSV) and connects them to a GPU via a silicon interposer. The result is dramatically higher bandwidth and capacity than conventional GDDR memory, at the cost of significantly higher manufacturing complexity and price.

HBM3eGDDR6
Bandwidth (per GPU)1.2+ TB/s768 GB/s
Capacity (per GPU)80–192 GB24–48 GB
Power consumptionLower (short trace lengths)Higher
CostSignificantly higherRelatively lower

NVIDIA’s H100 ships with 80 GB HBM3; the H200 uses HBM3e with up to 141 GB. These specs exist because LLM workloads demand them.

Why AI Creates Unusual Memory Requirements

LLM inference has a compute profile unlike gaming, scientific simulation, or traditional database queries.

Model weights must fit in memory: a 70B-parameter model at fp16 precision requires approximately 140 GB of memory. Those weights need to be accessible to GPU compute cores on every forward pass, which means they must live in HBM—swapping to CPU DRAM introduces latency that is prohibitive for real-time inference.

Inference is memory-bandwidth-bound, not compute-bound: during the decode phase (generating tokens one by one), the transformer attention mechanism repeatedly reads the KV cache and weight matrices. GPU compute cores spend most of their time waiting for data to move from HBM rather than performing calculations. Adding more compute cores does not help; adding more memory bandwidth does.

KV caches grow with context length: during generation, the model must cache key-value states for every token in the context. A 4K-context KV cache is a few gigabytes; a 128K-context cache is orders of magnitude larger. Longer context windows—which users increasingly want—directly translate to more HBM pressure.

graph LR
  subgraph "LLM Inference Memory Requirements"
    W["Model weights\n70B model ≈ 140 GB fp16"]
    KV["KV Cache\ngrows linearly with context"]
    Act["Activation memory\nrelatively small"]
  end

  subgraph "HBM's Role"
    BW["Provide bandwidth\nso GPU cores don't stall"]
    Cap["Provide capacity\nfor weights + cache"]
  end

  W --> Cap
  KV --> Cap
  W --> BW
  KV --> BW

Market Structure

Supply side: HBM production requires complex wafer bonding and TSV processes. Only three manufacturers have commercial capacity:

  • SK Hynix: approximately 62% market share, dominant supplier to NVIDIA (roughly 90% of NVIDIA’s HBM comes from SK Hynix)
  • Micron: approximately 21%
  • Samsung: approximately 17% (yield challenges have kept it behind)

HBM capacity across all three suppliers is essentially committed through the end of 2026.

Demand side: data center DRAM consumption has risen from 32% of global DRAM demand five years ago to approximately 50% in 2025, and is projected to exceed 60% by 2030.

Prices: overall DRAM prices rose 30–60% in 2024-2025; NAND flash prices approximately doubled over the same period.

Cycle duration: Micron projected in December 2025 that tight market conditions would persist beyond calendar 2026. Analyst projections put the HBM total addressable market at approximately $35 billion in 2025, growing to approximately $100 billion by 2028—a 40% CAGR.

Why This Cycle Differs from Previous Semiconductor Cycles

Previous cycles, like the 2021 COVID chip shortage, were demand shocks combined with supply-chain disruption. The current cycle has a different structure.

Demand is structural: hyperscaler AI infrastructure investment is multi-year capital expenditure, not consumer demand that snaps back after a shock. Google, Microsoft, Meta, and Amazon are signing multi-year procurement agreements for both GPUs and HBM.

Supply is genuinely constrained: HBM fab capacity takes two to three years to expand. Yield challenges at Samsung have kept effective supply growth slower than planned.

Demand has stickiness: even if AI investment moderates, deployed models still require HBM for inference. The installed base of AI accelerators creates persistent demand independent of new purchases.

Implications for Engineers

Cloud GPU costs remain elevated: HBM is a significant cost component of H100 and A100 hardware. GPU rental prices will stay high as long as HBM is constrained.

Model compression becomes economically rational: quantization (INT8, INT4), weight pruning, and knowledge distillation are not just academic exercises—they directly reduce HBM requirements, which reduces infrastructure cost.

Memory-efficient attention is a real engineering discipline: FlashAttention, PagedAttention (vLLM), and related techniques aim to reduce KV cache HBM footprint, allowing the same hardware to serve more concurrent requests or handle longer contexts.

Summary

The AI memory supercycle is not hype. It follows directly from a technical property of LLM inference: the decoder is memory-bandwidth-bound, model weights are large, and KV caches grow with context. HBM is not “faster RAM”—it is the enabler that makes large-scale LLM inference possible at all. How long this cycle lasts depends on the pace of AI infrastructure investment and the rate at which HBM production capacity can be expanded.

References

Ask this article

Answers come from this article only. Click any prompt below or open the chat at the bottom right.

🇺🇸 English

Since 2023, something strange has been happening in the semiconductor world. The market has essentially split in two. On one side, consumer electronics chips — the stuff in phones and laptops — demand has been soft. On the other side, data center memory has been so supply-constrained that companies literally can't get enough of it. And the reason for that split comes down to one thing: AI. More specifically, a technical property of how large language models actually run that makes them hungry for memory in a way traditional computing never was.

Let me give you the punchline up front. When a large language model generates text, it has to keep two things loaded in ultra-fast memory at all times: the model's weights, and something called the KV cache. That requirement makes a specific kind of memory — HBM, High Bandwidth Memory — the single most important bottleneck in AI accelerators. The memory market grew seventy-eight percent in 2024. HBM supply is already spoken for through the end of 2026. And this upcycle is expected to run at least through 2028.

So first, what is HBM? Picture a stack of DRAM memory chips piled vertically, one on top of another, connected by tiny vertical wires that punch straight through the silicon — those are called through-silicon vias. That whole stack sits right next to the GPU on a shared silicon base. The payoff is dramatically higher bandwidth and capacity than conventional graphics memory. The cost is that it's much harder to manufacture and much more expensive.

Just to make the gap concrete — the current generation, HBM3e, moves more than 1.2 terabytes per second per GPU and gives you anywhere from 80 to nearly 200 gigabytes of capacity. Compare that to GDDR6, the memory you'd find in a gaming card: it tops out around 768 gigabytes per second and maybe 24 to 48 gigabytes of capacity. HBM also runs cooler because the wires are so short, and yes, it costs a lot more. This is why NVIDIA's H100 ships with 80 gigabytes of HBM3, and the H200 pushes that up to 141 gigabytes with HBM3e. Those specs aren't arbitrary — the AI workloads demand them.

Now here's the heart of it: why does AI create such unusual memory requirements? Because LLM inference just doesn't behave like gaming or scientific simulation or database queries.

Reason one: the model weights have to physically fit in memory. A 70-billion-parameter model at half precision needs roughly 140 gigabytes. And those weights have to be reachable by the GPU's compute cores on every single forward pass. You can't stash them in the CPU's slower memory and swap them in — the delay would kill any hope of real-time responses.

Reason two, and this is the big one: inference is memory-bandwidth-bound, not compute-bound. When the model generates text, it produces tokens one at a time, and for each token the attention mechanism keeps reading the KV cache and the weight matrices over and over. So the GPU's compute cores spend most of their time just... waiting. Waiting for data to arrive from memory. Which means throwing more compute cores at the problem doesn't help. Adding more memory bandwidth does. That's a genuinely counterintuitive flip from how we normally think about "faster chips."

Reason three: the KV cache grows with context length. As the model generates, it caches the key-value states for every token in the conversation. A short 4,000-token context might need a few gigabytes. A 128,000-token context? Orders of magnitude bigger. And here's the trap — users keep wanting longer and longer context windows, and every bit of that translates directly into more pressure on HBM.

So if you picture the whole thing: model weights and the KV cache both compete for two resources — capacity, so everything fits, and bandwidth, so the cores don't stall. HBM is what provides both.

Let's talk about the market, because the structure here is fascinating. On the supply side, making HBM requires this complex wafer-bonding and through-silicon-via process, and only three companies on Earth can do it commercially. SK Hynix dominates with about 62 percent of the market — and critically, they supply roughly 90 percent of NVIDIA's HBM. Micron sits around 21 percent. Samsung is at about 17 percent, held back by yield problems they're still working through. And across all three, capacity is basically committed through the end of 2026.

On the demand side, look at how data centers are eating up memory. Five years ago, data centers were about 32 percent of global DRAM demand. In 2025 that's roughly half. By 2030 it's projected to top 60 percent. Prices reflect it — overall DRAM prices rose 30 to 60 percent across 2024 and 2025, and NAND flash roughly doubled. As for how long this lasts, Micron said back in December 2025 that tight conditions would stretch beyond 2026, and analysts see the HBM market growing from about 35 billion dollars in 2025 to around 100 billion by 2028. That's a 40 percent compound annual growth rate.

But here's the question worth pausing on: why is this cycle different from past semiconductor cycles? Remember the 2021 COVID chip shortage? That was a demand shock plus supply-chain chaos — a temporary spike. This one has a fundamentally different shape.

The demand is structural. Hyperscalers — Google, Microsoft, Meta, Amazon — are making multi-year capital investments in AI infrastructure. They're signing multi-year procurement contracts for both GPUs and HBM. That's not consumer demand that snaps back after a shock; it's committed spending on a long horizon.

The supply is genuinely constrained. Building new HBM fab capacity takes two to three years. And Samsung's yield troubles mean real supply is growing slower than anyone planned.

And demand is sticky. Here's the subtle part — even if AI investment cools off tomorrow, all the models already deployed still need HBM to keep running inference. The installed base of AI accelerators creates ongoing demand that doesn't depend on anyone buying new hardware.

So what does this mean if you're an engineer building on this stuff? A few practical things. Cloud GPU costs are going to stay high — HBM is a big chunk of what an H100 or A100 actually costs, and as long as it's constrained, rental prices stay elevated. That also means model compression stops being an academic exercise and becomes economically rational: quantization down to INT8 or INT4, weight pruning, knowledge distillation — these directly shrink your HBM footprint, which directly cuts your infrastructure bill. And memory-efficient attention becomes a real engineering discipline. Techniques like FlashAttention and PagedAttention — the one behind vLLM — are all about squeezing the KV cache's memory footprint so the same hardware can serve more users or handle longer contexts.

So let me leave you with the core takeaways. First: the AI memory supercycle isn't hype — it falls directly out of a technical fact about how LLMs work. The decoder is bandwidth-bound, the weights are huge, and the KV cache grows with context. Second: HBM isn't just "faster RAM." It's the thing that makes large-scale LLM inference possible at all — pull it out and the whole architecture stalls. And third: because the demand is structural and the supply takes years to expand, this cycle behaves nothing like the temporary shortages we've seen before. How long it lasts really comes down to two racing forces — how fast the industry keeps pouring money into AI infrastructure, and how fast those three manufacturers can actually bring new HBM capacity online.

🇹🇼 中文

一家做高階智慧馬桶的日本公司 TOTO,最近幾個月股價一路飆升,但理由跟馬桶賣得好不好完全沒關係。它有一塊隱藏業務——高純度陶瓷靜電吸盤,是晶片製造時用來固定晶圓的關鍵耗材,精度做到頭髮絲的八十分之一,純度業界第一。剛好碰上儲存晶片需求爆發、上游廠商瘋狂擴產,這塊耗材成了絕對剛需,訂單已經排到 2027 年,如今占了 TOTO 超過四成的營業利潤。連馬桶公司都能被當成 AI 概念股,你就知道現在記憶體這條賽道有多熱。

先用幾個數字感受一下有多緊。2026 年 1 月底,韓國雙雄三星跟 SK 海力士同時公布財報,兩家合計營業利潤接近 40 兆韓元,大概 278 億美元,等於每天淨賺約 3 億美元。SK 海力士的年終獎金人均達到約 64 萬人民幣,刷新公司紀錄。

把這一切推上巔峰的核心產品,是 HBM,高頻寬記憶體。一塊指甲蓋大小的 HBM 賣到 400 到 500 美元,比同等重量的黃金還貴。全球能量產的只有三家:SK 海力士約六成,三星跟美光各約兩成。

但 HBM 只是冰山一角。真正讓整個產業慌的,是從高階到低階、從 DRAM 到 NAND 全線告急。舉幾個誇張的例子:DDR5 的 16GB 現貨均價,從 2024 年底的 4.6 美元漲到 2025 年 12 月的 28 美元,漲了大概五倍;更舊世代的 DDR4 更誇張,從 3.2 美元漲到 62 美元以上,漲幅接近十八倍。SK 海力士 2026 年的產能已經全部賣光,三星直接把第一季的 NAND 供應價翻倍。

還有一個更標誌性的訊號。SanDisk 在 2026 年初的 CES 上跟華爾街說,它正在跟客戶簽一種全新的長期供應協議,客戶要付預付款,毀約還不退錢。要知道在儲存產業幾十年歷史上,過去的長約從來就是廢紙——市場一進入下行周期,客戶說翻臉就翻臉,供應商拿他沒辦法。這次畫風徹底變了,變成強勢的供給方在制定規則。所以有華爾街投資人判斷:連 SanDisk 都做得到,那三巨頭沒理由做不到,這輪超級周期很可能延續到 2027 年。

在往下講之前,先把幾個基本概念分清楚。你可以用一個原則來記:離計算越近就越「熱」,越偏純儲存就越「冷」。最熱的是 DRAM,就是電腦手機裡的執行記憶體,速度極快,但斷電就丟資料,屬於短期記憶。HBM 是 DRAM 的一種特殊進化,把多層 DRAM 裸晶用矽穿孔技術垂直堆疊起來,再用先進封裝跟 GPU 貼在同一塊基板上,藉此把頻寬拉得非常高,所有頂級的 AI 訓練晶片,不管是 NVIDIA 的 GPU 還是 Google 的 TPU,都離不開它。再往下是 NAND 快閃記憶體,比較冷,是長期記憶,斷電不丟資料,SSD、手機儲存都靠它。最冷的是機械硬碟,慢但便宜、容量大,用在資料中心的冷儲存跟歸檔。整個 AI 推理對儲存的需求,越來越像一個分層倉儲:最急的熱資料放 HBM,常用的放 DRAM,備用的放 SSD,長期積累的大量資料放後端的資料湖。

那為什麼儲存一直是個周期性行業,老是在大漲跟大崩之間橫跳?背後有兩層原因。物理上,過去工程師靠把儲存單元做小做多來提升密度,巔峰時每十年能翻一百倍;但 SemiAnalysis 指出,過去這十年 DRAM 密度總共才翻了大約兩倍,縮放嚴重放緩。這意味著成本下降不再靠技術自動實現,而是更取決於產能跟供需博弈。經濟上,蓋一座先進晶圓廠動輒幾十上百億美元、要兩三年,而且是先建後賣,廠商得自己猜未來兩三年的需求提前布產能,猜對皆大歡喜,猜錯就是災難。於是就有了那個經典循環:需求爆發、供不應求、價格飆漲、利潤暴增、激進擴張、供過於求、價格崩盤、大洗牌。過去三十年平均每三到四年上演一次,從沒例外,全球 DRAM 供應商從二十幾家淘汰到今天只剩三家。而歷史上每一輪超級周期的鐵律都是:撐不過兩年。所以老從業者有種根深蒂固的條件反射——漲得越猛,崩得越快。但這一次,越來越多證據暗示這個模式可能要被打破了。

那 AI 為什麼這麼狂吃記憶體?有個很直觀的比喻:記憶體就像一塊黑板。以前算「一加一等於二」,普通黑板就夠了;但 AI 時代計算強度極高、步驟極多,如果黑板太小,每寫一步就得擦掉,一百步要擦一百次,超級浪費時間。所以現在需要一塊巨大無比的黑板,一口氣把計算寫完。

生成式 AI 早期,錢都砸在「訓練」上;但現在「推理」正迅速成為主戰場,而推理對儲存的需求複雜得多——活躍權重駐留在 HBM,部分狀態跟快取留在 DRAM,KV cache 裝不下時會被卸載到 SSD,RAG 查詢要用的外部知識放在更後端的資料湖。更大的變數是 AI Agent 的崛起。摩根士丹利有句話講得很到位:推理正在變成一種記憶體挑戰,而不只是計算挑戰。因為 Agent 要運轉,就得維護好幾層記憶:當前對話的短期工作記憶、跨會話的長期使用者歷史、預訓練知識庫、工具呼叫紀錄,每一層都要不同層級的儲存去撐。

摩根士丹利做過一份測算,以一個類似 ChatGPT 規模的模型當基準,光是純文字推理,就要吃掉 HBM 約 226 PB、DRAM 約 4.6 EB、NAND 約 47 EB、資料湖約 294 EB。如果全球有三個這種規模的模型,光純文字推理就會吃掉 2026 年全球 HBM 供給的 17%、DRAM 的 35%、NAND 的 92%,而這還沒算圖片、影片這些多模態。更敏感的是上下文長度:光是把每次輸入從兩千個 token 拉到五千,其他都不變,每個模型的 DRAM 需求就再多兩個 EB。SemiAnalysis 把這叫做「記憶體帕金森定律」——HBM 容量每提升一次,開發者就立刻建更大的模型把它填滿,直到再次撞牆。這也是為什麼有人認為,這次的周期有機會把一個周期性行業,變成結構性成長的行業。

接下來是理解這輪超級周期最關鍵、也最反直覺的一點:HBM 大規模擴產,不但沒緩解 DRAM 短缺,反而讓它更嚴重了。三大廠分給 HBM 的晶圓產能,從 2023 年底每月約十二萬片,漲到 2025 年底每月約三十三萬片,兩年將近三倍,擴得這麼猛,DRAM 為什麼還缺?關鍵在於,做 HBM 要消耗大量普通 DRAM 的產能,而且效率極低。一片用來做 HBM 十二層堆疊的晶圓,產出只有普通 DRAM 晶圓的大約三分之一,到了 HBM4 甚至可能掉到四分之一。換句話說,廠商每多生產一 GB 的 HBM,市場就要失去生產三到四 GB 普通 DRAM 的機會。

為什麼效率這麼低?因為 HBM 的製造複雜度遠超普通 DRAM,矽穿孔、晶圓減薄、背面加工這些步驟都會引入額外的良率損耗,而且做八層十二層堆疊的時候,只要有一顆裸晶是壞的,整堆可能就報廢了。所以 HBM 是一種「反向縮放」的產品——你越做它,對產能的消耗就越大。這就是業內說的「產能排擠效應」。於是又冒出一個匪夷所思的現象:普通 DRAM 工藝明明比 HBM 簡單,但因為產能受限、現貨價飛漲,到 2025 年第四季,它的利潤率竟然追平甚至超過了 HBM,因為 HBM 多半被長約鎖了價,而普通 DRAM 的現貨價能迅速反映供需緊張。

需求端已經夠瘋,供給端的約束更讓人窒息,主要三個瓶頸。第一,無塵室跟電力不夠。疫情後產業進入低谷,大家集體保守、投資縮水,導致 2025、2026 這兩年無塵室嚴重不足,而且晶片做再多,也得有足夠電力讓產線運轉。真正有意義的新產能——像 SK 海力士的龍仁廠,最早要到 2027 年 2 月才出來——也就是說未來一年多,供給端基本沒有增量。第二,上游設備商不肯擴產。像 Tokyo Electron 這種設備龍頭自己很保守,理由是過去走過太多周期,擴產也要好幾年,等自己擴出來,說不定 AI 周期就爆掉了,寧可不動。這是典型的木桶效應,就算儲存廠有錢有決心,上游卡住了,你的產能上限就上不去。第三,先進製程遷移的摩擦。為了在同一片晶圓上多產出記憶體,三大廠都在往更尖端的節點遷移,但遷移過程必須把機器停下來重新調試好幾週甚至好幾個月,本身就會造成幾個季度的良率波動跟產能損失,在需求爆發的當口,屬於遠水救不了近火。

價格瘋漲不是沒有代價,它正在重新分配整條電子產業鏈的利潤。贏家除了韓國雙雄的天文數字利潤,中國國內儲存廠也跟著起飛。輸家則是硬體廠。摩根士丹利測算,儲存價格每漲 10%,硬體代工廠的毛利率就下降 45 到 150 個基點。手機最先遭殃,小米、OPPO 的出貨預測下調超過兩成,TrendForce 直接把 2026 年全球智慧型手機產量預測砍到年減 10%。PC 也很慘,聯想部分機型漲了五百到一千五百塊,Dell 營運長直言從沒見過成本漲這麼快,HP 執行長甚至在考慮減少產品裡的記憶體用量。汽車也沒倖免,理想汽車警告 2026 年車規儲存滿足率可能不到五成,雷軍坦言光車用記憶體一項成本就多了好幾千,甚至有國產車企因為記憶體不夠,直接把後排的車載娛樂系統給閹割掉。對比之下,雲端業者,特別是微軟、Google、AWS,表現出驚人的價格不敏感——它們邊際軟體成本近乎為零,敘事又跟股價綁定,幾乎不在乎記憶體多少錢。所以對廠商來說,就算手機跟 PC 市場歸零也無所謂,因為 AI 資料中心的前景實在太誘人了。

那這次到底還會持續多久?2026 年已經 100% 售罄,供需缺口估計達到三成到五成,2027 年同樣短缺,可能要到 2028 年才真正好轉。而需求端完全看不到放緩——AI 推理跟 Agent 之後,還有機器人跟實體 AI 的需求,會讓儲存的吞吐量跟容量出現指數級的跳躍。

但最值得關注的,其實是一個更大的問題:這個行業會不會從此告別周期?有個受訪的投資人給了很有意思的角度——如果它從一個周期性行業,變成一個結構性、能穩定成長好多年的行業,整個市場對它的看法就會質變。周期股頂多給十倍本益比,但結構性成長股的本益比可以再翻一倍。換句話說,萬一 AI 真的打破了這種周期,那麼哪怕利潤不再增長,光是估值從「周期股」被重新定價成「成長股」,就足以讓股價再翻一倍。

好,最後幫你收攏三個核心重點。第一,HBM 有個反直覺的悖論:它越擴產,普通 DRAM 反而越缺,因為做 HBM 極度吃產能又良率低,每多做一 GB HBM,就排擠掉三到四 GB 的普通 DRAM,這是這輪全線缺貨的關鍵。第二,這輪的驅動力從訓練轉向了推理跟 Agent,記憶體從計算瓶頸變成了容量跟頻寬瓶頸,需求是結構性的,短期看不到頭。第三,也是最大的懸念——過去超級周期撐不過兩年的鐵律,這次很可能被打破;而一旦市場相信它從周期股變成成長股,估值重估本身就是一波巨大的想像空間。

Tags

Related Articles

RAG's Five Stages: From Pipeline to Reasoning Retrieval, and the Naive RAG on My Own Site

Over the past two years RAG evolved from a 'linear pipeline' to 'loop-based reasoning'. It maps cleanly to five stages: Naive, Advanced, Modular, Graph, Agentic. The real inflection point is control moving from pipeline to agent — a System 1 → System 2 shift. Looking back at engineer-news's own RAG stack, it's stuck at the Naive edge — so this post also lays out what to fix next.

Building a Real RAG: 5 Infra Lessons from InfiniFlow's 2024 Year-in-Review

The previous post zoomed out for a five-stage panorama of RAG. This one zooms in on the five infra lessons any real RAG has to face: document ingestion, contextualized chunking, three-lane hybrid search, tensor reranker, and GraphRAG's semantic gap. Each lesson is checked against engineer-news's current stack, ending with a priority list for a personal site.

J-lens: Anthropic's New Interpretability Tool for Reading Claude's Inner Thoughts via a 'Global Workspace'

Anthropic proposes J-lens, an interpretability tool that captures the 'verbalizable' representations inside a Transformer, and uses it to show that Claude contains a privileged subspace analogous to the neuroscientific 'global workspace' — a small set of vectors that broadcast, drive reasoning, respond to external steering, and even leak signals during deception and evaluation awareness.