Repository navigation
Add GPT-6 family models and Ultrafast service tier support - #203
Merged
Merged
Conversation
- Add gpt-6-astra, gpt-6.1-sol, and gpt-5.6-sol model IDs - Add ServiceTier enum with auto, default, flex, priority, and ultrafast tiers - Document Ultrafast usage in the Responses API and README
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.
Summary
Adds support for the models and service tier announced at OpenAI DevDay 2026 (September 29, 2026).
Model:.gpt6Astra→gpt-6-astra.gpt61Sol→gpt-6.1-sol(1,050,000 token context window, 128,000 max output tokens).gpt56Sol→gpt-5.6-sol(Ultrafast preview model)ServiceTierenum (auto,default,flex,priority,ultrafast) so the Ultrafast tier is discoverable. The existingserviceTier: String?parameter onModelResponseParameteris unchanged, so this is source-compatible — passServiceTier.ultrafast.rawValue.GPT-6 Luna is intentionally not included: OpenAI has not published its API model ID — it is currently only reachable through the Decisions API, which is in limited preview without public documentation. Agents API and Decisions API support will follow in separate PRs once implemented/documented.
Usage
Testing
swift buildsucceedsswiftformat(repo rules) reports no violations🤖 Generated with Claude Code