跳到正文
原文
Simon Willison·· 5 小时前AI 评分45

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”;示例中输入 `hi there` 的统计为 2 input、24 output。

来源:Simon Willison · simonwillison.net