PulseAugur
中
实时 04:26:34
English(EN) Claude Code's /compact cost $0.06 at 136k tokens with a warm cache, 9x that cold, and /clear sent zero requests

Claude Code 的压缩成本因缓存状态而异

Claude Code 在 Opus 5.5 上运行,会产生显著的会话压缩成本,尤其是在提示缓存过期时。缓存热的 136k tokens 压缩成本约为 0.06 美元,而相同大小的缓存冷压缩成本则跃升至约 0.54 美元。旨在重置会话的 /clear 命令不产生任何费用,并有效地以干净的状态开始新会话,尽管后续的轮次可能会产生重建缓存的费用。 AI

影响 了解 LLM 工具中提示缓存和会话管理的成本影响对于优化使用和预算至关重要。

排序理由 该项目详细说明了软件工具中特定功能的成本和性能特征,而不是新的模型发布或重大的行业事件。

在 dev.to — LLM tag 阅读 →

AI 生成摘要 · Google Gemini · 来自 1 个来源。 我们如何撰写摘要 →

Claude Code 的压缩成本因缓存状态而异

本文如何被排名

Signal score
20 / 100
Composite score across the factors below. Higher = stronger signal that this story matters right now.
Newsworthiness bucket
Tool
该项目详细说明了软件工具中特定功能的成本和性能特征,而不是新的模型发布或重大的行业事件。
Source corroboration
Single-source cluster
Only one publisher covered this so far. Single-source stories can still rank when the publisher is high-authority, but they lack cross-source corroboration.
Topics
product, infra
Editorial topic classification. Feeds into how the story surfaces on /topic/<slug> hub pages and into the per-entity coverage mix.
AI-industry relevance
High
Clearly on-topic for AI-industry coverage.
Story freshness
Breaking (< 6h)
Fresh story with cross-source coverage still developing. Ranking may shift as more sources report.

完整方法见我们的编辑标准。

报道来源 [1]

  1. dev.to — LLM tag TIER_1 English(EN) · Rulestack ·

    Claude Code 的 /compact 在 136k tokens 时成本为 0.06 美元,缓存热启动时是冷启动的 9 倍,而 /clear 发送了零个请求

    <blockquote> <p>On Claude Code 2.1.289 with Opus 5.5, a <code>/compact</code> of a 136k-token session took 136,275 of its 138,344 input tokens from the prompt cache and cost $0.056 to $0.059 at list price, about two ordinary turns, while the same compaction after the cache had ex…