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.0.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.0-py3-none-any.whl (15.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: money_smi-0.3.0.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.0.tar.gz
Algorithm Hash digest
SHA256 0d67f3f637855c7ec593062b573dbf6832817fb3aa9d17232d1a72407205d4ef
MD5 d4a82e2252dae1a04554b1c1b9199aff
BLAKE2b-256 6f0c047fd10779e0d3bbad6295082896df24e1744559f30f764317016c400b78

See more details on using hashes here.

File details

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

File metadata

  • Download URL: money_smi-0.3.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 755134c00c233644011034d063b2b113243af6e58c596869ba2aabce695e248c
MD5 bb7381ff2cb453ba2539f5fa815bcc62
BLAKE2b-256 26bb0d4ffc1bc77b49d163e755702924d7072588f578fc472d02e8dd445efbee

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