{"uid":"cap_cVokijxZ69rSrmPbGYkG3","slug":"payai-infrastructure-cost-diff-estimator-0c65c256","name":"PayAI Infrastructure Cost Diff Estimator","description":"Estimate the monthly cost DELTA of an infrastructure change before you apply it: pass a Terraform plan (its resource changes) or a baseline and a proposed config and get total before, total after, the monthly delta, per-resource added / removed / modified line items, FinOps findings and a budget verdict (pass, caution, block). AWS and Azure common resources. Cost estimate, not a bill.","url":"https://payai.agentstools.dev/cost/diff","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"usage":{"type":"object","description":"Optional usage hints for usage-based items"},"format":{"enum":["auto","terraform","terraform-plan","cloudformation","docker-compose"],"type":"string","description":"Config format for baseline/proposed, or auto"},"region":{"type":"string","description":"Cloud region for pricing (default us-east-1)"},"baseline":{"type":"string","description":"Baseline config text (use with proposed instead of plan_json)"},"proposed":{"type":"string","description":"Proposed config text (use with baseline)"},"plan_json":{"type":"string","description":"A terraform plan JSON with resource_changes (before/after) — the one-file diff input"},"budget_monthly":{"type":"number","description":"Optional monthly USD budget for the verdict"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm__Hh_kOgwaxewwwbA0cjIn","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Estimates the monthly cost delta of an infrastructure change by comparing a baseline and proposed config (or Terraform plan), returning before/after totals, per-resource line items, FinOps findings, and a budget verdict.","exampleAgentPrompt":"Before I apply this Terraform plan, estimate the monthly cost delta — here are the resource changes adding two m5.xlarge EC2 instances and removing one t3.medium — and tell me if it passes my $500/month budget threshold.","exampleUseCases":[{"title":"Pre-deployment Terraform cost gate","prompt":"I'm about to run terraform apply on a plan that adds an RDS db.r5.large instance and a new NAT gateway — can you estimate the monthly cost delta and tell me if it's a pass, caution, or block against a $1,000/month budget?"},{"title":"Cloud migration cost comparison","prompt":"We're migrating from Azure Standard_D4s_v3 VMs to AWS m5.xlarge instances — what's the monthly cost difference between the baseline Azure config and the proposed AWS config, and are there any FinOps concerns I should know about?"},{"title":"Autoscaling group resize impact","prompt":"I want to scale our autoscaling group from 3 to 8 t3.large nodes — what's the monthly cost before and after, what's the delta, and will this flag any budget warnings?"}],"resultDescription":"Returns a structured cost comparison including: total monthly cost before the change, total monthly cost after, the net monthly delta (positive or negative), per-resource line items categorized as added, removed, or modified, FinOps findings highlighting potential waste or misconfigurations, and a budget verdict of pass, caution, or block. This is a cost estimate, not an actual bill.","failureModes":["Unsupported resource types (non-AWS/Azure or niche services) may be omitted from estimates","Incomplete or malformed Terraform plan JSON may cause parsing errors","Missing baseline config when no Terraform plan is provided results in incomplete delta","Reserved instance or savings plan discounts not accounted for, leading to overstated costs","Rate limit or payment failure (x402) if USDC balance is insufficient"],"whenToPreferThis":"Choose this endpoint when you need a pre-flight cost impact analysis of an infrastructure change before applying it, especially in CI/CD pipelines where automated budget gating (pass/caution/block) is needed. Prefer this over generic cloud pricing calculators when you have a Terraform plan diff or explicit before/after resource configs and need FinOps-aware per-resource line items rather than manual price lookups. Best suited for AWS and Azure common resources.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T07:04:41.351Z","isFirstParty":false}