Add OpenAI GPT-5.3 chat latest and GPT-5.4 model support#11848
Merged
hannesrudolph merged 2 commits intoRooCodeInc:mainfrom Mar 5, 2026
Merged
Add OpenAI GPT-5.3 chat latest and GPT-5.4 model support#11848hannesrudolph merged 2 commits intoRooCodeInc:mainfrom
hannesrudolph merged 2 commits intoRooCodeInc:mainfrom
Conversation
5a6e9f5 to
bcfeaf4
Compare
hannesrudolph
approved these changes
Mar 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR adds OpenAI Native support for
gpt-5.3-chat-latestandgpt-5.4.Implementation details:
gpt-5.3-chat-latesttoopenAiNativeModelswith chat model limits and pricing:maxTokens: 16_384contextWindow: 128_000inputPrice: 1.75outputPrice: 14.0cacheReadsPrice: 0.175supportsImages: truesupportsPromptCache: truegpt-5.3-chat-latestaligned with existing chat-latest conventions by not explicitly settingsupportsTemperature.gpt-5.4toopenAiNativeModelswith current limits, pricing, and capabilities:maxTokens: 128_000contextWindow: 1_050_000inputPrice: 2.5cacheReadsPrice: 0.25outputPrice: 15.0supportsImages: truesupportsPromptCache: truesupportsVerbosity: truesupportsReasoningEffort: ["none", "low", "medium", "high", "xhigh"]reasoningEffort: "none"> 272_000input tokens:defaultandflexservice tiers2xuncached input pricing and1.5xoutput pricingpriorityor cached input readsopenai-nativetests for:getModel()gpt-5.3-chat-latestandgpt-5.4reasoning.effort = "none").changeset/gpt-5-3-chat-latest.md.changeset/gpt-5-4.mdFiles changed:
packages/types/src/model.tspackages/types/src/providers/openai.tssrc/shared/cost.tssrc/api/providers/openai-native.tssrc/api/providers/__tests__/openai-native.spec.tssrc/api/providers/__tests__/openai-native-usage.spec.tssrc/utils/__tests__/cost.spec.ts.changeset/gpt-5-3-chat-latest.md.changeset/gpt-5-4.mdTest Procedure
Run targeted tests for the affected provider and cost specs:
pnpm --filter roo-cline exec vitest run api/providers/__tests__/openai-native.spec.ts api/providers/__tests__/openai-native-usage.spec.ts utils/__tests__/cost.spec.tsObserved result:
Test Files 3 passed (3)Tests 89 passed (89)Notes:
pnpm --filter roo-cline test -- ...triggerspretestand a broader validation surface, so the targetedvitest runcommand above was used for focused verification.Pre-Submission Checklist
Screenshots / Videos
N/A (no UI changes)
Documentation Updates