← 返回
开发者工具 Key 中文

Vast Ai

Provision and manage on-demand GPUs on VAST.ai, including search by GPU and price, renting containers, retrieving SSH, and checking account balance.
在 VAST.ai 上按需提供和管理 GPU,支持按 GPU 类型和价格搜索、租赁容器、获取 SSH 及查询账户余额。
sschepis
开发者工具 clawhub v1.0.0 1 版本 99825.6 Key: 需要
★ 1
Stars
📥 1,697
下载
💾 17
安装
1
版本
#ai-training#automation#cloud#compute#devops#gpu#infrastructure#latest#vast-ai

概述

Skill: VAST.ai GPU Rental

Overview

This skill allows you to provision on-demand GPU infrastructure. You must have a user-provided API Key before performing write actions.

Capabilities

  1. Search: Find machines by GPU model (e.g., "RTX 4090") and max hourly price.
  2. Rent: Instantiate a container (default: PyTorch) on a specific Offer ID.
  3. Connect: Retrieve the SSH connection string for an active instance.
  4. Balance: Check available credit and current hourly burn rate across all active machines.

Usage Protocol

  • Step 1: Ask the user for their VAST API Key if not already in context.
  • Pre-flight Check: Before renting, call balance to ensure the user has sufficient funds.
  • Step 2: Search for offers and present the top 3 cheapest options to the user.
  • Step 3: Upon confirmation, call rent.
  • Reporting: If credit is below $5.00, warn the user after every successful rental.
  • Step 4: Wait 30-60 seconds, then call connect to provide the SSH string.

Tool Definitions

  • search(gpu: string, price: number)
  • rent(id: number, image: string)
  • connect(id: number)
  • balance()

Execution

Run the CLI wrapper for these tools.

Command: node /Users/sschepis/Development/vast-ai/dist/cli.js [params]

Env: VAST_API_KEY must be set.

Examples

  • Search: node dist/cli.js search --gpu "RTX 4090" --price 0.5
  • Rent: node dist/cli.js rent --id 12345 --image "pytorch/pytorch"
  • Connect: node dist/cli.js connect --id 12345
  • Balance: node dist/cli.js balance

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-28 19:53 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 671 📥 324,378
data-analysis

Peer Reviewer

sschepis
{"answer":"AI学术论文评审工具。采用多智能体系统(解构者、魔鬼代言人、审判者)分析论文的逻辑漏洞、矛盾及实证有效性。"}
★ 2 📥 2,372
developer-tools

Gog

steipete
Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、通讯录、表格和文档。
★ 921 📥 185,826