Skip to main content

Universal GPU Opportunity Cost Tracker [Protocol: MIDAS]

Project description

💰 money-smi

v0.1.0 "Protocol: MIDAS"

"Every second your GPU is idle, you are losing money."

money-smi (formerly GPUWatch) is a cyberpunk-themed universal dashboard that tracks the Opportunity Cost of your idle Local GPUs and Cloud Instances.

Demo

📦 Installation

pip install money-smi

🚀 Usage

Run the tool with default settings ($2.00 daily profit potential):

money-smi --auto

Options

Customize your potential earnings:

# earning $3.50 per day
money-smi --daily-profit 3.50

# using Yen (¥)
gpuwatch --currency "¥" --daily-profit 500

# reset lifetime statistics
gpuwatch --reset

🧠 Philosophy

Humans are loss-averse. We don't care about saving 5 cents of electricity. But we hate missing out on $5.00 of free money. This tool weaponizes that psychology to make you efficiently use your hardware.

🌍 Universal Monitor (v0.3.0) - NEW!

"One Dashboard to Rule Them All."

GPUWatch now automatically detects and monitors your Local GPUs (NVIDIA) and Cloud Instances (AWS EC2) simultaneously.

✨ Key Features

  1. Auto-Detect (--auto): Zero-config. It finds your GPU. It finds your AWS credentials. It just works.
  2. Market Intelligence: Real-time opportunity cost estimation based on live Vast.ai / NiceHash rental rates (e.g., ~$0.45/h for RTX 4090).
  3. Guardian Mode:
    • Slack Alerts: Get notified when money is burning.
    • Auto-Kill: Automatically terminate cloud instances after set idle time (e.g., 30 mins).
  4. True Metrics: Distinguishes between Cash Burn (Cloud) and Missed Opportunity (Local).

🚀 Usage

1. The "Magic" Command (Recommended)

Automatically scans everything.

gpuwatch --auto

2. Guardian Mode (Set & Forget)

Monitor for waste, alert on Slack, and kill instances if idle for 30 minutes.

gpuwatch --auto --guardian --slack-webhook "https://hooks.slack.com/..." --allow-kill --idle-timeout 1800

(Requires requests library)

3. Manual Mode

Legacy manual controls are still available.

# Local only (custom daily profit target)
gpuwatch --daily-profit 5.0

# Cloud only (AWS Tokyo)
gpuwatch --cloud aws --region ap-northeast-1

☁️ Cloud Setup

Just have your standard AWS credentials ready (~/.aws/credentials or AWS_ACCESS_KEY_ID).

  • Accuracy: If CloudWatch Agent is installed, we use accurate GPU Utilization. Otherwise, we fall back to CPU Utilization as a proxy.

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

money_smi-0.3.1.tar.gz (14.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

money_smi-0.3.1-py3-none-any.whl (15.0 kB view details)

Uploaded Python 3

File details

Details for the file money_smi-0.3.1.tar.gz.

File metadata

  • Download URL: money_smi-0.3.1.tar.gz
  • Upload date:
  • Size: 14.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for money_smi-0.3.1.tar.gz
Algorithm Hash digest
SHA256 81b3ca2d0176987f753e2c764177bb87a8ce0e0bb40dab9ed6feb5f7d61f095e
MD5 f6caac654d75b73d2c45721ff9c18926
BLAKE2b-256 7b60735f7ffb41bafa2172853cbb8dd57fb49e57b6571e4d3622fa332863a0d9

See more details on using hashes here.

File details

Details for the file money_smi-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: money_smi-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 15.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for money_smi-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7ae1494769695e41d0f096fcddbe5ee7e6e8feda1681d082471799d46a7b260e
MD5 a25640b4de9813f36e077bcb6a84ce65
BLAKE2b-256 cdd214c6cf10a3c526259d322042f60b24aa09acca8b45e728e8eaa72d69890c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page