Build on Vast.ai
CLI, Python SDK, and REST API — everything you need to provision GPU compute programmatically.
CLI
Search, deploy, and manage GPU instances from your terminal. One pip install, zero dependencies.
Get started in seconds
CLI
pip install vastai vastai set api-key YOUR_API_KEY vastai search offers 'gpu_name=H100_SXM num_gpus>=4'Python SDK
pip install vastai-sdk from vastai_sdk import VastAI vast = VastAI(api_key="YOUR_API_KEY") vast.search_offers(query='gpu_name=H100_SXM num_gpus>=4')