How to Delete Vultr Serverless Inference

Updated on November 27, 2024

Deleting the Vultr Serverless Inference service involves removing the entire inference service from your account. This process is important for managing resource allocation and avoiding unnecessary costs. Ensuring that unused services are properly deleted helps maintain an efficient and cost-effective cloud environment.

Follow this guide to delete the Serverless Inference service on your Vultr account using the Vultr Customer Portal, API, or CLI.

  • Vultr Customer Portal
  • Vultr API
  • Vultr CLI
  1. Navigate to Products, click Serverless, and then click Inference.

    Serverless Inference option in products menu

  2. Click your target inference service to open its management page.

    Selection of a target serverless inference service

  3. Click delete on the top right of the management page.

    Button to open the service deletion dialog box

  4. Click Close Serverless Inference Subscription in the confirmation prompt to permanently delete the target inference service.

    Dialog box to confirm the service deletion

  1. Send a GET request to the List Inference endpoint and note the target inference service's ID.

    console
    $ curl "https://api.vultr.com/v2/inference" \
        -X GET \
        -H "Authorization: Bearer ${VULTR_API_KEY}"
    
  2. Send a DELETE request to the Delete Inference ID endpoint to delete the target inference service.

    console
    $ curl "https://api.vultr.com/v2/inference/<inference-id>" \
        -X DELETE \
        -H "Authorization: Bearer ${VULTR_API_KEY}"
    
  1. List all the inference services available and note the target inference service's ID.

    console
    $ vultr-cli inference list
    
  2. Delete the target inference service.

    console
    $ vultr-cli inference delete <inference-id>