Skip to main content
Search for instance types using custom query

Usage

Arguments

string
required
Query to search for. default: ‘external=false rentable=true verified=true’, pass -n to ignore default

Options

string
default:"on-demand"
Show ‘on-demand’, ‘reserved’, or ‘bid’(interruptible) pricing. default: on-demand (alias: --type)
string
Alias for --type=bid (alias: --interruptible)
string
Alias for --type=bid (alias: --bid)
string
Alias for --type=reserved (alias: --reserved)
string
Alias for --type=on-demand (alias: --on-demand)
boolean
Disable default query (alias: --no-default)
boolean
Experimental search path — not recommended for production use. Prefer the default search for SLA filtering.
integer
Maximum number of offers to return. Prefer an explicit limit when comparing SLA-inclusive dph_total results; combine with --order / -o as needed.
number
default:"5.0"
Amount of storage to use for pricing, in GiB. default=5.0GiB
string
default:"score-"
Comma-separated list of fields to sort on. postfix field with - to sort desc. ex: -o ‘num_gpus,total_flops-’. default=‘score-’ (alias: --order)

Description

Query syntax
  • Wrap > and < in quotes on the command line
  • For string values (e.g. gpu_name), replace spaces with underscores: RTX_3090 not RTX 3090

Examples

Search quotes SLA pricing only. vastai create instance cannot pass target_reliability today — use the web console or REST to enable coverage; see SLA Coverage.

Available Fields

SLA query keys (has_sla, expected_reliability, target_reliability) are accepted by search. Older CLI builds may print a stderr warning that a field is unrecognized while still applying the filter — prefer a current CLI, or ignore the warning when results look correct.
| rentable | bool | is the instance currently rentable | | rented | bool | allow/disallow duplicates and potential conflicts with existing stopped instances | | storage_cost | float | storage cost in $/GB/month | | static_ip | bool | is the IP addr static/stable | | total_flops | float | total TFLOPs from all GPUs | | ubuntu_version | string | host machine ubuntu OS version | | verified | bool | is the machine verified | | vms_enabled | bool | is the machine a VM instance |

Global Options

The following options are available for all commands: