{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/WorkflowOpenAIModel",
"title": "WorkflowOpenAIModel",
"type": "object",
"properties": {
"provider": {
"type": "string",
"description": "This is the provider of the model (`openai`).",
"enum": [
"openai"
]
},
"model": {
"type": "string",
"description": "This is the OpenAI model that will be used.\n\nWhen using Vapi OpenAI or your own Azure Credentials, you have the option to specify the region for the selected model. This shouldn't be specified unless you have a specific reason to do so. Vapi will automatically find the fastest region that make sense.\nThis is helpful when you are required to comply with Data Residency rules. Learn more about Azure regions here https://azure.microsoft.com/en-us/explore/global-infrastructure/data-residency/.",
"maxLength": 100,
"enum": [
"gpt-5.4",
"gpt-5.4-mini",
"gpt-5.4-nano",
"gpt-5.2",
"gpt-5.2-chat-latest",
"gpt-5.1",
"gpt-5.1-chat-latest",
"gpt-5",
"gpt-5-chat-latest",
"gpt-5-mini",
"gpt-5-nano",
"gpt-4.1-2025-04-14",
"gpt-4.1-mini-2025-04-14",
"gpt-4.1-nano-2025-04-14",
"gpt-4.1",
"gpt-4.1-mini",
"gpt-4.1-nano",
"chatgpt-4o-latest",
"o3",
"o3-mini",
"o4-mini",
"o1-mini",
"o1-mini-2024-09-12",
"gpt-4o-mini-2024-07-18",
"gpt-4o-mini",
"gpt-4o",
"gpt-4o-2024-05-13",
"gpt-4o-2024-08-06",
"gpt-4o-2024-11-20",
"gpt-4-turbo",
"gpt-4-turbo-2024-04-09",
"gpt-4-turbo-preview",
"gpt-4-0125-preview",
"gpt-4-1106-preview",
"gpt-4",
"gpt-4-0613",
"gpt-3.5-turbo",
"gpt-3.5-turbo-0125",
"gpt-3.5-turbo-1106",
"gpt-3.5-turbo-16k",
"gpt-3.5-turbo-0613",
"gpt-4.1-2025-04-14:westus",
"gpt-4.1-2025-04-14:eastus2",
"gpt-4.1-2025-04-14:eastus",
"gpt-4.1-2025-04-14:westus3",
"gpt-4.1-2025-04-14:northcentralus",
"gpt-4.1-2025-04-14:southcentralus",
"gpt-4.1-2025-04-14:westeurope",
"gpt-4.1-2025-04-14:germanywestcentral",
"gpt-4.1-2025-04-14:polandcentral",
"gpt-4.1-2025-04-14:spaincentral",
"gpt-4.1-mini-2025-04-14:westus",
"gpt-4.1-mini-2025-04-14:eastus2",
"gpt-4.1-mini-2025-04-14:eastus",
"gpt-4.1-mini-2025-04-14:westus3",
"gpt-4.1-mini-2025-04-14:northcentralus",
"gpt-4.1-mini-2025-04-14:southcentralus",
"gpt-4.1-mini-2025-04-14:westeurope",
"gpt-4.1-mini-2025-04-14:germanywestcentral",
"gpt-4.1-mini-2025-04-14:polandcentral",
"gpt-4.1-mini-2025-04-14:spaincentral",
"gpt-4.1-nano-2025-04-14:westus",
"gpt-4.1-nano-2025-04-14:eastus2",
"gpt-4.1-nano-2025-04-14:westus3",
"gpt-4.1-nano-2025-04-14:northcentralus",
"gpt-4.1-nano-2025-04-14:southcentralus",
"gpt-4o-2024-11-20:swedencentral",
"gpt-4o-2024-11-20:westus",
"gpt-4o-2024-11-20:eastus2",
"gpt-4o-2024-11-20:eastus",
"gpt-4o-2024-11-20:westus3",
"gpt-4o-2024-11-20:southcentralus",
"gpt-4o-2024-11-20:westeurope",
"gpt-4o-2024-11-20:germanywestcentral",
"gpt-4o-2024-11-20:polandcentral",
"gpt-4o-2024-11-20:spaincentral",
"gpt-4o-2024-08-06:westus",
"gpt-4o-2024-08-06:westus3",
"gpt-4o-2024-08-06:eastus",
"gpt-4o-2024-08-06:eastus2",
"gpt-4o-2024-08-06:northcentralus",
"gpt-4o-2024-08-06:southcentralus",
"gpt-4o-mini-2024-07-18:westus",
"gpt-4o-mini-2024-07-18:westus3",
"gpt-4o-mini-2024-07-18:eastus",
"gpt-4o-mini-2024-07-18:eastus2",
"gpt-4o-mini-2024-07-18:northcentralus",
"gpt-4o-mini-2024-07-18:southcentralus",
"gpt-4o-2024-05-13:eastus2",
"gpt-4o-2024-05-13:eastus",
"gpt-4o-2024-05-13:northcentralus",
"gpt-4o-2024-05-13:southcentralus",
"gpt-4o-2024-05-13:westus3",
"gpt-4o-2024-05-13:westus",
"gpt-4-turbo-2024-04-09:eastus2",
"gpt-4-0125-preview:eastus",
"gpt-4-0125-preview:northcentralus",
"gpt-4-0125-preview:southcentralus",
"gpt-4-1106-preview:australiaeast",
"gpt-4-1106-preview:canadaeast",
"gpt-4-1106-preview:france",
"gpt-4-1106-preview:india",
"gpt-4-1106-preview:norway",
"gpt-4-1106-preview:swedencentral",
"gpt-4-1106-preview:uk",
"gpt-4-1106-preview:westus",
"gpt-4-1106-preview:westus3",
"gpt-4-0613:canadaeast",
"gpt-3.5-turbo-0125:canadaeast",
"gpt-3.5-turbo-0125:northcentralus",
"gpt-3.5-turbo-0125:southcentralus",
"gpt-3.5-turbo-1106:canadaeast",
"gpt-3.5-turbo-1106:westus"
]
},
"temperature": {
"type": "number",
"description": "This is the temperature of the model.",
"minimum": 0,
"maximum": 2
},
"maxTokens": {
"type": "number",
"description": "This is the max tokens of the model.",
"minimum": 50,
"maximum": 10000
}
},
"required": [
"provider",
"model"
]
}