term

Price ladder for one instance type: spot, on-demand, 1-year and 3-year commitments, with discounts.

Current prices from our series: spot median across zones (where spot events exist), on-demand list price, and reserved/reservation terms as effective hourly with upfront amortized. discount_pct is relative to on-demand. AWS carries four reserved terms (1y/3y × no/all upfront), Azure two (1y/3y all upfront), GCP two resource-based committed-use terms (cud_1y, cud_3y, no upfront).

get/v1/term/instance

Request

  • Base URL: https://cloud.trycorpus.ai
  • URL: https://cloud.trycorpus.ai/v1/term/instance
  • Auth: one of:
    • API key in header PAYMENT-SIGNATURE
    • API key in header Authorization
    • API key in header X-Api-Key

Query parameters

provider'aws' | 'gcp' | 'azure' required

Cloud provider. One of aws, gcp, azure.

regionstring required
Example:us-east-1

Region slug as listed by /catalog (for example us-east-1 for AWS, us-central1 for GCP, us-east for Azure). Azure slugs map to eastus, westus2, westeurope.

instancestring required
Example:c5.large

Instance / machine / SKU type name exactly as listed by /instances (for example c5.large, n2-standard-4, D2s_v5).

Response

Ladder.

providerstring
regionstring
instancestring
unitstring
notestring

Changes

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