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

openai: use gpt-4o-mini by default #964

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

AkihiroSuda
Copy link

@AkihiroSuda AkihiroSuda commented Jul 23, 2024

As of July 2024, gpt-4o-mini should be used in place of gpt-3.5-turbo,
as it is cheaper, more capable, multimodal, and just as fast.

https://platform.openai.com/docs/models/gpt-4-turbo-and-gpt-4

PR Checklist

  • Read the Contributing documentation.
  • Read the Code of conduct documentation.
  • Name your Pull Request title clearly, concisely, and prefixed with the name of the primarily affected package you changed according to Good commit messages (such as memory: add interfaces for X, Y or util: add whizzbang helpers).
  • Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
  • Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. Fixes #123).
  • Describes the source of new concepts.
  • References existing implementations as appropriate.
  • Contains test coverage for new functions.
  • Passes all golangci-lint checks.

https://github.com/pkoukk/tiktoken-go/releases/tag/v0.1.7

This release adds the support for `o200k_base` used by gpt-4o.

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
> As of July 2024, gpt-4o-mini should be used in place of gpt-3.5-turbo,
> as it is cheaper, more capable, multimodal, and just as fast.

https://platform.openai.com/docs/models/gpt-4-turbo-and-gpt-4

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
@AkihiroSuda
Copy link
Author

@tmc Could you take a look?

@AkihiroSuda
Copy link
Author

@eliben Could you take a look?

@eliben
Copy link
Collaborator

eliben commented Aug 9, 2024

@AkihiroSuda thanks for tagging, but I think this is something @tmc will have to approve

@AkihiroSuda
Copy link
Author

@tmc Do you still prefer gpt-3.5-turbo to remain as the default?

OpenAI says "As of July 2024, gpt-4o-mini should be used in place of gpt-3.5-turbo, as it is cheaper, more capable, multimodal, and just as fast."
https://platform.openai.com/docs/models/gpt-4-turbo-and-gpt-4

@adamdecaf
Copy link

gpt-3.5-turbo-0301, gpt-3.5-turbo-0613, and gpt-3.5-turbo-16k-0613 will be shutdown on Sept 13th 2024.

I got notice from OpenAI after using the defaults in this library. There's a week from today to update the default to gpt-4o-mini (or something newer)

Screenshot 2024-09-06 at 9 35 43 PM

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.

3 participants