> ## Documentation Index
> Fetch the complete documentation index at: https://vastai-80aa3a82-auto-cli-sdk-preview-pr-398.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# vastai accept price-increase

Accept one or more pending host price increases

## Usage

```bash theme={null}
vastai accept price-increase ID [ID ...] [--yes]
```

## Arguments

<ParamField path="ids" type="integer" required>
  instance IDs to accept (one or more).
</ParamField>

## Options

<ParamField path="--yes" type="boolean">
  skip the interactive prompt; required when stdin is not a TTY
</ParamField>

## Description

Review pending price increases with `vastai show pending-price-increases`
before accepting. The CLI fans out one PUT per instance ID (no batch
endpoint exists on the backend), and the new rate applies only after
each contract's current end\_date — your remaining time on the current
term is billed at the original price.

## Examples

```bash theme={null}
vastai accept price-increase 123 --yes
    vastai accept price-increase 1 2 3 --yes

Exit codes:
    0 — every requested row was accepted
    1 — at least one row failed (non-stale)
    2 — at least one row was stale (re-run `show pending-price-increases`)
```

## Global Options

The following options are available for all commands:

| Option          | Description                                           |
| --------------- | ----------------------------------------------------- |
| `--url URL`     | Server REST API URL                                   |
| `--retry N`     | Retry limit                                           |
| `--raw`         | Output machine-readable JSON                          |
| `--explain`     | Verbose explanation of API calls                      |
| `--api-key KEY` | API key (defaults to `~/.config/vastai/vast_api_key`) |
