-
Notifications
You must be signed in to change notification settings - Fork 2.8k
feat: add gpt-5.2 model to openai-native provider #10024
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
- Add gpt-5.2 model with 400k context, 128k max output tokens - Support reasoning efforts: none, low, medium, high, xhigh - Pricing: $1.75/M input, $14/M output (standard tier) - Flex tier: $0.875/M input, $7/M output - Priority tier: $3.50/M input, $28/M output - Set gpt-5.2 as the new default model - Update test to expect new default model
Reviewing your PR now. Feedback coming up! Mention @roomote in a comment to request specific changes to this pull request or fix all unresolved issues. |
PeterDaveHello
left a comment
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.
There are also gpt-5.2-pro and gpt-5.2-chat-latest should bd added ;)
|
Though it may be duplicated, I prepared a more complete version here: #10026 |
- Add gpt-5.2-chat-latest with 128k context, 16k max output tokens - Pricing: $1.75/M input, $0.175/M cache, $14.00/M output - Optimized for conversational AI and chat use cases
Pro does not work properly in Roo at this time due to its timeout requirements |
Add tool restrictions to gpt-5.2-chat-latest for consistency with gpt-5-chat-latest and other GPT-5 model definitions.
Summary
Add OpenAI's new flagship model
gpt-5.2to the openai-native provider and set it as the new default model.Changes
gpt-5.2model definition with:none,low,medium,high,xhighgpt-5.1togpt-5.2Important
Add
gpt-5.2model to OpenAI provider, set as default, and update tests accordingly.gpt-5.2model toopenai.tswith 400,000 context window, 128,000 max output tokens, and various pricing tiers.gpt-5.1togpt-5.2inopenai.ts.openai-native.spec.tsto expectgpt-5.2as the default model.gpt-5.2model handling inopenai-native.spec.ts.This description was created by
for eb44189. You can customize this summary. It will automatically update as commits are pushed.