agent-zero icon indicating copy to clipboard operation
agent-zero copied to clipboard

idea: Cost and token tracking

Open joelmnz opened this issue 5 months ago • 2 comments

Most responses will give you back a token count (in/out/think) so we could set costs per million tokens BUT if using OpenRouter we can get the costs back in the response see: https://openrouter.ai/docs/use-cases/usage-accounting

really like this project, would be very nice to see costs per message/job total.

Another use case other than just tracking costs would be to run an agent task for 2 different models and compare the content (output and $) to find a good model for tasks.

Thanks for making such a cool AI agent framework, keep up the good work!

joelmnz avatar Aug 08 '25 04:08 joelmnz

I would love that feature too

kwisser avatar Aug 22 '25 18:08 kwisser

it's here in improvement proposals https://agent-zero.ai/?community/proposals/detail&id=KnAKK6B2

frdel avatar Aug 22 '25 19:08 frdel