{"uid":"cap_OalCKo5EbK1OMGtWzXPv9","slug":"agentstools-cloud-cost-estimator-ec7c3c1d","name":"AgentsTools Cloud Cost Estimator","description":"Estimate the monthly cloud cost of an infrastructure-as-code config before you apply it: Terraform (plan JSON or HCL), CloudFormation or docker-compose. Returns total monthly USD, a per-resource breakdown (unit price, quantity, assumptions), FinOps policy findings and a budget verdict (pass, caution, block) against an optional monthly budget. AWS and Azure common resources. Cost estimate, not a bill.","url":"https://api.agentstools.dev/cost/estimate","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"usage":{"type":"object","description":"Optional usage hints for usage-based items (s3_gb, lambda_requests, nat_gb, data_transfer_out_gb)"},"format":{"enum":["auto","terraform","terraform-plan","cloudformation","docker-compose"],"type":"string","description":"Config format, or auto to detect from the content"},"region":{"type":"string","description":"Cloud region for pricing (default us-east-1)"},"content":{"type":"string","description":"The IaC config text to price (one or many resources)"},"budget_monthly":{"type":"number","description":"Optional monthly USD budget for the verdict"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.04","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.04/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.04","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.04","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_0GE4sVqAf98aQiSqCUBfb","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.04","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Estimates monthly cloud infrastructure costs from Terraform, CloudFormation, or docker-compose configs before deployment, with per-resource breakdown and budget verdict.","exampleAgentPrompt":"Before I run terraform apply, estimate the monthly AWS cost for this Terraform plan JSON and check it against a $300/month budget — give me the total, a per-resource breakdown, and tell me if it passes, needs caution, or should be blocked.","exampleUseCases":[{"title":"Pre-deploy Terraform cost gate","prompt":"I've got a Terraform plan JSON for our new staging environment — can you estimate what it'll cost per month on AWS and flag anything that looks expensive or over our $200/month budget before we apply it?"},{"title":"CloudFormation stack cost review","prompt":"We're about to launch this CloudFormation stack for a new microservice. Can you estimate the monthly cost, break it down by resource, and tell me if there are any FinOps concerns I should know about?"},{"title":"Docker-compose to cloud cost estimate","prompt":"We're lifting our docker-compose setup to Azure — can you estimate the monthly cloud cost for running this configuration and give me a resource-by-resource breakdown with any budget warnings?"}],"resultDescription":"Returns total estimated monthly USD cost, a per-resource breakdown including unit price, quantity, and assumptions made, FinOps policy findings highlighting potential waste or risk, and a budget verdict (pass, caution, or block) compared against an optional monthly budget ceiling. Covers common AWS and Azure resource types.","failureModes":["Unsupported resource types not priced (returned with zero or unknown cost)","Malformed or unparseable IaC config returns an error","Azure/AWS resources outside supported set may be omitted from estimate","Budget verdict only returned when budget parameter is supplied","Estimate may differ from actual bill due to usage-based pricing assumptions"],"whenToPreferThis":"Choose this endpoint when you need a cost estimate before deploying infrastructure-as-code (Terraform, CloudFormation, docker-compose) to AWS or Azure, especially when enforcing budget gates in a CI/CD pipeline or agentic workflow. Prefer this over manual cost-calculator tools when you need programmatic, per-resource breakdowns with FinOps policy verdicts integrated into an automated decision loop.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T13:06:35.027Z","isFirstParty":false}