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

Suggested functionality: Cost estimation #2

Open
Somerandomguy10111 opened this issue Oct 19, 2023 · 1 comment
Open

Suggested functionality: Cost estimation #2

Somerandomguy10111 opened this issue Oct 19, 2023 · 1 comment

Comments

@Somerandomguy10111
Copy link

If you had a Tokenizer class, where the init takes as input the model_type you could also conceivably calculate the cost of a single API call by using a lookup table for the price per input/ouput tokens

@Somerandomguy10111 Somerandomguy10111 changed the title Suggested functionality: Cost Suggested functionality: Cost estimation Oct 19, 2023
@rubenselander
Copy link
Owner

Hey! Sorry for the late late late response. Only ever used github as a backup for private projects, never actually released anything before. Will get around to updating the package next week (hopefully) with the new API changes. Will try to include both of your suggested functionalities! Sorry for missing your issue posts, really makes me happy that someone found my work useful:)

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

No branches or pull requests

2 participants