You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use llm often and like llm prompt -u flag.
What would be cool is to see the cumulative price for input+output tokens when llm finishes.
For now, I just copy&paste to the helpful https://tools.simonwillison.net/llm-prices calculator but it's a bit clunky ... since llm knows the model I used, the number of input+output tokens, it can show me the total price?
I could not find a llm plugin for that. Even hard-coded prices in such a plugin would be useful.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I use
llm
often and likellm prompt -u
flag.What would be cool is to see the cumulative price for input+output tokens when
llm
finishes.For now, I just copy&paste to the helpful
https://tools.simonwillison.net/llm-prices
calculator but it's a bit clunky ... sincellm
knows the model I used, the number of input+output tokens, it can show me the total price?I could not find a
llm
plugin for that. Even hard-coded prices in such a plugin would be useful.Thanks for consideration!
Beta Was this translation helpful? Give feedback.
All reactions