Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an indicator for the cost of usage #3685

Closed
amanape opened this issue Sep 1, 2024 · 7 comments
Closed

Add an indicator for the cost of usage #3685

amanape opened this issue Sep 1, 2024 · 7 comments
Assignees
Labels
enhancement New feature or request frontend Related to frontend Stale Inactive for 30 days

Comments

@amanape
Copy link
Member

amanape commented Sep 1, 2024

What problem or use case are you trying to solve?
The number of tokens and total cost spent so far is not displayed on the UI.

Describe the UX of the solution you'd like
Add a global total indicator (perhaps somewhere on the chat header) and another indicator for each message (in the chat bubble itself)

Do you have thoughts on the technical implementation?

Describe alternatives you've considered

Additional context

@amanape amanape added the enhancement New feature or request label Sep 1, 2024
@shubhamofbce
Copy link
Contributor

This will be a great addition.

@shubhamofbce
Copy link
Contributor

If anyone is planning to work on this, LiteLLM provides token count and completion count easily. https://docs.litellm.ai/docs/completion/token_usage#6-completion_cost

Copy link
Contributor

github-actions bot commented Oct 5, 2024

This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

@github-actions github-actions bot added the Stale Inactive for 30 days label Oct 5, 2024
@enyst enyst added frontend Related to frontend and removed Stale Inactive for 30 days labels Oct 5, 2024
@Yashwanth-Chandrakumar
Copy link
Contributor

Can i work on this and can you assign it to me

@amanape
Copy link
Member Author

amanape commented Oct 15, 2024

Sure thing @Yashwanth-Chandrakumar, thanks for taking this up

Copy link
Contributor

This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

@github-actions github-actions bot added the Stale Inactive for 30 days label Nov 16, 2024
Copy link
Contributor

This issue was closed because it has been stalled for over 30 days with no activity.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request frontend Related to frontend Stale Inactive for 30 days
Projects
None yet
Development

No branches or pull requests

4 participants