Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Plus Bandwidth

Vast.ai's cards show an hourly price and the words plus bandwidth. Tell this extension what you're running and it fills in the number, on every card, before you rent.

Plus Bandwidth running on cloud.vast.ai

Data transfer is priced per host, from under a cent per TB to $40. Vast.ai can't show you a per-job total because how much you move is a fact about your job, not about the offer. This does that one multiplication.

Install

Not on the Chrome Web Store yet.

  1. Clone this repo.
  2. Open chrome://extensions and turn on Developer mode.
  3. Click Load unpacked and select the repo folder.
  4. Open https://cloud.vast.ai/create/.

Works in any Chromium browser. Firefox needs a small manifest change and isn't supported yet.

How it works

The search page already fetches every offer it renders, and each one carries the host's inet_down_cost and inet_up_cost. The extension reads that response, multiplies it by the workload you picked, and writes the total onto the card.

  • No API key. It reads data the page already has.
  • No extra requests. Zero additional load on Vast.ai.
  • No backend. No telemetry, no analytics. Your workload numbers live in chrome.storage.sync and nowhere else. One permission: storage.

Cards it has no data for keep Vast.ai's original caption.

Not affiliated with Vast.ai

Third-party project, built after a complaint on r/vastai. Not a criticism of the marketplace: every number comes from Vast.ai's own API, which publishes each host's rates openly. Vast.ai also ships a $TB (Download) filter for capping this permanently, and the extension points you at it.

Development

npm test

Design notes and the reasoning behind the presets and colour thresholds are in docs/notes.md.

License

MIT. See LICENSE.

About

Chrome extension that fills in the number behind "plus bandwidth" on Vast.ai's search page: per-job cost estimates including each host's data transfer rate.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages