★
菜单
首页 构建方式 关注列表 技术栈
硬件 芯片芯片对比 服务器与系统网络 内存晶圆代工与封装 散热
设施 数据中心电力 项目云计算与 GPU 算力
智能 AI模型软件 AI产品基准测试 研究论文数据集 概念
生态系统 公司股票 人员时间线 趋势AI 的未来
学习 新闻 数据问答 AI助手
关于 关于我们 方法论 数据与API 免责声明
选项
数据与API

免费只读JSON接口,访问本站缓存数据。

深色模式

引导视图
对芯片、数据中心和模型术语感到陌生?我们在浏览过程中以通俗语言解释关键术语,内置辅助说明,数据内容完全一致。

专业视图
您已熟悉这套体系。这里只呈现数据:简洁、快速、紧凑,无多余说明。这是默认视图。

界面语言
‹ 返回
快速阅读 6 分钟阅读 · ← 全部新闻

Between your Enter key and the first word back, a small factory runs. Serving engineers call the two phases prefill and decode, and the distinction organizes the entire inference industry.

Prefill: read everything at once

The model ingests your whole prompt in parallel — one big matrix pass, compute-bound, the GPU briefly saturated. Long contexts make this expensive: a 100K-token prompt is real work before any answer exists (hence prefill-specialist hardware like Rubin CPX). Prefill produces the first token and, as a by-product, the KV cache — stored attention state for every prompt token.

Decode: one token at a time

Generation is sequential: predict a token, append, repeat. Each step must stream the model's active weights from HBM, so decode is memory-bandwidth-bound — the GPU's compute units mostly wait. This is why bandwidth headlines every spec sheet and why the KV cache matters: it grows with context length and batch size until memory, not compute, caps how many users a GPU serves.

The tricks that make it affordable

Continuous batching — dozens of conversations share each weight-streaming pass (vLLM's PagedAttention made the memory bookkeeping efficient; SGLang adds prefix reuse). Quantization — FP8/FP4 weights halve and re-halve the bytes per token. Speculative decoding — a small draft model guesses several tokens, the big model verifies in one pass. Disaggregation — separate prefill and decode fleets (NVIDIA Dynamo, DeepSeek's serving stack) so each phase gets the hardware it wants. Together these took open-model serving costs down orders of magnitude in three years.

Reasoning changed the bill

Thinking models generate thousands of hidden tokens before answering — decode-heavy, cache-hungry, exactly the expensive phase. The 'age of inference' buildout (Ironwood, B300's 288 GB, the memory arms race) is downstream of this one product decision: models that think.

更多内容 模型与软件

How a Frontier Model Gets Trained 阅读 → The CUDA Moat, Explained 阅读 → Open vs Closed: The War Over Weights 阅读 → Reasoning Models and the Test-Time Era 阅读 →