DEV Community

Wriju's Blog
Wriju's Blog

Posted on

How much Azure Open AI would cost?

Azure OpenAI Service is a cloud-based platform that allows you to leverage large-scale, generative AI models using Azure infrastructure. The pricing for Azure OpenAI Service is based on a pay-as-you-go consumption model, which means you only pay for what you use. The price per unit depends on the type and size of the model you choose, as well as the number of tokens used in the input and output.

There are different types of models available in Azure OpenAI Service, such as language models, image models, embedding models, and speech models. Each model has a different price per unit, which you can find in the Azure pricing calculator. Some models also have additional costs for training, hosting, or inference.

For example, if you want to use the GPT-4 8K model, which is a large-scale language model, you would pay $0.03 per 1,000 tokens for the context prompt and $0.06 per 1,000 tokens for the completion. A token is roughly four characters for typical English text. You would also pay $102 per compute hour for training and $7 per hour for hosting the model.

If you want to use the Standard Dall-E model, which is an image model that can generate images from text, you would pay $2 per 100 images. There are no additional costs for training or hosting this model.

If you want to use the Standard Ada model, which is an embedding model that can create vector representations of text, you would pay $0.0001 per 1,000 tokens. There are no additional costs for training or hosting this model.

If you want to use the Whisper model, which is a speech model that can generate natural-sounding speech from text, you would pay $0.36 per hour. There are no additional costs for training or hosting this model.

To estimate your expected monthly costs for using Azure OpenAI Service, you can use the Azure pricing calculator and enter your expected usage details. You can also use the Azure Cost Management features to set budgets and monitor your actual costs. You can review forecasted costs and identify spending trends to optimize your spending.

Top comments (0)