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
pip install cloudcost-cli
# or install directly from GitHub:
pip install git+https://github.com/vance-engine/cloudcost-cli.gitCompare 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 2000000Sample 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% │
└───────────────────────┴────────────┴─────────────┴─────────────┴─────────────────┘
Audit the monthly egress tax charged by traditional hyper-scalers:
# Calculate egress cost for 25 TB of data transfer
cloudcost egress --tb 25AWS 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
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--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.
- Web Platform & Calculators: https://cloudcostsniper.com
- Author: Matthew Vance (
matthew@cloudcostsniper.com) - License: MIT