在 AgentsView 中为模型设置自定义价格Setting a custom price for a model in AgentsView
AgentsView 是一款用于追踪本地编程 Agent Token 消耗的实用工具。由于新发布的 Claude Fable 5 尚未被其价格数据库收录,作者直接利用 Fable 对 AgentsView 进行了逆向工程。这种方法不仅解决了自定义计费追踪的问题,还展示了如何利用大模型快速破解和修改本地应用。它为开发者定制缺乏完整数据的本地工具提供了一个实用的黑客技巧。
Simon Willison
TIL Setting a custom price for a model in AgentsView — I'm a recent convent to AgentsView, Wes McKinney's (previously of Pandas fame) Python toolkit for analyzing transcripts of coding agents from your own computer.
I've been really enjoying AgentsView by Wes McKinney as a tool for exploring my token usage across different coding agents running on my laptop.
Claude Fable 5 came out today and wasn't yet included in the pricing database AgentsView uses. I used Fable to reverse-engineer AgentsView and figured out this recipe for setting custom prices.
Here's my Claude Fable 5 usage for today so far, plotted by AgentsView as a treemap across my different local projects:
需要完整排版与评论请前往来源站点阅读。