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

[FR]: Request to Implement Token Cost Calculation and Logging #548

Open
madhankumar2211 opened this issue Nov 4, 2024 · 1 comment
Open
Labels
enhancement New feature or request planned

Comments

@madhankumar2211
Copy link

Proposal summary

I would like to propose an enhancement to the project that involves calculating and logging the costs associated with token consumption (both input and output tokens) when using OpenAI's API. This will help users better understand the expenses incurred while interacting with the model.

Motivation

  1. Users will have clearer visibility into their usage and costs.
  2. Helps in budget management for projects utilizing OpenAI's services.
@madhankumar2211 madhankumar2211 added the enhancement New feature or request label Nov 4, 2024
@jverre
Copy link
Collaborator

jverre commented Nov 5, 2024

Hi @madhankumar2211
Agree that this would be very useful, we will try to ship something like this next week. I'll keep you posted on when we start working on it

@jverre jverre added the planned label Nov 5, 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 planned
Projects
None yet
Development

No branches or pull requests

2 participants