cost-diff
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.
- Price per call
- $0.05
- Chain
- Solana
- Method
- POST
- Paid calls · 30 days
- 0
Call it from code
This API is run by its own provider and paid directly through x402. We list it so you can find it; we don't route or hold the payment.
import { x402Client, wrapFetchWithPayment } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
const client = new x402Client();
registerExactEvmScheme(client, { signer: agentAccount });
const pay = wrapFetchWithPayment(fetch, client);
const res = await pay("https://payai.agentstools.dev/cost/diff", { method: "POST" });
console.log(await res.json());https://payai.agentstools.dev/cost/diff