compare_provider_costs
Compare the monthly cost totals of a cloud architecture across providers. Returns numeric cost summaries per provider to inform cost-focused provider selection.
Instructions
Compare the monthly cost totals of an architecture across cloud providers.
Returns one numeric cost summary per provider (monthly total, per-component breakdown, currency). Use this for cost-focused provider selection.
When to use vs compare_providers: This tool returns only cost numbers.
compare_providers returns full alternative architectures (components,
connections, tiers). If you want both the re-drawn architecture and its
bill, call compare_providers first, then estimate_cost on each returned
spec — or call both in parallel.
Behavior: Pure computation — no LLM, no network, no API costs. Uses the
same offline catalog as estimate_cost. Does not deploy.
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": {
"spec_json": "<spec_json>",
"providers": "<providers>"
},
"name": "compare_provider_costs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec_json | Yes | ArchSpec to cost across providers. Services are mapped to cross-cloud equivalents (ec2 <-> compute_engine <-> virtual_machines, etc.) before pricing. | |
| providers | Yes | List of cloud providers to compare pricing across. Values: 'aws', 'gcp', 'azure', 'databricks'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |