微算力 · API 导航与自营网关
API 接入 EN
未登录登录
🖥️

秒租 GPU · 低价算力即开即用

Vast Ai · v1.0.0
效率 安全 B 级 作者 sschepis 公开目录收录
下载 1.9k 安装 1 收藏 3.8k 浏览 36

简介

按需租用 GPU 算力资源,支持 RTX 4090 等高端显卡搜索与秒级部署,适合 AI 训练与推理场景。

原始描述

Provision and manage on-demand GPUs on VAST.ai, including search by GPU and price, renting containers, retrieving SSH, and checking account balance.

安装

下载 zip 解压后,把里面的文件放进你的 Agent 的 skills 目录即可使用。

给 Agent 的直链(让它自己下载安装):

Claude Code 放 ~/.claude/skills/;Codex、TypingMind 等按各自文档的 skills 目录放置。技能申请什么权限由作者决定,装前请确认。

技能正文

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 <action> [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

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

其他来源收录

同一技能在不同目录的原始页面:

标签

gpu-rentalcloud-computingmachine-learningpytorchinfrastructure-as-codecost-optimization

同类 Skill