跳到正文
原文
Simon Willison·· 2026-10-19AI 评分34

llm-echo 0.5 更新模拟 token 用量统计

llm-echo 0.5

AI 导读

llm-echo 0.5 更新了 debug plugin 的模拟 token 用量统计,将 tool calls、system prompts 和 reasoning tokens 纳入计算。该插件提供一个不调用 LLM、仅重复返回输入提示词的 model;示例中记录 2 个 input token 和 24 个 output token。

来源:Simon Willison · simonwillison.net