Add GPT-5.6 models - #438
Open
piscue wants to merge 1 commit into
Open
Conversation
Added new GPT-5.6 model variants: - gpt-5.6-sol: Most capable GPT-5.6 model for frontier reasoning and agentic workloads - gpt-5.6-terra: Balanced GPT-5.6 model for general-purpose workloads - gpt-5.6-luna: GPT-5.6 model optimized for cost-sensitive, high-volume workloads
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.
What
Add the GPT-5.6 model family (
gpt-5.6-sol,gpt-5.6-terra,gpt-5.6-luna) to the SDK'sModelconstants and endpoint registries.Why
OpenAI GA'd the GPT-5.6 family (Sol, Terra, Luna) in July 2026. The SDK already accepts these IDs as strings (
typealias Model = String), but typed constants and listing them inallModels(satisfying:)keeps the SDK in step with OpenAI's model catalog.Affected Areas
Sources/OpenAI/Public/Models/Models/Models.swiftREADME.mdMore Info
gpt-5.6-sol,gpt-5.6-terra,gpt-5.6-luna(no baregpt-5.6alias).chatCompletionsEndpointandresponsesEndpoint.swift buildandswift testpass (25 tests).