What is a context window? What 128K or 1M actually means
Context decides how much a model holds at once — how to read the numbers and what happens when you overflow.
Translating the number
128K tokens ≈ a short novel; 1M swallows an entire repo or several books. Kimi, Gemini and Claude all lead on long context — that’s what makes whole-book Q&A and whole-repo analysis possible.
Overflow and the lost middle
Beyond the window, content is truncated (oldest first); even within it, models under-attend to the middle. In practice: put key facts at the start or end, chunk long jobs, and ask for running summaries.
中文
大模型上下文窗口是什么?128K、1M 意味着什么
上下文决定模型"一次能记住多少":数字怎么读、够不够用、超了会怎样。
一个数字的换算
128K token 约等于 10 万汉字(一本中篇小说);1M token 能装下整个代码仓库或几本书。Kimi、Gemini、Claude 都以长上下文见长,这也是"整本书问答、整仓库分析"成为可能的原因。
超窗与"中间遗忘"
超出窗口的内容会被截断——通常从最早的对话开始丢;即便没超,模型对"窗口中间"的信息也更容易忽略(lost in the middle)。实践:关键信息放开头或结尾,超长任务分段并让模型先做摘要。