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.

post/calculate/reserved-instance-breakeven

Request

  • Base URL: https://utility-matrix.com
  • URL: https://utility-matrix.com/calculate/reserved-instance-breakeven
  • Auth: none declared

Request body

od_monthlynumber required

On-Demand cost per month in USD.

ri_1yr_monthlynumber required

1-year Reserved Instance cost per month in USD, excluding the upfront fee.

ri_3yr_monthlynumber required

3-year Reserved Instance cost per month in USD, excluding the upfront fee.

ri_1yr_upfrontnumber

1-year upfront fee in USD; 0 when omitted (no-upfront RI).

ri_3yr_upfrontnumber

3-year upfront fee in USD; 0 when omitted (no-upfront RI).

Example request

{
  "od_monthly": 450,
  "ri_1yr_monthly": 280,
  "ri_3yr_monthly": 180
}

Response

Successful calculation

interpretationstring required

Human-readable interpretation of the result.

tool_urlstring required

Canonical browser URL for the corresponding calculator.

Changes

No recorded changes to this operation across all 1 revision of this API.