跳到正文
The Decoder· Matthias Bastian·· 28 天前AI 评分60

Anthropic 在 Claude 平台公测 Message Threads,长对话首 token 时间降低约 35%

Anthropic's Message Threads cut time to first token by 35 percent for long conversations

AI 导读

Anthropic 在 Claude 平台以公开测试形式推出 Message Threads,改变此前每次 API 请求都要重发完整对话历史的做法,只传输上一条消息之后发生变化的部分。据 Anthropic 说明,在 50 万至 100 万 token 的请求区间内,首 token 时间降低约 35%;编码智能体、computer-use 智能体和处理大量文档或图像的工作流受益最明显。该线程在两次请求之间以加密形式保存在内存中,闲置 5 分钟后过期;由于 Claude 仍需读取完整对话历史,token 用量不变。该功能可在 Claude 平台以及 AWS、Microsoft Foundry 和 Google Cloud 上使用,细节见官方文档。

来源:The Decoder · the-decoder.com