Vast.ai CLI

Command reference to rent, run, and destroy Vast.ai GPU instances safely

Works with setup

Test report

Verdict
Works with setup
Score
9.2/10
Tested
Jul 19, 2026
Environment
Claude Code 2.x (agent harness)
Upstream re-checked
Jul 30, 2026 · 569d58f

This skill is no longer available upstream. Our re-check on Aug 10, 2026 couldn't find it any more (repo unreachable/deleted). The test below is what we measured on Jul 19, 2026 and we're leaving it up as a record — but there is nothing left to install, so we've removed the command.

Ran the skill's exact recommended query live (search offers 'gpu_name=RTX_4090 num_gpus=1 verified=true direct_port_count>=1 rentable=true' -o 'dlperf_usd-') and it returned 59 real offers, cheapest at $0.273/hr, confirming the filter and sort syntax works verbatim. Against a no-skill baseline the reference wins clearly by supplying the correct field names, sort-suffix, ssh-key-before-create ordering, and the -y-on-destroy hang fix I would otherwise guess at. Marked setup rather than pass because the skill only drops in documentation: the CLI itself needs a separate pip install vastai, and every mutating command (create/destroy instances, show user) returned 403 without a funded API key, so the headline spin-up/tear-down workflow is unverified here. What is measurable (offer search) is accurate and beats baseline.

Scored on four weighted criteria — install, triggering, output vs. baseline, docs. How scoring works

  • Installs cleanly 5/5
  • Triggers reliably 5/5
  • Output vs. baseline 8/10
  • Docs & honesty 5/5

What Vast.ai CLI does

A dense, accurate reference for the vastai CLI covering GPU offer search, instance create/stop/destroy, volumes, serverless endpoints, SSH, and billing. Supplies the exact filter and sort syntax, the @vastai-automatic-tag image trick, and gotchas like registering an SSH key before create and passing -y so destroy does not hang. Triggers on Vast.ai GPU rental, search, or teardown tasks.

How to install Vast.ai CLI

Nothing to install: the source repository no longer has this skill. If the author brings it back, our daily re-check will pick it up and the command will reappear here.

Commands — how to trigger Vast.ai CLI

  • /vastai Command reference to rent, run, and destroy Vast.ai GPU instances safely

It also activates on plain-language prompts like these:

  • Find the cheapest verified RTX 4090 offer on Vast.ai right now.
  • Spin up an H100 instance on Vast.ai and give me the SSH command.
  • Destroy my Vast.ai GPU instance so it stops billing me.

Frequently asked questions

Is the Vast.ai CLI skill free?
Yes. The skill itself is free from vast-ai/vast-cli. SkillProof publishes the install command and an independent test verdict at no cost.
Does Vast.ai CLI work with Claude Code?
We tested it with Claude Code 2.x (agent harness) on Jul 19, 2026. Verdict: Works with setup. Ran the skill's exact recommended query live (search offers 'gpu_name=RTX_4090 num_gpus=1 verified=true direct_port_count>=1 rentable=true' -o 'dlperf_usd-') and it returned 59 real offers, cheapest at $0.273/hr, confirming the filter and sort syntax works verbatim. Against a no-skill baseline the reference wins clearly by supplying the correct field names, sort-suffix, ssh-key-before-create ordering, and the -y-on-destroy hang fix I would otherwise guess at. Marked setup rather than pass because the skill only drops in documentation: the CLI itself needs a separate pip install vastai, and every mutating command (create/destroy instances, show user) returned 403 without a funded API key, so the headline spin-up/tear-down workflow is unverified here. What is measurable (offer search) is accurate and beats baseline.
What is the Vast.ai CLI SkillProof Score?
9.2/10 — installs cleanly 5/5, triggers reliably 5/5, output vs. baseline 8/10, docs & honesty 5/5.
How do I install Vast.ai CLI?
Copy the install command from this page, run it in your terminal, and restart Claude Code. Skills live in ~/.claude/skills/ (global) or .claude/skills/ inside a project.
Can I use Vast.ai CLI with Cursor, Copilot, Gemini CLI, Codex or other AI tools?
The SKILL.md format is native to Claude (Claude Code, Desktop, claude.ai). The instructions inside adapt to other assistants: Cursor rules, GitHub Copilot instructions, Windsurf rules, Custom GPTs, AGENTS.md for OpenAI Codex, and GEMINI.md for Google Gemini CLI — our conversion guides cover each, and the free converter on the tools page does the wrapping for you.