Skip to content

Commit 843e087

Browse files
authored
Merge pull request #219 from xAstralMars/main
chore: add gpt-4o-mini support
2 parents fd13a41 + c784a3c commit 843e087

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Sources/OpenAI/Public/Models/Models/Models.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ public extension Model {
1515
/// `gpt-4o`, currently the most advanced, multimodal flagship model that's cheaper and faster than GPT-4 Turbo.
1616
static let gpt4_o = "gpt-4o"
1717

18+
/// `gpt-4o-mini`, currently the most affordable and intelligent model for fast and lightweight requests.
19+
static let gpt4_o_mini = "gpt-4o-mini"
20+
1821
/// `gpt-4-turbo`, The latest GPT-4 Turbo model with vision capabilities. Vision requests can now use JSON mode and function calling and more. Context window: 128,000 tokens
1922
static let gpt4_turbo = "gpt-4-turbo"
2023

0 commit comments

Comments
 (0)