Skip to content

About

⚡ High-Performance FinOps CLI for LLM Token Arbitrage, GPU Cloud Pricing & Cloudflare R2 vs S3 Storage Optimization. Powered by https://cloudcostsniper.com

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚡ CloudCost CLI (cloudcost)

License: MIT Powered by Python: 3.9+

CloudCost CLI is an ultra-fast, zero-dependency command-line FinOps suite engineered to calculate, audit, and arbitrage LLM token consumption, GPU cloud instances (H100, A100, L40S, RTX 4090), and multi-cloud egress storage differentials (AWS S3 vs. Cloudflare R2 vs. Google Cloud Storage).

Developed by Matthew Vance (Vance Systems).

Official interactive web calculators & audit suite: https://cloudcostsniper.com


🚀 Installation

pip install cloudcost-cli
# or install directly from GitHub:
pip install git+https://github.com/vance-engine/cloudcost-cli.git

⚡ Quick Start

1. LLM Token Cost Arbitrage

Compare real token expenditure across OpenAI, Anthropic Claude, Google Gemini, and DeepSeek:

# Compare cost for 10M input tokens and 2M output tokens
cloudcost llm --input 10000000 --output 2000000

Sample output:

┌───────────────────────┬────────────┬─────────────┬─────────────┬─────────────────┐
│ Model / Provider      │ Input Cost │ Output Cost │ Total Cost  │ Arbitrage Delta │
├───────────────────────┼────────────┼─────────────┼─────────────┼─────────────────┤
│ DeepSeek V3           │ $1.40      │ $5.60       │ $7.00       │ [BEST VALUE]    │
│ Gemini 1.5 Flash      │ $0.75      │ $3.00       │ $3.75       │ -96.2% vs GPT-4o│
│ GPT-4o                │ $25.00     │ $20.00      │ $45.00      │ BASELINE        │
│ Claude 3.5 Sonnet     │ $30.00     │ $30.00      │ $60.00      │ +33.3%          │
│ Claude 3 Opus         │ $150.00    │ $150.00     │ $300.00     │ +566.7%         │
└───────────────────────┴────────────┴─────────────┴─────────────┴─────────────────┘

2. Multi-Cloud Egress Arbitrage (AWS S3 vs. Cloudflare R2)

Audit the monthly egress tax charged by traditional hyper-scalers:

# Calculate egress cost for 25 TB of data transfer
cloudcost egress --tb 25
AWS S3 Standard Egress:        $2,250.00 / month
Google Cloud Egress:           $2,125.00 / month
Cloudflare R2 Egress:          $0.00     / month (Zero Egress Fees)
─────────────────────────────────────────────────────────────────
Annual Arbitrage Savings:      $27,000.00 / year

3. GPU Cloud Spot vs On-Demand Arbitrage

Calculate cluster operating expenses across NVIDIA H100 SXM, A100 80GB, and RTX 4090:

# Price 8x H100 cluster for 720 hours (1 month)
cloudcost gpu --gpu H100 --nodes 8 --hours 720

🛠️ Global Flags

  • --json: Output raw RFC-8259 JSON for integration into CI/CD pipelines and automated cost alerts.
  • --currency [USD|EUR]: Convert live costs with real-time ECB exchange rates.
  • --audit <path>: Scan your repository for LLM API calls and estimate monthly spend.

🌐 Community & Ecosystem

About

⚡ High-Performance FinOps CLI for LLM Token Arbitrage, GPU Cloud Pricing & Cloudflare R2 vs S3 Storage Optimization. Powered by https://cloudcostsniper.com

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages