You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Model ID used to generate the response, like `gpt-4o` or `o3`. OpenAI offers a wide range of models with different capabilities, performance characteristics, and price points. Refer to the [model guide](https://platform.openai.com/docs/models) to browse and compare available models.
17
17
publicletmodel:Model
18
-
/// Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are minimal, low, medium, and high. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
18
+
/// Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are none, minimal, low, medium, and high. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
Copy file name to clipboardExpand all lines: Sources/OpenAI/Public/Models/Models/Models.swift
+10-2Lines changed: 10 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -53,6 +53,14 @@ public extension Model {
53
53
@available(*, deprecated, message:"On April 14th, 2025, developers were notified that the gpt-4.5-preview model is deprecated and will be removed from the API in the coming months. Recommended replacement: gpt-4.1")
54
54
staticletgpt4_5_preview="gpt-4.5-preview"
55
55
56
+
// GPT-5.1
57
+
58
+
/// `gpt-5.1` Enhanced version of GPT-5 with improved reasoning and performance
59
+
staticletgpt5_1="gpt-5.1"
60
+
61
+
/// `gpt-5.1-chat-latest` Latest GPT-5.1 model optimized for chat interactions
62
+
staticletgpt5_1_chat_latest="gpt-5.1-chat-latest"
63
+
56
64
// GPT-5
57
65
58
66
/// `gpt-5` OpenAI's best AI system with significant leap in intelligence, designed for logic and multi-step tasks with deep reasoning
0 commit comments