Estimate Wraps + AWS cost
estimate_costEstimate the real monthly cost of running email on Wraps + AWS: the flat Wraps platform fee for the plan, and the itemized AWS bill (SES, EventBridge, SQS, Lambda, DynamoDB, dedicated IP, WAF). The Wraps fee never varies with volume; the AWS-side event-pipeline line items (EventBridge, SQS, Lambda, DynamoDB) are derived from emails sent and event types per email. The events parameter is accepted for backward compatibility and does not currently affect the estimate. Use this instead of doing the arithmetic — six variables interact, including which SES pricing plan the AWS account is on.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"emails": "<emails>"
},
"name": "estimate_cost"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tier | No | Wraps plan. | |
| emails | Yes | Emails sent per month. | |
| events | No | Custom events you emit via POST /v1/events per month. Emails sent and SES delivery events (deliveries, opens, clicks, bounces) are not counted and do not affect price. | |
| billing | No | Wraps billing interval. | |
| sesPlan | No | AWS SES pricing plan for that account and Region. New AWS accounts default to 'essentials' ($0.16/1K); 'alacarte' is $0.10/1K. | |
| retention | No | How long email event history is kept. | |
| dedicatedIp | No | Include a dedicated sending IP. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| aws | No | AWS-side cost, itemized. | |
| input | No | The estimate inputs, after defaults were applied. | |
| total | Yes | Wraps fee plus the AWS bill. | |
| wraps | No | Flat Wraps platform fee for the plan. Does not vary with volume. | |
| period | Yes | Always month. | |
| currency | Yes | Always USD. | |
| shareUrl | No | Link reproducing this estimate on wraps.dev. |