aid: vast-ai name: Vast.ai description: Vast.ai is a decentralized GPU marketplace that matches buyers with 40+ datacenters and individual hosts renting out NVIDIA GPUs at market prices. It exposes a REST API, Python SDK, and vastai CLI for searching GPU offers, renting instances, attaching persistent volumes, and running serverless workloads across 68+ GPU types including H100, H200, B200, A100, and consumer RTX cards. image: https://kinlane-productions.s3.amazonaws.com/apis-json/apis-json-logo.jpg url: https://raw.githubusercontent.com/api-evangelist/vast-ai/refs/heads/main/apis.yml created: '2026-05-23' modified: '2026-05-23' specificationVersion: '0.19' type: Index access: 3rd-Party position: Producer tags: - AI - Cloud - Compute - GPU - Machine Learning - Marketplace - Serverless apis: - aid: vast-ai:rest-api name: Vast.ai REST API description: The Vast.ai REST API is the control plane for the GPU marketplace. It supports searching offers across hosts, renting and managing instances, configuring machines and templates, attaching persistent volumes, managing serverless endpoints, and querying billing and usage. Authentication uses bearer tokens issued from the Keys management page. humanURL: https://docs.vast.ai/api/ baseURL: https://console.vast.ai/api/v0 tags: - Billing - GPU - Instances - Marketplace - REST - Search - Serverless - Templates - Volumes properties: - type: Documentation url: https://docs.vast.ai/api/ - type: Authentication url: https://docs.vast.ai/api/authentication common: - type: Website url: https://vast.ai - type: Developer url: https://docs.vast.ai - type: Documentation url: https://docs.vast.ai - type: Portal url: https://cloud.vast.ai - type: SignUp url: https://cloud.vast.ai/create - type: Login url: https://cloud.vast.ai/login - type: Pricing url: https://vast.ai/pricing - type: Blog url: https://vast.ai/blog - type: TermsOfService url: https://vast.ai/terms - type: PrivacyPolicy url: https://vast.ai/privacy - type: Support url: https://vast.ai/contact - type: GitHubOrganization url: https://github.com/vast-ai - type: LinkedIn url: https://www.linkedin.com/company/vast-ai - name: vastai CLI url: https://github.com/vast-ai/vast-cli type: CLI - name: Vast.ai Python SDK url: https://github.com/vast-ai/vast-sdk type: SDK - name: Vast.ai Base Image url: https://github.com/vast-ai/base-image type: Samples - type: Features data: - name: GPU Marketplace description: Market-driven matching of buyers with 40+ datacenters and individual hosts across 68+ GPU types. - name: On-Demand Instances description: Per-second-billed GPU rentals with guaranteed uptime, with no minimum hours. - name: Interruptible Instances description: Fault-tolerant workloads priced 50%+ cheaper than on-demand with potential preemption. - name: Reserved Capacity description: Up to 50% discounts on 1, 3, or 6-month commitments for stable workloads. - name: Serverless Endpoints description: Serverless GPU workers built on the pyworker agent for autoscaling inference. - name: Templates description: Pre-configured instance templates for fast launching of common workloads. - type: GPUs data: - name: NVIDIA B200 description: Blackwell-generation flagship GPU available across hosts. - name: NVIDIA H200 description: 141GB HBM3e GPU available across hosts. - name: NVIDIA H100 description: 80GB Hopper GPU widely available across the marketplace. - name: NVIDIA A100 description: 80GB Ampere GPU widely available across the marketplace. - name: NVIDIA RTX 4090 description: 24GB consumer GPU, popular for inference and fine-tuning. - name: NVIDIA RTX 3060 description: 12GB consumer GPU at entry-level price points. - type: Integrations data: - name: Docker description: Bring-your-own Docker image support across all rental instances. - name: SSH description: Direct SSH access to rented instances for development and orchestration. - type: LLMsTxt url: https://docs.vast.ai/llms.txt maintainers: - FN: Kin Lane email: kin@apievangelist.com url: https://apievangelist.com