File tree Expand file tree Collapse file tree 2 files changed +16
-1
lines changed
Sources/OpenAI/Public/Models/Models Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -723,6 +723,10 @@ Models are represented as a typealias `typealias Model = String`.
723
723
724
724
``` swift
725
725
public extension Model {
726
+ static let gpt4_1 = " gpt-4.1"
727
+ static let gpt4_1_mini = " gpt-4.1-mini"
728
+ static let gpt4_1_nano = " gpt-4.1-nano"
729
+
726
730
static let gpt4_turbo_preview = " gpt-4-turbo-preview"
727
731
static let gpt4_vision_preview = " gpt-4-vision-preview"
728
732
static let gpt4_0125_preview = " gpt-4-0125-preview"
Original file line number Diff line number Diff line change @@ -23,7 +23,18 @@ public extension Model {
23
23
24
24
/// `o1-mini`: fast and affordable reasoning model for specialized tasks
25
25
static let o1_mini = " o1-mini "
26
-
26
+
27
+ // GPT-4.1
28
+
29
+ /// `gpt-4.1` Smartest model for complex tasks
30
+ static let gpt4_1 = " gpt-4.1 "
31
+
32
+ /// `gpt-4.1-mini` Affordable model balancing speed and intelligence
33
+ static let gpt4_1_mini = " gpt-4.1-mini "
34
+
35
+ /// `gpt-4.1-nano` Fastest, most cost-effective model for low-latency tasks
36
+ static let gpt4_1_nano = " gpt-4.1-nano "
37
+
27
38
// GPT-4
28
39
29
40
/// `gpt-4o`, currently the most advanced, multimodal flagship model that's cheaper and faster than GPT-4 Turbo.
You can’t perform that action at this time.
0 commit comments