{"categories":[{"label":"Distributed Computing","url":"https://skillfed.io/packages/category/system-distributed-computing"}],"enrichment":{"capability":"Provides a CLI and Python SDK for managing GPU compute resources on Vast.ai, including instance lifecycle operations, resource searching, and serverless endpoint inference.","skillfed_tags":["gpu-cloud","infrastructure-as-code","async-http"],"use_cases":["Search and filter GPU offers by hardware specs (model, count, memory) before provisioning a training instance","Automate instance lifecycle in CI/CD pipelines\u2014create, configure, run jobs, then tear down to minimize cost","Build applications that query serverless GPU endpoints for real-time model inference without managing infrastructure","Monitor and manage multiple GPU instances programmatically from a single control script","Integrate Vast.ai resource discovery into AI agent workflows for autonomous compute allocation"],"what_it_does":"Vastai is the official Python interface to Vast.ai's GPU cloud platform. It offers both a command-line tool and a programmatic SDK for discovering, provisioning, and managing GPU compute instances on a peer-to-peer marketplace. The CLI can be installed standalone without Python, while the SDK integrates into Python applications for automated workflows.\n\nThe package handles three main workflows: searching available GPU offers by specification, managing instance lifecycle (create, start, stop, destroy), and making inference requests to serverless endpoints. It wraps HTTP communication with aiohttp and requests, handles authentication via API key, and provides tab completion for CLI commands. The serverless client supports async request patterns for high-throughput inference scenarios.","worth_installing":"Yes, if you use Vast.ai for GPU compute. The package is actively maintained, has no known vulnerabilities, and provides both CLI and SDK interfaces. Install friction is low and the license is permissive. The main prerequisite is a Vast.ai account and API key. Not relevant if you don't use the Vast.ai platform."},"id":"vastai","links":{"html":"https://skillfed.io/packages/vastai","md":"https://skillfed.io/packages/vastai.md","pypi":"https://pypi.org/project/vastai/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-08-12","license_spdx":null,"license_treatment":"permissive","name":"vastai","python_support":"supports_current","summary":"CLI and SDK for Vast.ai GPU Cloud Service"},"popularity":{"monthly_downloads":2173468,"position":3233,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"1.5.4"}
