Recommendation Engine
Filters candidates and scores by price, fit, and optional TCO.
Filters candidates by vCPU, RAM, arch, region, max price, allowed providers. Two scoring modes:
Legacy mode (default)
score = (price_weight × normalized_price) + (fit_weight × resource_fit)
normalized_price = cheaper = higher (0–1). resource_fit = how closely instance matches specs.
Multi-criteria mode
When cost_weight, performance_weight, or reliability_weight provided:
score = (cost × cost_score) + (perf × perf_score) + (rel × rel_score)
Reliability based on provider type: hyperscaler 0.95, EU 0.85, regional 0.75.
TCO
When cost params provided: tco = instance_price + egress + storage + public_ip + os_license + cross_az. The explain block includes each component.