whatisgithub

What is openvast?

dimavedenyapin/openvast — explained in plain English

Analysis updated 2026-05-18

6PythonAudience · developerComplexity · 4/5LicenseSetup · moderate

In one sentence

A terminal dashboard that rents GPUs from vast.ai, runs AI models on them with llama.cpp, and wires them into your opencode coding assistant.

Mindmap

mindmap
  root((openvast))
    What it does
      Rents cheapest fitting GPU
      Runs llama.cpp models
      Auto-wires into opencode
      Shows live cost and speed
    Tech stack
      Python
      Textual
      vast.ai CLI
      llama.cpp
    Use cases
      Run large models on rented GPUs
      Monitor GPU cost and throughput
      Connect rented GPU to opencode
      Pause or delete instances quickly
    Audience
      Developers using local LLMs
      opencode users

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Rent the cheapest GPU that fits a chosen AI model without manually browsing offers.

USE CASE 2

Watch a rented GPU's startup progress and live token throughput in one dashboard.

USE CASE 3

Automatically connect a rented GPU as a model provider inside opencode.

USE CASE 4

Track hourly cost and spend over the last day, week, or month.

What is it built with?

PythonTextualvast.aillama.cpp

How does it compare?

dimavedenyapin/openvastaclark4life/home-depot-crawlaetheria-labs1/storefront-skills
Stars666
LanguagePythonPythonPython
Last pushed2014-08-10
MaintenanceDormant
Setup difficultymoderatemoderateeasy
Complexity4/52/53/5
Audiencedeveloperdeveloperpm founder

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Requires a vast.ai account and API key to rent GPUs, opencode is optional for auto-wiring.

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

So what is it?

openvast is a terminal dashboard that helps you rent a GPU from vast.ai, a marketplace for renting graphics cards by the hour, and use it to run large AI language models through llama.cpp. Instead of manually finding a suitable GPU, setting it up, and configuring your coding tools to use it, openvast automates the whole process from a text-based interface you run in your terminal. You pick a model you want to run, and openvast searches vast.ai for the cheapest GPU offer that has enough video memory to fit it, then launches an instance on that machine. It shows you live progress as the instance starts up, from provisioning through downloading the model weights to becoming healthy and ready to use, along with real-time statistics like generation speed and how much the instance is costing you per hour. Once a rented GPU is healthy, openvast automatically connects it as a usable model inside opencode, a coding assistant tool, and removes that connection again if the instance is paused or deleted. The dashboard lets you pause, resume, or delete instances directly, and comes pre-loaded with a curated list of about nineteen AI models across different memory size tiers, covering families like Qwen, Gemma, Mistral, and Llama, though you can add your own models by editing a YAML configuration file without changing any code. Installation is a single command that sets up Python, the vast.ai command-line tool, and openvast itself, plus generates an SSH key if you do not already have one. You then need to create a vast.ai account and set your API key before openvast can rent GPUs on your behalf. Without a vast.ai key or opencode installed, the tool still runs in a read-only monitoring mode.

Copy-paste prompts

Prompt 1
Walk me through installing openvast and setting up my vast.ai API key.
Prompt 2
Explain how openvast picks the cheapest GPU offer for a model I want to run.
Prompt 3
Show me how to add a custom model to openvast's models.yaml file.
Prompt 4
How does openvast automatically wire a rented GPU into opencode?
Prompt 5
What do the different instance statuses like pulling, downloading, and healthy mean in openvast?

Frequently asked questions

What is openvast?

A terminal dashboard that rents GPUs from vast.ai, runs AI models on them with llama.cpp, and wires them into your opencode coding assistant.

What language is openvast written in?

Mainly Python. The stack also includes Python, Textual, vast.ai.

What license does openvast use?

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

How hard is openvast to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is openvast for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.