> ## Documentation Index
> Fetch the complete documentation index at: https://docs.nebius.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Managing pricing policies in Nebius AI Cloud

This article explains how to view, create, edit and delete pricing policies for preemptible virtual machines (VMs) in the web console or CLI.

For information about spot pricing and how pricing policies affect preemptible resources, see [Spot pricing and pricing policies](/signup-billing/pricing-policy).

## Prerequisites

Pricing policies are project-level resources:

* To view pricing policies, make sure you are in a [group](/iam/authorization/groups/index) with at least the `viewer` role within the project.
* To create, edit or delete pricing policies, make sure you are in a group with at least the `editor` role within the project.

For more information about roles, see [Roles](/iam/authorization/roles).

## How to view pricing policies

<Tabs group="interfaces">
  <Tab title="Web console">
    1. In the [web console](https://console.nebius.com/billing), go to <Icon icon="https://mintcdn.com/nebius-ai-cloud/1Ha0sWR6e1mnIaHS/_assets/sidebar/billing.svg?fit=max&auto=format&n=1Ha0sWR6e1mnIaHS&q=85&s=32dc60dbf43597f6132b7f4b303a6901" width="16" height="16" data-path="_assets/sidebar/billing.svg" /> **Billing** → **Pricing**.
    2. Switch to the **Pricing policy** tab and find the policy that you need.

       If the policy status is **Blocked**, its max price is lower than the current spot price. Resources that use this policy can't start until the spot price decreases or until you [increase](#how-to-edit-a-pricing-policy) the max price.
  </Tab>

  <Tab title="CLI">
    To list pricing policies in a project, run:

    ```bash theme={null}
    nebius billing pricing-policy list \
      --parent-id <project_ID>
    ```

    To get a pricing policy by ID, run:

    ```bash theme={null}
    nebius billing pricing-policy get \
      --id <pricing_policy_ID>
    ```

    In the output, check `status.scheduling_state`. If the value is `SCHEDULING_STATE_BLOCKED`, the policy's max price is lower than the current spot price.
  </Tab>
</Tabs>

## How to create a pricing policy

You can create a pricing policy before creating preemptible resources, or create it while configuring a new resource in the web console.

<Tabs group="interfaces">
  <Tab title="Web console">
    1. In the [web console](https://console.nebius.com/billing), go to <Icon icon="https://mintcdn.com/nebius-ai-cloud/1Ha0sWR6e1mnIaHS/_assets/sidebar/billing.svg?fit=max&auto=format&n=1Ha0sWR6e1mnIaHS&q=85&s=32dc60dbf43597f6132b7f4b303a6901" width="16" height="16" data-path="_assets/sidebar/billing.svg" /> **Billing** → **Pricing**.

    2. Switch to the **Pricing policy** tab and click <Icon icon="https://mintcdn.com/nebius-ai-cloud/1Ha0sWR6e1mnIaHS/_assets/plus.svg?fit=max&auto=format&n=1Ha0sWR6e1mnIaHS&q=85&s=7c9efc69d65fc58db0eb73702fd81aa1" width="16" height="16" data-path="_assets/plus.svg" /> **Create pricing policy**.

    3. Enter a policy name.

    4. Select the project where the policy will be available.

    5. Select the GPU platform for the policy.

    6. In **Max price**, enter the highest spot price per GPU hour at which preemptible resources can run on this platform.

       The web console shows the allowed price range. To let resources start while the current spot price stays unchanged, enter a value that is higher than or equal to the current spot price.

    7. Click **Create pricing policy**.
  </Tab>

  <Tab title="CLI">
    Run:

    ```bash theme={null}
    nebius billing pricing-policy create \
      --parent-id <project_ID> \
      --name <pricing_policy_name> \
      --compute-instance-spec-v1-platform <platform_ID> \
      --pricing-max-price-v1-max-price <max_price>
    ```

    In this command:

    * `--parent-id`: ID of the project where the pricing policy will be available.
    * `--compute-instance-spec-v1-platform`: GPU platform ID, for example `gpu-h100-sxm`.
    * `--pricing-max-price-v1-max-price`: Maximum spot price per GPU hour. The value must be within the allowed price range. If the value is lower than the current spot price, the policy is created with blocked scheduling.
  </Tab>
</Tabs>

After the policy is created, you can select it when creating preemptible resources on the same platform.

## How to edit a pricing policy

<Note>
  To update the max price in a pricing policy, first stop all running resources that use that policy.
</Note>

<Tabs group="interfaces">
  <Tab title="Web console">
    1. In the [web console](https://console.nebius.com/billing), go to <Icon icon="https://mintcdn.com/nebius-ai-cloud/1Ha0sWR6e1mnIaHS/_assets/sidebar/billing.svg?fit=max&auto=format&n=1Ha0sWR6e1mnIaHS&q=85&s=32dc60dbf43597f6132b7f4b303a6901" width="16" height="16" data-path="_assets/sidebar/billing.svg" /> **Billing** → **Pricing**.
    2. Switch to the **Pricing policy** tab.
    3. Find the policy you want to edit and click <Icon icon="https://mintcdn.com/nebius-ai-cloud/1Ha0sWR6e1mnIaHS/_assets/button-vellipsis.svg?fit=max&auto=format&n=1Ha0sWR6e1mnIaHS&q=85&s=e80b8e57c43bfd117679262e6a1334ad" width="12" height="24" data-path="_assets/button-vellipsis.svg" /> → **Edit**.
    4. Rename the policy or adjust the max price.
    5. Click **Save changes**.
  </Tab>

  <Tab title="CLI">
    To rename a pricing policy, run:

    ```bash theme={null}
    nebius billing pricing-policy update <pricing_policy_ID> \
      --name <new_pricing_policy_name>
    ```

    To update the max price, run:

    ```bash theme={null}
    nebius billing pricing-policy update <pricing_policy_ID> \
      --pricing-max-price-v1-max-price <max_price>
    ```

    The max price can only be updated when there are no running VMs associated with that policy.
  </Tab>
</Tabs>

## How to delete a pricing policy

<Warning>
  Deleting a pricing policy can stop resources that use it. Stopped VMs keep their attached volumes, and the volumes continue to be charged until you delete them. For more information about stopping charges for unused resources, see [How to stop being charged](/signup-billing/billing-models/payg#how-to-stop-being-charged).
</Warning>

<Tabs group="interfaces">
  <Tab title="Web console">
    1. In the [web console](https://console.nebius.com/billing), go to <Icon icon="https://mintcdn.com/nebius-ai-cloud/1Ha0sWR6e1mnIaHS/_assets/sidebar/billing.svg?fit=max&auto=format&n=1Ha0sWR6e1mnIaHS&q=85&s=32dc60dbf43597f6132b7f4b303a6901" width="16" height="16" data-path="_assets/sidebar/billing.svg" /> **Billing** → **Pricing**.

    2. Switch to the **Pricing policy** tab.

    3. Check the number of running resources that use the policy.

    4. Find the policy you want to delete and click <Icon icon="https://mintcdn.com/nebius-ai-cloud/1Ha0sWR6e1mnIaHS/_assets/button-vellipsis.svg?fit=max&auto=format&n=1Ha0sWR6e1mnIaHS&q=85&s=e80b8e57c43bfd117679262e6a1334ad" width="12" height="24" data-path="_assets/button-vellipsis.svg" /> → **Delete**.

       If the web console shows affected resources, review them and continue only if they can be stopped.

    5. Enter the policy name and click **Delete policy**.
  </Tab>

  <Tab title="CLI">
    Run:

    ```bash theme={null}
    nebius billing pricing-policy delete \
      --id <pricing_policy_ID>
    ```
  </Tab>
</Tabs>

If a stopped resource was configured to use the deleted policy, select another pricing policy before starting it.
