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

llm-echo 0.5 发布:调试插件更新 token 用量模拟

llm-echo 0.5

AI 导读

Simon Willison 发布 llm-echo 0.5,这个调试插件提供一个不涉及 LLM 的“模型”,只把收到的提示词原样回显。新版本更新了模拟 token 用量统计,将工具调用、系统提示词和推理 token 纳入计算。示例中 `llm -m echo 'hi there' -o thinking 1 --usage` 显示 2 input、24 output。

来源:Simon Willison · simonwillison.net