Reserved Instance Breakeven Calculator
reserved-instance-breakevenRead-onlyIdempotent
Use this when a user asks whether to buy Reserved Instances or stay on On-Demand, or how long an RI takes to pay for itself. Takes On-Demand and RI monthly costs plus optional upfront fees (0 when omitted). Judges the 1-year and 3-year terms separately and returns each break-even month and net saving. It recommends a term only when that term saves money over its own length, and prefers 3 years only when it beats three 1-year terms over 36 months at current prices.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| od_monthly | Yes | On-Demand cost per month in USD. | |
| ri_1yr_monthly | Yes | 1-year Reserved Instance cost per month in USD, excluding the upfront fee. | |
| ri_1yr_upfront | No | 1-year upfront fee in USD; 0 when omitted (no-upfront RI). | |
| ri_3yr_monthly | Yes | 3-year Reserved Instance cost per month in USD, excluding the upfront fee. | |
| ri_3yr_upfront | No | 3-year upfront fee in USD; 0 when omitted (no-upfront RI). |
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| severity | Yes | ||
| next_step | Yes | ||
| next_step_url | Yes | ||
| why_follow_up | Yes | ||
| interpretation | Yes | ||
| breakeven_months | No | ||
| recommended_term | Yes | ||
| affiliate_context | No | ||
| computation_basis | Yes | ||
| net_savings_1yr_usd | Yes | ||
| net_savings_3yr_usd | Yes | ||
| breakeven_months_3yr | No | ||
| monthly_saving_1yr_usd | Yes | ||
| monthly_saving_3yr_usd | Yes |