★
Menu
Início Como é Construído Watchlist A pilha
Hardware ChipsComparar Chips Servidores e SistemasRedes MemóriaFundições e Empacotamento Arrefecimento
Instalações Data CentersEnergia ProjetosCloud e Computação com GPU
Inteligência Modelos de IASoftware Produtos de IABenchmarks Artigos científicosConjuntos de Dados Conceitos
Ecossistema EmpresasAções PessoasCronologia TendênciasFuturo da IA
Aprender Notícias Consultar os Dados Agentes de IA
Sobre Sobre nós Metodologia Dados e API Aviso Legal
Opções
DADOS E API

Acesso JSON gratuito e somente leitura aos dados em cache do site.

Modo escuro

Visão Guiada
Novo no universo de chips, data centers e jargão de modelos? Explicamos os termos-chave enquanto você navega, em linguagem clara. Os mesmos dados, com ajuda integrada.

Visão Especializada
Você já conhece o stack. Só os dados: limpos, rápidos e compactos, sem explicações extras. Esta é a visualização padrão.

Idioma da interface
‹ Voltar
Leitura rápida 6 min de leitura · ← Todos os artigos explicativos

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.

Mais em Modelos e software

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