curl --request GET \
--url https://console.vast.ai/api/v0/instances/{id}/ \
--header 'Authorization: Bearer <token>'{
"instances": {
"id": 883,
"actual_status": "running",
"intended_status": "running",
"cur_state": "running",
"next_state": "running",
"label": null,
"template_id": null,
"template_hash_id": null,
"template_name": null,
"image_uuid": "tensorflow/tensorflow:latest-gpu",
"image_args": [],
"image_runtype": "ssh",
"extra_env": [],
"onstart": null,
"jupyter_token": "53fc448d6644aa7535c6fa5498cdbedc782753e88d81b44090e54dcf1332ed30",
"status_msg": null,
"local_ipaddrs": "10.2.202.31 172.17.0.1 \n",
"ssh_host": "ssh2281.vast.ai",
"ssh_idx": "2281",
"ssh_port": 10882,
"machine_dir_ssh_port": 5300,
"machine_id": 178,
"bundle_id": 617,
"start_date": 1761008618.225083,
"end_date": 2034617753,
"uptime_mins": null,
"duration": 273608757.18784523,
"cpu_arch": "amd64",
"cpu_cores": 32,
"cpu_cores_effective": 4,
"cpu_name": "Xeon® Silver 4110",
"cpu_ram": 128576,
"cpu_util": 0,
"mem_limit": null,
"mem_usage": null,
"vmem_usage": null,
"gpu_name": "RTX A5000",
"gpu_arch": "nvidia",
"gpu_totalram": 24564,
"gpu_ram": 24564,
"gpu_util": null,
"gpu_temp": null,
"gpu_frac": 0.125,
"gpu_lanes": 16,
"gpu_mem_bw": 628.8,
"bw_nvlink": 0,
"disk_name": "Samsung SSD 860",
"disk_space": 10,
"disk_bw": 500.55,
"disk_util": -1,
"disk_usage": -1,
"direct_port_count": 12,
"direct_port_start": -1,
"direct_port_end": -1,
"ports": [
8080,
8081
],
"static_ip": true,
"public_ipaddr": "63.135.50.11",
"geolocation": "Washington, US",
"verification": "verified",
"rentable": true,
"host_id": 2,
"hosting_type": 1,
"min_bid": 0.02,
"is_bid": false,
"dph_base": 1,
"dph_total": 1.0020740740740741,
"dlperf": 22.229415,
"dlperf_per_dphtotal": 22.183404974866942,
"flops_per_dphtotal": 27.46814902424601,
"total_flops": 27.52512,
"score": 22.043656178546772,
"reliability2": 0.9993661,
"os_version": 18.04,
"mobo_name": "S7109GM2NR",
"pci_gen": 3,
"pcie_bw": 11.7,
"num_gpus": 1,
"logo": "/static/logos/vastai_small2.png",
"webpage": null,
"search": {
"gpuCostPerHour": 1,
"diskHour": 0.002074074074074074,
"totalHour": 1.0020740740740741,
"discountTotalHour": 0,
"discountedTotalPerHour": 1.0020740740740741
},
"instance": {
"gpuCostPerHour": 0,
"diskHour": 0.002074074074074074,
"totalHour": 0.002074074074074074,
"discountTotalHour": 0,
"discountedTotalPerHour": 0.002074074074074074
},
"storage_cost": 0.14933333333333335,
"storage_total_cost": 0.002074074074074074,
"vram_costperhour": 0.00004079441760601181,
"credit_balance": null,
"credit_discount": null,
"credit_discount_max": 0.4,
"client_run_time": 1.1,
"host_run_time": 2592000,
"external": false,
"time_remaining": "",
"time_remaining_isbid": ""
}
}Retrieves the details of a specific instance for the authenticated user.
CLI Usage: vastai show instance [--api-key <api_key>] [--raw]
curl --request GET \
--url https://console.vast.ai/api/v0/instances/{id}/ \
--header 'Authorization: Bearer <token>'{
"instances": {
"id": 883,
"actual_status": "running",
"intended_status": "running",
"cur_state": "running",
"next_state": "running",
"label": null,
"template_id": null,
"template_hash_id": null,
"template_name": null,
"image_uuid": "tensorflow/tensorflow:latest-gpu",
"image_args": [],
"image_runtype": "ssh",
"extra_env": [],
"onstart": null,
"jupyter_token": "53fc448d6644aa7535c6fa5498cdbedc782753e88d81b44090e54dcf1332ed30",
"status_msg": null,
"local_ipaddrs": "10.2.202.31 172.17.0.1 \n",
"ssh_host": "ssh2281.vast.ai",
"ssh_idx": "2281",
"ssh_port": 10882,
"machine_dir_ssh_port": 5300,
"machine_id": 178,
"bundle_id": 617,
"start_date": 1761008618.225083,
"end_date": 2034617753,
"uptime_mins": null,
"duration": 273608757.18784523,
"cpu_arch": "amd64",
"cpu_cores": 32,
"cpu_cores_effective": 4,
"cpu_name": "Xeon® Silver 4110",
"cpu_ram": 128576,
"cpu_util": 0,
"mem_limit": null,
"mem_usage": null,
"vmem_usage": null,
"gpu_name": "RTX A5000",
"gpu_arch": "nvidia",
"gpu_totalram": 24564,
"gpu_ram": 24564,
"gpu_util": null,
"gpu_temp": null,
"gpu_frac": 0.125,
"gpu_lanes": 16,
"gpu_mem_bw": 628.8,
"bw_nvlink": 0,
"disk_name": "Samsung SSD 860",
"disk_space": 10,
"disk_bw": 500.55,
"disk_util": -1,
"disk_usage": -1,
"direct_port_count": 12,
"direct_port_start": -1,
"direct_port_end": -1,
"ports": [
8080,
8081
],
"static_ip": true,
"public_ipaddr": "63.135.50.11",
"geolocation": "Washington, US",
"verification": "verified",
"rentable": true,
"host_id": 2,
"hosting_type": 1,
"min_bid": 0.02,
"is_bid": false,
"dph_base": 1,
"dph_total": 1.0020740740740741,
"dlperf": 22.229415,
"dlperf_per_dphtotal": 22.183404974866942,
"flops_per_dphtotal": 27.46814902424601,
"total_flops": 27.52512,
"score": 22.043656178546772,
"reliability2": 0.9993661,
"os_version": 18.04,
"mobo_name": "S7109GM2NR",
"pci_gen": 3,
"pcie_bw": 11.7,
"num_gpus": 1,
"logo": "/static/logos/vastai_small2.png",
"webpage": null,
"search": {
"gpuCostPerHour": 1,
"diskHour": 0.002074074074074074,
"totalHour": 1.0020740740740741,
"discountTotalHour": 0,
"discountedTotalPerHour": 1.0020740740740741
},
"instance": {
"gpuCostPerHour": 0,
"diskHour": 0.002074074074074074,
"totalHour": 0.002074074074074074,
"discountTotalHour": 0,
"discountedTotalPerHour": 0.002074074074074074
},
"storage_cost": 0.14933333333333335,
"storage_total_cost": 0.002074074074074074,
"vram_costperhour": 0.00004079441760601181,
"credit_balance": null,
"credit_discount": null,
"credit_discount_max": 0.4,
"client_run_time": 1.1,
"host_run_time": 2592000,
"external": false,
"time_remaining": "",
"time_remaining_isbid": ""
}
}API key must be provided in the Authorization header
The instance (contract) ID to retrieve.
Success response with instance details.
Detailed information about an instance.
Show child attributes
Unique identifier for the instance.
883
Current status of the instance container.
"running"
Intended status of the instance container.
"running"
Current state of the machine contract.
"running"
Next scheduled state for the machine contract.
"running"
User-defined label for the instance.
null
Identifier for the instance template.
null
Hash identifier for the instance template.
null
Name of the template (if available).
null
Docker image used for the instance.
"tensorflow/tensorflow:latest-gpu"
Arguments passed to the container.
[]How the container is launched (ssh, jupyter, etc.).
"ssh"
Additional environment variables.
[]Script or command run at container start.
null
Jupyter token for the instance.
"53fc448d6644aa7535c6fa5498cdbedc782753e88d81b44090e54dcf1332ed30"
Status message for the instance.
null
Local IP addresses for the instance (space-separated).
"10.2.202.31 172.17.0.1 \n"
Host (or IP) used for SSH connection.
"ssh2281.vast.ai"
Identifier for the SSH forwarder used.
"2281"
Port used for SSH connection.
10882
Calculated SSH port for accessing the machine directory.
5300
ID of the physical machine.
178
ID of the bundle this instance belongs to.
617
Instance start time (epoch seconds).
1761008618.225083
Instance end time (epoch seconds).
2034617753
Uptime of the instance in minutes.
null
Duration of the instance in seconds.
273608757.18784523
CPU architecture.
"amd64"
Number of CPU cores.
32
Effective number of CPU cores allocated.
4
Name of the CPU.
"Xeon® Silver 4110"
Total system RAM in MB.
128576
CPU utilization as a fraction.
0
Memory limit in megabytes.
null
Memory usage in megabytes.
null
Virtual memory usage in megabytes.
null
Name of the GPU.
"RTX A5000"
GPU architecture.
"nvidia"
Total GPU RAM in MB.
24564
Allocated GPU RAM in MB.
24564
GPU utilization as a fraction.
null
Current GPU temperature in Celsius.
null
Fraction of GPU allocated.
0.125
Number of PCIe lanes for the GPU.
16
GPU memory bandwidth in GB/s.
628.8
NVLink bandwidth in GB/s.
0
Name of the disk.
"Samsung SSD 860"
Disk space allocated in GB.
10
Disk bandwidth in MB/s.
500.55
Disk utilization percentage.
-1
Disk usage percentage.
-1
Number of direct ports available.
12
Start of direct port range.
-1
End of direct port range.
-1
List of additional ports exposed by the instance.
[8080, 8081]Whether the instance has a static public IP.
true
Public IP address of the instance.
"63.135.50.11"
Geographical location of the instance.
"Washington, US"
Verification status of the instance.
"verified"
Whether the instance is currently rentable.
true
Host ID for the instance.
2
Hosting type code.
1
Minimum bid price for the instance.
0.02
Whether the instance was created via bidding.
false
Base dollars per hour.
1
Total dollars per hour.
1.0020740740740741
Deep learning performance score.
22.229415
DLPerf per total DPH.
22.183404974866942
FLOPS per total DPH.
27.46814902424601
Total FLOPS.
27.52512
Instance score.
22.043656178546772
Reliability score.
0.9993661
Operating system version.
18.04
Motherboard name.
"S7109GM2NR"
PCIe generation.
3
PCIe bandwidth in GB/s.
11.7
Number of GPUs allocated.
1
URL to the logo image.
"/static/logos/vastai_small2.png"
URL to the instance's webpage, if available.
null
Search pricing details.
{
"gpuCostPerHour": 1,
"diskHour": 0.002074074074074074,
"totalHour": 1.0020740740740741,
"discountTotalHour": 0,
"discountedTotalPerHour": 1.0020740740740741
}Instance pricing details.
{
"gpuCostPerHour": 0,
"diskHour": 0.002074074074074074,
"totalHour": 0.002074074074074074,
"discountTotalHour": 0,
"discountedTotalPerHour": 0.002074074074074074
}Storage cost per hour.
0.14933333333333335
Total storage cost.
0.002074074074074074
VRAM cost per hour.
0.00004079441760601181
User's credit balance.
null
User's credit discount.
null
Maximum credit discount.
0.4
Client run time in hours.
1.1
Host run time in hours.
2592000
Whether the instance is external.
false
Time remaining for the instance (if applicable).
""
Time remaining for the instance if it is a bid.
""