cost: bump rates to match actual Azure billing (~$65k/mo)

- Increased CPU/memory rates and per-VIN resource estimates
- Added base infrastructure cost distribution across active VINs
- Updated README with projected costs for 5000 vehicles
- Image: fiskercloud.azurecr.io/cost:v6
This commit is contained in:
Chris Rai
2026-02-01 00:19:29 -05:00
parent 877b8a93f1
commit 3f7f2d559f
5 changed files with 66 additions and 24 deletions

View File

@@ -222,8 +222,9 @@ func GetReport(w http.ResponseWriter, r *http.Request) {
╠══════════════════════════════════════════════════════════════════╣
║ COST RATES ║
║ ─────────────────────────────────────────────────────────────── ║
║ Cloud: CPU $%.3f/core-hr Memory $%.4f/GB-hr
║ On-Prem: CPU $%.3f/core-hr Memory $%.4f/GB-hr
║ Cloud: CPU $%.2f/core-hr Memory $%.3f/GB-hr
║ On-Prem: CPU $%.2f/core-hr Memory $%.3f/GB-hr
║ Base Infra: Cloud $%.2f/15min On-Prem $%.2f/15min
╠══════════════════════════════════════════════════════════════════╣
║ ANNUAL PROJECTION (based on current usage) ║
║ ─────────────────────────────────────────────────────────────── ║
@@ -244,6 +245,7 @@ func GetReport(w http.ResponseWriter, r *http.Request) {
summary.TotalSavings, summary.SavingsPercent,
services.CloudCPUPerCoreHour, services.CloudMemoryPerGBHour,
services.OnpremCPUPerCoreHour, services.OnpremMemoryPerGBHour,
services.BaseInfraCloudCost, services.BaseInfraOnpremCost,
annualCloud, annualOnprem, annualSavings,
)