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

[FEATURE] Result includes llm token usage along with the response #2886

Open
LuisFX opened this issue Jul 26, 2024 · 1 comment
Open

[FEATURE] Result includes llm token usage along with the response #2886

LuisFX opened this issue Jul 26, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@LuisFX
Copy link

LuisFX commented Jul 26, 2024

API call result object would include the token utilization
For accounting reasons, it would be useful to get the token utilization for each call. Akin to what openai includes along other metadata.

@HenryHengZJ HenryHengZJ added the enhancement New feature or request label Jul 26, 2024
@severfire
Copy link

I do agree, It would be great to get in in all models. I would use it in VertexAI model.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants