Skip to content
Back/Harness Engineering

Smart Zone — 聪明区上下文效率

View in Graph
Updated 2026-09-26
1 min read
201 words

Smart Zone — 聪明区上下文效率

聪明区是 Dex Horthy(humanlayer.dev)提出的经验法则:模型在约 150K tokens 上下文时完成任务的效率最高;更少时缺少必要上下文,更多时会"变傻"。他强调这是经验之谈(rule of thumb),不是定律,并且 model-provider 和模型不同,数字会变。

What it is

来自 Matt Pocock × Thorsten Ball 的 No Priors 播客(Dex Horthy 现场分享):

Dex: I've got a rule of thumb that I think models are smartest at about 150K context. Like if you can do the thing in 150K, then it's going to be smart at that. Fewer than that and it's kind of dumb because it doesn't have enough context, and more than that it gets kind of dumb as well. That's my rule of thumb. Matt: It's not a law. Dex: No, it's definitely not a law.

Why it matters

为 harness-engineering/model-routing 和 product-trends/token-optimization-economics 提供一个可操作的上下文预算锚点:设计 agent 工作流时,把单次任务的上下文压进"聪明区",比单纯追大窗口更影响实际产出质量。

Key points

  • 150K 是经验锚点:完成任务的效率峰值区间,非硬上限
  • 两侧都变笨:低于 150K 缺上下文,高于 150K 质量下降
  • 随 provider/模型漂移:不同模型的聪明区位置不同,需要按当前模型重新校准
  • 与成本目标对齐:压进聪明区同时也降低 token 成本(product-trends/token-optimization-economics)
  • 与窗口总大小无关(第二来源):Matt 在 Pragmatic Engineer 访谈中复述该法则时强调,聪明区只取决于前缀位置,不随窗口扩容上移;窗口变大不等于可以囤积上下文
  • Ralph loop 的设计意图(第二来源):harness-engineering/ralph-harness-framework 的"每次最小变更 → 清空上下文"正是让每一步都运行在聪明区的工程化实现

Counterpoints & Gaps

  • 播客对话中的口头经验法则,无实验数据支撑
  • 150K 数字随模型代际快速过时;需要项目内用自己的任务基准验证(claude-code/self-improving-skills 的 eval loop 方法)

How to apply

  • 挑一个高频 agent 任务,测量其典型上下文占用是否落在 150K 附近
  • 对超区任务做子任务拆分或上下文压缩(记忆分层、外部检索)
  • 模型更换后重新校准聪明区位置

Sources

Synthesized from 4 sources

Evolution

1 event
  1. absorbed

    Derived from source material

    This page is currently synthesized from 4 sources.

    From AI Builders Digest 2026-09-21, Matt Pocock on The Pragmatic Engineer, 2026-09-21, 2026-09-20 Matt Pocock AI Skills Pragmatic EngineerTo Smart Zone — 聪明区上下文效率
    Sources: raw/briefing/AI Builders Digest/2026-09-21.md · raw/social-triage/2026-09-20 Matt Pocock AI Skills Pragmatic Engineer.md · /Users/jean/Documents/Obsidian Vault/raw/briefing/AI Builders Digest/2026-09-21.md · /Users/jean/Documents/Obsidian Vault/raw/social-triage/2026-09-20 Matt Pocock AI Skills Pragmatic Engineer.md

Linked from