-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Add support for GPT 5 codex models #14841
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
Conversation
The latest updates on your projects. Learn more about Vercel for GitHub.
|
![]() @ishaan-jaff @krrishdholakia |
"output_cost_per_token_flex": 5e-06, | ||
"output_cost_per_token_priority": 2e-05, | ||
"supported_endpoints": [ | ||
"/v1/chat/completions", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Completions is not supported, see https://platform.openai.com/docs/models/gpt-5-codex
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@uzaxirr please fix this ^
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
reviewed @uzaxirr
"output_cost_per_token_flex": 5e-06, | ||
"output_cost_per_token_priority": 2e-05, | ||
"supported_endpoints": [ | ||
"/v1/chat/completions", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@uzaxirr please fix this ^
![]() ![]() @ishaan-jaff I have fixed the above-mentioned issue and also tested the change locally. Let me know if you still need any more changes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Title
LiteLLM can now support GPT 5 code models.
Relevant issues
fixes: #14838
Pre-Submission checklist
Please complete all items before asking a LiteLLM maintainer to review your PR
tests/litellm/
directory, Adding at least 1 test is a hard requirement - see detailsmake test-unit
Changes