RunInfraby RightNow
  • CatalogNew
  • Pricing
  • Research
  • Contact
DashboardSign inGet started
Home/Glossary/Attention sinks

Memory

Attention sinks

What it is

Attention sinks are retained early tokens that receive attention after later tokens move through a sliding window. Keeping those tokens can stabilize generation for models that exhibit this behavior.

Why it moves cost and latency

Dropping every old token can shift attention behavior and degrade streaming quality. Sink retention uses a small fixed cache region but does not create unlimited context memory.

What it looks like in practice

The runtime preserves selected initial positions while evicting older non-sink positions. The retained count and its effectiveness vary by model and require validation.

Related terms

  • Prefix caching->
  • Sliding-window attention->
  • Context length->

Questions this definition answers

What does Attention sinks mean in inference serving?

Attention sinks are retained early tokens that receive attention after later tokens move through a sliding window. Keeping those tokens can stabilize generation for models that exhibit this behavior. The runtime preserves selected initial positions while evicting older non-sink positions. The retained count and its effectiveness vary by model and require validation.

Why can Attention sinks move cost or latency?

Dropping every old token can shift attention behavior and degrade streaming quality. Sink retention uses a small fixed cache region but does not create unlimited context memory.

If you need custom optimization for a specific model, describe what you need

Describe the model and hardware you want optimized...
ModelsAuto engineAuto GPU
End-to-end encryption
Isolated GPU infrastructure
No training on your data
SOC 2 Type II
RunInfraby RightNow

© 2026 RunInfra. All rights reserved.

System status
Pipeline BuilderModelsCost CalculatorPricingStartupsBenchmarksDocsResearchNewsContact
Backed by
YCombinator
AICPA Type II
SOC 2
NVIDIA Inception ProgramNVIDIA Inception Program
Ask AI about RunInfra
Part of RightNow
SecurityDPAAUPCookiesTermsPrivacy