上下文窗口的代价Context Cost
Context Cost
解决什么问题What problem it solves
上下文开得越大越慢越贵,不是免费扩容。A larger context window is slower and more expensive — it is not free capacity.
这是什么What it is
窗口变大意味着注意力计算量和 KV 缓存占用同步上升。
A bigger window means attention computation and KV cache memory both grow.
为什么需要知道Why it matters
解释了一个反直觉现象。把所有资料一次性塞进去,往往不如做 RAG 分批检索。It explains a counter-intuitive result: pasting in everything at once is often worse than retrieving in batches with RAG.
相关指南Related guides
现在能做什么What you can do now
RAG server 的做法How a RAG server does it (context7) ↗
回到名词地图看第4段的其他 60 个词 →Back to the map: the other 60 terms in stage 4 →
出处Sources
- RAG server 的做法How a RAG server does it (context7) ↗
用这个术语做任务Use this term in a task
别停在定义:去任务手册看按什么顺序做、验收什么;或者按你手头的任务,筛 3 个工具候选。Don’t stop at the definition: use the task handbook for the order and checks, or filter three tool candidates for the job at hand.
任务手册 →Task handbooks → · 按任务筛 3 个候选 →Filter three candidates →