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

Ho to count number of input tokens and the output tokens #1090

Closed
SaraAmd opened this issue Mar 6, 2024 · 2 comments
Closed

Ho to count number of input tokens and the output tokens #1090

SaraAmd opened this issue Mar 6, 2024 · 2 comments
Labels

Comments

@SaraAmd
Copy link

SaraAmd commented Mar 6, 2024

the main question is how to count the number of input tokens and the output tokens separately given that the code in the link just outputs a number as the total tokens and the pricing for input tokens and output tokens are different.
If you have a code for this scenario it could be very helpful to share so that developers to have more accurate cost estimates

Copy link

github-actions bot commented May 6, 2024

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

@github-actions github-actions bot added the Stale label May 6, 2024
Copy link

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

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant