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

refactor: store token price per million #46

Merged
merged 2 commits into from
Apr 10, 2024

Conversation

mdjastrzebski
Copy link
Member

Summary

Pricing per million (input, output) tokens seems to become the norm now. Let's store our pricing info in that unit.

Also:

  • update OpenAI to use gpt-4-turbo by default (no longer in preview)

Test plan

Manual testing for all providers.

@mdjastrzebski mdjastrzebski merged commit 2d3f234 into main Apr 10, 2024
4 checks passed
@mdjastrzebski mdjastrzebski deleted the refactor/pricing-per-millon branch April 10, 2024 10:28
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

Successfully merging this pull request may close these issues.

1 participant