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

Usage meter & Cost Estimates #341

Open
vadimkatsman opened this issue Jan 14, 2024 · 3 comments
Open

Usage meter & Cost Estimates #341

vadimkatsman opened this issue Jan 14, 2024 · 3 comments
Labels
feature-enterprise Professional features for managed installations

Comments

@vadimkatsman
Copy link

vadimkatsman commented Jan 14, 2024

If to inspect the JSON file with exported conversations, you could see the token cost for both inbound (prompts) and outbound (generated text) messages. But that information is not available on the human interface.

Concise description
To have an aggregated usage meter as well as chat / message cost counter.
Since pricing for inbound and outbound tokens differ, to have 2 separate counts in the format like 300/240 (and maybe using different colors - green vs red etc.)

@vadimkatsman vadimkatsman changed the title [Roadmap] [Roadmap] Usage meter Jan 15, 2024
@enricoros
Copy link
Owner

Need more details to understand if this applies only to the last message, or former messages:
Since once generated (output) message then becomes an input message for all the rest of the conversation, what's a json structure that would be able to capture this?

@vadimkatsman
Copy link
Author

Your internal JSON includes the cost of each message. My suggestion is simply to display it on UX - I am not suggesting to compute it any different. With added aggregation across the chat and across all chats.

@arbiterFF
Copy link

I love this feature. It would be great to have this somewhere. Though not a top priority IMO (at least relative to moving architecture to cloud and being able to save and personas and chats x-device, or the ability to integrate with G-suite to RAG personal data)

@enricoros enricoros changed the title [Roadmap] Usage meter Usage meter & Cost Estimates Apr 2, 2024
@enricoros enricoros moved this from Requests to Committed in big-AGI build-in-public roadmap Apr 2, 2024
@enricoros enricoros added the feature-enterprise Professional features for managed installations label Apr 2, 2024
enricoros added a commit that referenced this issue May 7, 2024
pAkalpa pushed a commit to pAkalpa/big-AGI that referenced this issue Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-enterprise Professional features for managed installations
Projects
Status: Committed
Development

No branches or pull requests

3 participants