gpt3_5Turbo_16k_0613
Snapshot of gpt-3.5-turbo-16k
from June 13th 2023. Unlike gpt-3.5-turbo-16k
, this model will not receive updates, and will be deprecated 3 months after a new version is released.
static let gpt3_5Turbo_16k_0613: String
Snapshot of gpt-3.5-turbo-16k
from June 13th 2023. Unlike gpt-3.5-turbo-16k
, this model will not receive updates, and will be deprecated 3 months after a new version is released.
static let gpt3_5Turbo_16k_0613: String
import Swift
import OpenAI
@frozen struct String
A Unicode string value that is a collection of characters.
static let ada: String
Capable of very simple tasks, usually the fastest model in the GPT-3 series, and lowest cost.
static let babbage: String
Capable of straightforward tasks, very fast, and lower cost.
static let curie: String
Very capable, but faster and lower cost than Davinci.
static let dall_e_2: String
static let dall_e_3: String
static let davinci: String
Most capable GPT-3 model. Can do any task the other models can do, often with higher quality.
static let gpt3_5Turbo: String
Most capable gpt-3.5-turbo
model and optimized for chat. Will be updated with our latest model iteration.
static let gpt3_5Turbo_0125: String
Snapshot of gpt-3.5-turbo
from January 25th 2024. Decreased prices by 50%. Various improvements including higher accuracy at responding in requested formats and a fix for a bug which caused a text encoding issue for non-English language function calls.
static let gpt3_5Turbo_16k: String
Same capabilities as the standard gpt-3.5-turbo
model but with 4 times the context.
static let gpt4: String
Most capable gpt-4
model, outperforms any GPT-3.5 model, able to do more complex tasks, and optimized for chat.
static let gpt4_0125_preview: String
Snapshot of gpt-4-turbo-preview
from January 25th 2024. This model reduces cases of “laziness” where the model doesn’t complete a task. Also fixes the bug impacting non-English UTF-8 generations. Maximum of 4096 output tokens
static let gpt4_0613: String
Snapshot of gpt-4
from June 13th 2023 with function calling data. Unlike gpt-4
, this model will not receive updates, and will be deprecated 3 months after a new version is released.
static let gpt4_32k: String
Same capabilities as the base gpt-4
model but with 4x the context length. Will be updated with our latest model iteration.
static let gpt4_32k_0613: String
Snapshot of gpt-4-32k
from June 13th 2023. Unlike gpt-4-32k
, this model will not receive updates, and will be deprecated 3 months after a new version is released.
static let gpt4_o: String
gpt-4o
, currently the most advanced, multimodal flagship model that’s cheaper and faster than GPT-4 Turbo.
static let gpt4_o_mini: String
gpt-4o-mini
, currently the most affordable and intelligent model for fast and lightweight requests.
static let gpt4_turbo: String
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
static let gpt4_vision_preview: String
gpt-4-vision-preview
, able to understand images, in addition to all other GPT-4 Turbo capabilities.
static let moderation: String
static let o1: String
o1
: reasoning model designed to solve hard problems across domains
static let o1_mini: String
o1-mini
: fast and affordable reasoning model for specialized tasks
static let textEmbedding3: String
static let textEmbedding3Large: String
static let textEmbeddingAda: String
static let textModerationLatest: String
Most capable moderation model. Accuracy will be slightly higher than the stable model.
static let textModerationStable: String
Almost as capable as the latest model, but slightly older.
static let textSearchAda: String
static let textSearchBabbageDoc: String
static let textSearchBabbageQuery001: String
static let tts_1: String
The latest text to speech model, optimized for speed.
static let tts_1_hd: String
The latest text to speech model, optimized for quality.
static let whisper_1: String
static let gpt3_5Turbo_0301: String
Snapshot of gpt-3.5-turbo
from March 1st 2023. Unlike gpt-3.5-turbo
, this model will not receive updates, and will only be supported for a three month period ending on June 1st 2023.
static let gpt3_5Turbo_0613: String
Snapshot of gpt-3.5-turbo
from June 13th 2023 with function calling data. Unlike gpt-3.5-turbo
, this model will not receive updates, and will be deprecated 3 months after a new version is released.
static let gpt3_5Turbo_1106: String
Snapshot of gpt-3.5-turbo
from November 6th 2023. The latest gpt-3.5-turbo
model with improved instruction following, JSON mode, reproducible outputs, parallel function calling and more.
static let gpt4_0314: String
Snapshot of gpt-4
from March 14th 2023. Unlike gpt-4, this model will not receive updates, and will only be supported for a three month period ending on June 14th 2023.
static let gpt4_1106_preview: String
Snapshot of gpt-4-turbo-preview
from November 6th 2023. Improved instruction following, JSON mode, reproducible outputs, parallel function calling and more. Maximum of 4096 output tokens
static let gpt4_32k_0314: String
Snapshot of gpt-4-32k
from March 14th 2023. Unlike gpt-4-32k
, this model will not receive updates, and will only be supported for a three month period ending on June 14th 2023.
static let gpt4_turbo_preview: String
gpt-4-turbo
, gpt-4 model with improved instruction following, JSON mode, reproducible outputs, parallel function calling and more. Maximum of 4096 output tokens