continuedev / continue

⏩ Continue is the leading open-source AI code assistant. You can connect any models and any context to build custom autocomplete and chat experiences inside VS Code and JetBrains
https://docs.continue.dev/
Apache License 2.0
19.76k stars 1.74k forks source link

[CON-252] Show token usage per message #1703

Open sestinj opened 4 months ago

sestinj commented 4 months ago

Validations

Problem

It's currently difficult to find out how many tokens are being used in each message

Solution

At the bottom of each message (I'm thinking next to the thumbs up/down buttons, but maybe on the left), we should show

CON-252

mkummer225 commented 3 months ago

Would be nice to see estimated cost as well - could cycle through {tokens | cost | total daily spend} etc ... in the same UI chip on click or something

apotenza92 commented 1 month ago

I believe Cline has this functionality and it's great. Shows how much each call is actually costing the user.

image