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

Add support for gpt-4o-mini #60

Closed
DieterHolvoet opened this issue Aug 2, 2024 · 2 comments · Fixed by #61
Closed

Add support for gpt-4o-mini #60

DieterHolvoet opened this issue Aug 2, 2024 · 2 comments · Fixed by #61

Comments

@DieterHolvoet
Copy link
Contributor

The supported models seem to be hardcoded in models.py:

models = [
    Model("gpt-4", 0.03, 0.06, 8192, False),
    Model("gpt-4-32k", 0.06, 0.12, 32768, False),
    Model("gpt-4-1106-preview", 0.01, 0.03, 128000, True),
    Model("gpt-3.5-turbo", 0.001, 0.002, 16384, False),
    Model("gpt-3.5-turbo-1106", 0.001, 0.002, 16384, True),
]

Any chance we can support gpt-4o-mini as well?

@DieterHolvoet
Copy link
Contributor Author

Here's the pricing information for this model: https://openai.com/api/pricing#MKm0TAT0sEESKMml2k65u

@jamesturk
Copy link
Owner

jamesturk commented Aug 4, 2024 via email

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 a pull request may close this issue.

2 participants