Skip to main content
POST
Calculate Infrastructure Cost
Calculate infrastructure costs for cloud resources with industry-leading FinOps optimization. Get monthly/annual costs, cost breakdowns, Spot instance recommendations, Reserved Instance/Savings Plans guidance, and rightsizing suggestions for AWS, GCP, and Azure resources.
Shift-Left FinOps: Unlike traditional FinOps tools that analyze costs after deployment, WISTX provides optimization recommendations during code generation - before infrastructure is provisioned. This proactive approach can save 40-60% compared to post-deployment optimization.

Endpoint

Request Parameters

array[object]
required
List of resource specifications (1-100 resources)
string
required
Cloud provider: aws, gcp, azure, oracle, alibaba
string
required
Service name (e.g., rds, ec2, s3, lambda, eks for AWS)
string
required
Instance type (e.g., db.t3.medium, t3.medium, m5.large)
integer
default:"1"
Quantity of resources (minimum: 1)
string
Region ID (e.g., us-east-1, us-central1, westeurope)
string
Environment name (e.g., dev, stage, prod)
boolean
default:"true"
Whether to check budgets and enforce limits
string
Environment name for budget scoping (overrides resource-level environment)
boolean
default:"true"
Whether to include existing infrastructure spending in breakdown

Response Example

Advanced Optimization

The pricing API includes advanced FinOps optimization that exceeds industry standards:

Spot Instance Recommendations

For each compute resource, WISTX analyzes:
  • Workload suitability: Is your workload suitable for Spot? (batch, CI/CD, dev/test = excellent; web APIs = moderate; databases = not recommended)
  • Savings potential: Typically 60-70% savings
  • Fallback strategy: Recommended fallback instance types for diversification
  • Allocation strategy: capacity-optimized, diversified, or lowest-price

Reserved Instance / Savings Plans Guidance

For production workloads:
  • RI Savings: 31-58% depending on term (1-year vs 3-year) and payment option (No Upfront, Partial, All Upfront)
  • Savings Plans: 28-52% with more flexibility across instance families
  • When to use RIs vs SPs: RIs for predictable workloads, SPs for flexible compute needs

Rightsizing Recommendations

Based on workload analysis:
  • Suggested instance types: Based on expected CPU/memory requirements
  • Cost comparison: Monthly savings from rightsizing
  • Risk assessment: Low/medium/high risk for each recommendation

Code Generation Guidance

Real-time recommendations for your Terraform/CDK code:
  • Instance type suggestions
  • Spot configuration recommendations
  • Budget warnings before deployment

Rate Limits

  • Professional: 2,000 queries/month
  • Team: 10,000 queries/month
  • Enterprise: Unlimited queries/month