Azure OpenAI Service models

Azure OpenAI Service is powered by a diverse set of models with different capabilities and price points. Model availability varies by region. For GPT-3 and other models retiring in July 2024, see Azure OpenAI Service legacy models.

Models Description
GPT-4 A set of models that improve on GPT-3.5 and can understand and generate natural language and code.
GPT-3.5 A set of models that improve on GPT-3 and can understand and generate natural language and code.
Embeddings A set of models that can convert text into numerical vector form to facilitate text similarity.
DALL-E (Preview) A series of models in preview that can generate original images from natural language.
Whisper (Preview) A series of models in preview that can transcribe and translate speech to text.
Text to speech (Preview) A series of models in preview that can synthesize text to speech.

GPT-4 and GPT-4 Turbo Preview

GPT-4 can solve difficult problems with greater accuracy than any of OpenAI's previous models. Like GPT-3.5 Turbo, GPT-4 is optimized for chat and works well for traditional completions tasks. Use the Chat Completions API to use GPT-4. To learn more about how to interact with GPT-4 and the Chat Completions API check out our in-depth how-to.

  • gpt-4
  • gpt-4-32k
  • gpt-4-vision

You can see the token context length supported by each model in the model summary table.

GPT-3.5

GPT-3.5 models can understand and generate natural language or code. The most capable and cost effective model in the GPT-3.5 family is GPT-3.5 Turbo, which has been optimized for chat and works well for traditional completions tasks as well. GPT-3.5 Turbo is available for use with the Chat Completions API. GPT-3.5 Turbo Instruct has similar capabilities to text-davinci-003 using the Completions API instead of the Chat Completions API. We recommend using GPT-3.5 Turbo and GPT-3.5 Turbo Instruct over legacy GPT-3.5 and GPT-3 models.

  • gpt-35-turbo
  • gpt-35-turbo-16k
  • gpt-35-turbo-instruct

You can see the token context length supported by each model in the model summary table.

To learn more about how to interact with GPT-3.5 Turbo and the Chat Completions API check out our in-depth how-to.

Embeddings

Important

We strongly recommend using text-embedding-ada-002 (Version 2). This model/version provides parity with OpenAI's text-embedding-ada-002. To learn more about the improvements offered by this model, please refer to OpenAI's blog post. Even if you are currently using Version 1 you should migrate to Version 2 to take advantage of the latest weights/updated token limit. Version 1 and Version 2 are not interchangeable, so document embedding and document search must be done using the same version of the model.

The previous embeddings models have been consolidated into the following new replacement model:

text-embedding-ada-002

DALL-E (Preview)

The DALL-E models, currently in preview, generate images from text prompts that the user provides.

Whisper (Preview)

The Whisper models, currently in preview, can be used for speech to text.

You can also use the Whisper model via Azure AI Speech batch transcription API. Check out What is the Whisper model? to learn more about when to use Azure AI Speech vs. Azure OpenAI Service.

Text to speech (Preview)

The OpenAI text to speech models, currently in preview, can be used to synthesize text to speech.

You can also use the OpenAI text to speech voices via Azure AI Speech. To learn more, see OpenAI text to speech voices via Azure OpenAI Service or via Azure AI Speech guide.

Model summary table and region availability

GPT-4 and GPT-4 Turbo Preview models

GPT-4, GPT-4-32k, and GPT-4 Turbo with Vision are now available to all Azure OpenAI Service customers. Availability varies by region. If you don't see GPT-4 in your region, please check back later.

These models can only be used with the Chat Completion API.

GPT-4 version 0314 is the first version of the model released. Version 0613 is the second version of the model and adds function calling support.

See model versions to learn about how Azure OpenAI Service handles model version upgrades, and working with models to learn how to view and configure the model version settings of your GPT-4 deployments.

Note

Version 0314 of gpt-4 and gpt-4-32k will be retired no earlier than July 5, 2024. Version 0613 of gpt-4 and gpt-4-32k will be retired no earlier than September 30, 2024. See model updates for model upgrade behavior.

GPT-4 version 0125-preview is an updated version of the GPT-4 Turbo preview previously released as version 1106-preview. GPT-4 version 0125-preview completes tasks such as code generation more completely compared to gpt-4-1106-preview. Because of this, depending on the task, customers may find that GPT-4-0125-preview generates more output compared to the gpt-4-1106-preview. We recommend customers compare the outputs of the new model. GPT-4-0125-preview also addresses bugs in gpt-4-1106-preview with UTF-8 handling for non-English languages.

Important

  • gpt-4 version 0125-preview replaces version 1106-preview. Deployments of gpt-4 version 1106-preview set to "Auto-update to default" and "Upgrade when expired" will start to be upgraded on February 20, 2024 and will complete upgrades within 2 weeks. Deployments of gpt-4 version 1106-preview set to "No autoupgrade" will stop working starting February 20, 2024. If you have a deployment of gpt-4 version 1106-preview, you can test version 0125-preview in the available regions below.
Model ID Max Request (tokens) Training Data (up to)
gpt-4 (0314) 8,192 Sep 2021
gpt-4-32k(0314) 32,768 Sep 2021
gpt-4 (0613) 8,192 Sep 2021
gpt-4-32k (0613) 32,768 Sep 2021
gpt-4 (1106-preview)1
GPT-4 Turbo Preview
Input: 128,000
Output: 4,096
Apr 2023
gpt-4 (0125-preview)1
GPT-4 Turbo Preview
Input: 128,000
Output: 4,096
Apr 2023
gpt-4 (vision-preview)2
GPT-4 Turbo with Vision Preview
Input: 128,000
Output: 4,096
Apr 2023

1 GPT-4 Turbo Preview = gpt-4 (0125-preview). To deploy this model, under Deployments select model gpt-4. For Model version select 0125-preview.

2 GPT-4 Turbo with Vision Preview = gpt-4 (vision-preview). To deploy this model, under Deployments select model gpt-4. For Model version select vision-preview.

Caution

We don't recommend using preview models in production. We will upgrade all deployments of preview models to future preview versions and a stable version. Models designated preview do not follow the standard Azure OpenAI model lifecycle.

Note

Regions where GPT-4 (0314) & (0613) are listed as available have access to both the 8K and 32K versions of the model

GPT-4 and GPT-4 Turbo Preview model availability

Public cloud regions

Model Regions where model is available to all subscriptions with Azure OpenAI access Regions where model is available only to subscriptions with previous access to that model/region
gpt-4 (0314) East US
France Central
South Central US
UK South
gpt-4 (0613) Australia East
Canada East
France Central
Sweden Central
Switzerland North
East US
East US 2
Japan East
UK South
gpt-4 (1106-preview) Australia East
Canada East
East US 2
France Central
Norway East
South India
Sweden Central
UK South
West US
gpt-4 (0125-preview) East US
North Central US
South Central US
gpt-4 (vision-preview) Sweden Central
West US
Japan East
Switzerland North
Australia East

Azure Government regions

The following GPT-4 models are available with Azure Government:

Model ID Model Availability
gpt-4 (1106-preview) US Gov Virginia
US Gov Arizona

GPT-3.5 models

GPT-3.5 Turbo is used with the Chat Completion API. GPT-3.5 Turbo version 0301 can also be used with the Completions API. GPT-3.5 Turbo versions 0613 and 1106 only support the Chat Completions API.

GPT-3.5 Turbo version 0301 is the first version of the model released. Version 0613 is the second version of the model and adds function calling support.

See model versions to learn about how Azure OpenAI Service handles model version upgrades, and working with models to learn how to view and configure the model version settings of your GPT-3.5 Turbo deployments.

Note

Version 0613 of gpt-35-turbo and gpt-35-turbo-16k will be retired no earlier than June 13, 2024. Version 0301 of gpt-35-turbo will be retired no earlier than July 5, 2024. See model updates for model upgrade behavior.

GPT-3.5-Turbo model availability

Public cloud regions

Model ID Model Availability Max Request (tokens) Training Data (up to)
gpt-35-turbo1 (0301) East US
France Central
South Central US
UK South
West Europe
4,096 Sep 2021
gpt-35-turbo (0613) Australia East
Canada East
East US
East US 2
France Central
Japan East
North Central US
Sweden Central
Switzerland North
UK South
4,096 Sep 2021
gpt-35-turbo-16k (0613) Australia East
Canada East
East US
East US 2
France Central
Japan East
North Central US
Sweden Central
Switzerland North
UK South
16,384 Sep 2021
gpt-35-turbo-instruct (0914) East US
Sweden Central
4,097 Sep 2021
gpt-35-turbo (1106) Australia East
Canada East
France Central
South India
Sweden Central
UK South
West US
Input: 16,385
Output: 4,096
Sep 2021

1 This model will accept requests > 4,096 tokens. It is not recommended to exceed the 4,096 input token limit as the newer version of the model are capped at 4,096 tokens. If you encounter issues when exceeding 4,096 input tokens with this model this configuration is not officially supported.

Azure Government regions

The following GPT-3 models are available with Azure Government:

Model ID Model Availability
gpt-35-turbo (1106) US Gov Virginia
US Gov Arizona

Embeddings models

These models can only be used with Embedding API requests.

Note

We strongly recommend using text-embedding-ada-002 (Version 2). This model/version provides parity with OpenAI's text-embedding-ada-002. To learn more about the improvements offered by this model, please refer to OpenAI's blog post. Even if you are currently using Version 1 you should migrate to Version 2 to take advantage of the latest weights/updated token limit. Version 1 and Version 2 are not interchangeable, so document embedding and document search must be done using the same version of the model.

Model ID Model Availability Max Request (tokens) Training Data (up to) Output Dimensions
text-embedding-ada-002 (version 2) Australia East
Canada East
East US
East US2
France Central
Japan East
North Central US
Norway East
South Central US
Sweden Central
Switzerland North
UK South
West Europe
West US
8,191 Sep 2021 1,536
text-embedding-ada-002 (version 1) East US
South Central US
West Europe
2,046 Sep 2021 1,536

Note

When sending an array of inputs for embedding, the max number of input items in the array per call to the embedding endpoint is 2048.

Azure Government regions

The following Embeddings models are available with Azure Government:

Model ID Model Availability
text-embedding-ada-002 (version 2) US Gov Virginia
US Gov Arizona

DALL-E models (Preview)

Model ID Feature Availability Max Request (characters)
dalle2 East US 1,000
dalle3 Sweden Central 4,000

Fine-tuning models

babbage-002 and davinci-002 are not trained to follow instructions. Querying these base models should only be done as a point of reference to a fine-tuned version to evaluate the progress of your training.

gpt-35-turbo-0613 - fine-tuning of this model is limited to a subset of regions, and is not available in every region the base model is available.

Model ID Fine-Tuning Regions Max Request (tokens) Training Data (up to)
babbage-002 North Central US
Sweden Central
16,384 Sep 2021
davinci-002 North Central US
Sweden Central
16,384 Sep 2021
gpt-35-turbo (0613) North Central US
Sweden Central
4,096 Sep 2021
gpt-35-turbo (1106) North Central US
Sweden Central
Input: 16,385
Output: 4,096
Sep 2021

Whisper models (Preview)

Model ID Model Availability Max Request (audio file size)
whisper North Central US
West Europe
25 MB

Text to speech models (Preview)

Model ID Model Availability
tts-1 North Central US
Sweden Central
tts-1-hd North Central US
Sweden Central

Assistants (Preview)

For Assistants you need a combination of a supported model, and a supported region. Certain tools and capabilities require the latest models. For example parallel function calling requires the latest 1106 models.

Region gpt-35-turbo (1106) gpt-4 (1106-preview) gpt-4 (0613) gpt-4 (0314) gpt-35-turbo (0301) gpt-35-turbo (0613) gpt-35-turbo-16k (0613) gpt-4-32k (0314) gpt-4-32k (0613)
Sweden Central ✅ ✅ ✅ ✅ ✅ ✅ ✅ ✅
East US 2 ✅ ✅ ✅ ✅
Australia East ✅ ✅ ✅ ✅ ✅

Next steps