Tech
[Go 编程语言] 强兼 Claude Code:左 DeepSeek V4,右 Kimi K3
Claude Code 的终端 UX 没什么好争的,行业天花板。但用它接 DeepSeek ,
问题就来了——Claude Code 的上下文压缩围绕 Anthropic 的 cache_control API
设计,System Prompt 被重写、消息中间插入摘要,前缀断裂,缓存命中率直线下降。
DeepSeek 的前缀匹配定价大家应该都清楚:
缓存命中:0.025–0.05 元/百万 token
缓存未命中:3–6 元/百万 token
价差:最高 120 倍
架构不对,同一个任务账单能差出几倍。
有一些专门为 DeepSeek 缓存优化的 Agent ,缓存做得不错。
但它们往往没有对标 Claude Code 的交互体验,也不在 .claude/ 生态兼容上投入。
从 Claude Code 切过去,skills 、hooks 、MCP 全得重配一遍。
反过来,兼容 Claude Code 的 Agent ,缓存策略又没为 DeepSeek 优化过。
Waveloom 特别在意这三件事的交集:
Claude Code 级别的 TU...
Read the full discussion on V2EX
This article was aggregated from V2EX. Click to join the conversation.
View on V2EX