Skip to main content

Create endpoint

You can deploy a built-in or custom model from the model catalog as an endpoint. Configure the resources required to run the model, logging, and API limit policies when creating the endpoint.

Prerequisites​

  • Start the Advanced AI Space service in your project.
  • Check the model to deploy. To use a custom model, create a custom model first.
  • Determine the instance type, resource profile, and replica count required for your workload.

Open creation page​

  1. Go to AI Service > Advanced AI Space.

  2. Open the endpoint creation page using one of the following methods.

    • From the Endpoints menu: Click [Create endpoint] in Endpoints, and then select the model to deploy.
    • From the model list: Select a model in Model catalog > Built-in models or Model catalog > Custom models, and then click [Create endpoint].
    • From model details: Click a model name, and then click [Create endpoint] on the model details page. The selected model is automatically set on the creation page.

Configure basic information​

ItemDescription
ModelSelect a built-in or custom model to deploy
The selected model is automatically set when opening the page from the model list or details
Endpoint nameEnter 2–30 characters using letters, numbers, hyphens (-), and underscores (_)
Domain IDDomain ID used in the endpoint URL
Enter 1–20 characters using lowercase letters, numbers, and hyphens (-)
A random DNS-safe suffix is added if the ID duplicates an existing endpoint

Configure resources​

ItemDescription
Instance typeSelect the instance type to run the model
Replica countSelect the number of replicas for the endpoint
Replica deployment without downtimeWhen enabled, existing replicas terminate after new replicas are ready. Temporary additional resource usage during deployment may incur charges
Resource profileSelect the resource profile to use on the selected instance
Resource countSelect the resource count per replica
Check the resulting maximum vCPU and memory

Configure logging​

To save logs, enable Logging settings, and then select a bucket in Object Storage bucket information. Logs are automatically saved under the predictor path in the selected bucket. Date-based folder names use UTC.

Configure API limits (tiers)​

API limits are optional. You can add multiple tiers to the endpoint and set the required limits for each tier.

  1. Enable API limit settings.

  2. Enter the limit information for each tier.

    ItemDescription
    Tier nameTier name used to distinguish tiers when connecting API keys
    Total RequestTotal number of requests allowed by the tier
    Input TokenNumber of input tokens allowed by the tier
    Output TokenNumber of output tokens allowed by the tier
    Reset PeriodUsage aggregation and reset period for the limits
  3. Click [Add tier] if you need more tiers.

You can also create a tier without limit values. In that case, you do not configure a usage aggregation period.

Apply a tier to an API key

A tier is a policy registered on an endpoint. When connecting an API key to that endpoint, select one of the registered tiers or connect without a tier.

Complete creation​

  1. Review the settings and click [Create].
  2. Check the state in the endpoint list.
  3. When the state changes to Active, check the URL on the endpoint details page.

After creating an endpoint, create an API key and connect it to the endpoint before calling it.