CostPulse logo

CostPulse: cheapest AWS region API

CostPulse is an AWS pricing API for FinOps engineers and AI agents: it finds the cheapest commercial AWS region for a service SKU, compares one SKU across regions, prices a multi-service workload per region, and calculates the savings of moving region, from AWS Price List data refreshed daily.

$0.01/query · x402 or AWS Marketplace key · free static sample at /tryit

Try It

GET /tryit: a real answer for /v1/cheapest?service=ec2&sku=m5.xlarge, captured Oct 22 2026 and served as a static sample (no live call). Paid queries answer live.

Integrate

x402curlPythonAgentCore
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { ExactEvmScheme } from "@x402/evm";
import { createWalletClient, http } from "viem";
import { privateKeyToAccount } from "viem/accounts";
import { base } from "viem/chains";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const wallet = createWalletClient({ account, chain: base, transport: http() });
const client = new x402Client().register("eip155:8453", new ExactEvmScheme({
  address: account.address,
  signTypedData: (msg) => wallet.signTypedData(msg)
}));
const fetch402 = wrapFetchWithPayment(fetch, client);
const res = await fetch402("https://costpulse.waltsoft.net/v1/cheapest?service=bedrock&sku=Nova2.0Pro-text-input-tokens-cross-region-global");
console.log(await res.json());

Endpoints

GET /v1/cheapest?service=bedrock&sku=Nova2.0Pro-text-input-tokens-cross-region-global

Ranked list of all regions by price for a service/SKU

GET /v1/compare?service=bedrock&sku=Nova2.0Pro-text-input-tokens-cross-region-global&regions=us-east-1,eu-west-1

Side-by-side pricing for specific regions

GET /v1/workload?services=ec2:m5.xlarge,rds:db.r5.large

Optimal region for a full stack (sums costs across services)

GET /v1/savings?service=bedrock&sku=Nova2.0Pro-text-input-tokens-cross-region-global&from=eu-west-1

How much you'd save by moving to the cheapest region

GET /v1/badge/{service} (free)

SVG badge showing cheapest region — embed in READMEs

Badge

CostPulse badge

Use CostPulse from an AI agent

MCP (Amazon Bedrock AgentCore Gateway, no connection header; pass api_key in each call):

https://waltsoft-marketplace-gateway-xncyjgs1uh.gateway.bedrock-agentcore.us-east-1.amazonaws.com/mcp

A2A (Agent2Agent 0.3, JSON-RPC message/send): agent card https://costpulse.waltsoft.net/.well-known/agent-card.json

REST: OpenAPI 3 schema · agents.md · llms.txt

Buy on AWS Marketplace

Subscribe with your AWS account and pay on your AWS bill: your API key is delivered to your AWS Secrets Manager. Find Waltsoft CostPulse on AWS Marketplace.

FAQ

What is the cheapest AWS region for my instance?

Call GET /v1/cheapest?service=ec2&sku=m5.xlarge: CostPulse returns the cheapest commercial region with its price per unit, the most expensive region and the savings percentage between them.

Which AWS services does CostPulse price?

EC2, RDS, Lambda, S3, DynamoDB and Amazon Bedrock model tokens among 19 services loaded from the AWS Price List API.

How fresh are the prices?

Each service is reloaded from the AWS Price List API once a day.

Can CostPulse price a whole architecture?

Yes. GET /v1/workload?services=ec2:m5.xlarge,rds:db.m5.large returns the cheapest single region for all the services together, with the total per region.

How do I use CostPulse from Claude, Strands Agents or another MCP client?

Connect to the Amazon Bedrock AgentCore Gateway MCP endpoint and call costpulse___getCheapestRegion, costpulse___compareRegions or costpulse___calculateSavings with your api_key.

Does CostPulse support the A2A (Agent2Agent) protocol?

Yes. The agent card is at https://costpulse.waltsoft.net/.well-known/agent-card.json with four skills: getCheapestRegion, compareRegions, estimateWorkloadCost and calculateSavings.

How much does CostPulse cost?

Subscribe on AWS Marketplace and pay per successful call on your AWS bill, or pay $0.01 per call in USDC with x402 and no account. Errors are never billed.