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
Labels
Comments
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. |
This issue was closed because it has been stalled for 10 days with no activity. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
The text was updated successfully, but these errors were encountered: