ZCode 里 V4.1 Flash 显示 1.08 亿 token:是 agent 没压缩上下文
作者在 ZCode 用 V4.1 Flash 改 CSS,14–16 条消息后计数器显示 1.08 亿 token;原因是 agent 每条都重发全部历史且从不压缩,同模型在 Claude Code 里正常。
If you've ever looked at your token counter and thought DeepSeek V4.1 Flash is eating tokens like crazy, here's what's actually happening. I've been using V4.1 Flash in ZCode for small CSS fixes, and after just 14 - 16 messages the counter showed 108 million tokens! but it turns out every message I send, the agent resends the whole conversation with it. Message 10 carries everything from 1 to 9, and one message can turn into dozens of requests behind the scenes. Most of that is cached and costs way less than it looks. The problem is that the harness never compacted my context, so the history just kept growing. Same model in Claude Code feels totally normal. so if your token counter looks insane, it's probably the agent, not the model.