Skip to content

Commit c784a3c

Browse files
authored
chore: add gpt-4o-mini support
Added the gpt-4o-mini model to Models.swift
1 parent fd13a41 commit c784a3c

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)