Install any skill in seconds. Free to start, no credit card required.
Get Started Free →vast-ai/vastai-sdk
Vast.ai Python SDK — high-level API for GPU instances, volumes, serverless endpoints, and billing.
Passed 21 of 22 test cases with the skill, and 4 of 22 without it.
and 30 more in the full report
17 fixed4 passed either way1 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 17 test cases the skill fixed. Same model, same prompt, with and without the skill.
Write a Python snippet using the Vast.ai SDK to sync a local directory './data' to S3 bucket path 's3://bucket/path' on instance 55555 using cloud connection ID 42.
| Checked | Without skill | With skill |
|---|---|---|
| Calls vast.cloud_copy with instance=55555 and connection=42 parameters | Missed | Passed |
| Sets transfer parameter to 'Instance To Cloud' | Missed | Passed |
The instructions your model reads when the skill loads.
vastai / vastai_sdk)The vastai package provides a Python SDK for managing GPU instances, volumes, serverless endpoints, and billing on Vast.ai. The vastai_sdk package is a backward-compatibility shim that re-exports vastai.
pip install vastai
For serverless and async support:
pip install "vastai[serverless]"
The SDK reads the API key from ~/.vast_api_key by default. You can also pass it explicitly:
from vastai import VastAI
vast = VastAI() # reads ~/.vast_api_key
vast = VastAI(api_key="YOUR_API_KEY") # explicit key
Get your API key from https://console.vast.ai/manage-keys/
The old vastai_sdk import still works:
from vastai_sdk import VastAI # equivalent to: from vastai import VastAI
from vastai import VastAI
vast = VastAI(api_key=None, server_url=None, retry=3, raw=False, quiet=False)
test cases passed, vs 4 / 22 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.