When deploying ML model to online endpoint are you charged for the time the endpoint is up or the time it is running?

Anonymous
2023-03-21T08:30:34.85+00:00

If I deploy ML model to online endpoint say for 1 day but it is invoked only once and runs for 1min, then am I charged for the whole day or for the 1min?

Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
2,857 questions
{count} votes

1 answer

Sort by: Most helpful
  1. romungi-MSFT 45,036 Reputation points Microsoft Employee
    2023-03-21T11:54:30.08+00:00

    @Anonymous charges for the endpoint are based on the compute that is used for the endpoint. If the compute is up and running the charges will be applicable along with networking charges for the traffic that is generated when requests are made.

    See the note on this page for section Manged Online endpoints which explains how the charges are incurred. It is recommended to lookup costs of your endpoint through cost analysis page of your subscription. This allows you to monitor the costs regularly and moderate the usage of endpoint when it is not required.

    To summarize, you will be charged for compute that is up and running for online endpoints.

    I have answered couple of similar questions for another user before, Please see these threads for more information on online & batch endpoints.

    https://learn.microsoft.com/en-us/answers/questions/1165606/cost-for-online-endpoint-in-azure-machine-learning

    https://learn.microsoft.com/en-us/answers/questions/1182960/cost-of-batch-endpoint-in-azure-machine-learning

    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.