A CLI that estimates cloud costs from Draw.io diagrams and Pulumi code.
Installation
npm (recommended)
npm install -g @cloudcent/cli
Shell script (macOS / Linux)
curl -fsSL https://raw.githubusercontent.com/OverloadBlitz/cloudcent-cli/main/install.sh | bashPowerShell (Windows)
irm https://raw.githubusercontent.com/OverloadBlitz/cloudcent-cli/main/install.ps1 | iex
Build from source
git clone https://github.com/OverloadBlitz/cloudcent-cli.git cd cloudcent-cli go build -o cloudcent .
Quick Start
cloudcent --help cloudcent init
Run cloudcent init to authenticate via browser. This sets up a free API key stored at ~/.cloudcent/config.yaml.
Demo
Draw.io
cloudcent diagram init aws-saas-example.drawio
cloudcent diagram estimate aws-saas-example.drawio
Pulumi
cloudcent pulumi estimate
Supported Cloud Resources
| Provider | Services | Pricing Model | Data Source |
|---|---|---|---|
| AWS | EC2, EBS, ECS, S3, ApiGateway, AppSync, DynamoDB, Lambda, SNS | OnDemand, Reserved, SavingPlan, Spot | AWS Pricing API |
| Azure | WIP | OnDemand, Reserved, SavingPlan (with/without Azure Hybrid Benefit) | Azure Pricing Calculator |
| GCP | WIP | OnDemand, CommittedUseDiscount, Preemptible | GCP Pricing SDK v1 |
| OCI | WIP | OnDemand (PAYG) | OCI Cost Estimator |
CLI Commands
cloudcent # Show help
cloudcent init # Authenticate via browser
cloudcent pricing # Query pricing from the CLI
cloudcent diagram init <file> # Scaffold a YAML spec next to the diagram
cloudcent diagram estimate <file> # Estimate costs from the diagram's spec
cloudcent history # Show past queries
cloudcent cache stats # Show cache statistics
cloudcent cache clear # Clear cache and history
cloudcent metadata refresh # Download latest pricing metadata
cloudcent config # Show current configuration
cloudcent pulumi estimate # Estimate costs from pulumi codes
Configuration
Config is stored at ~/.cloudcent/config.yaml with permissions set to 600 on Unix.
Data files:
~/.cloudcent/metadata.json.gz— compressed pricing metadata~/.cloudcent/cloudcent.db— SQLite database (history, cache)
Contributing
- Create a issue first if you want to change or fix anything
- Feel free to use AI but need to test and validate changes before raising prs
Reporting Issues
Honorable Mention
The 0.0.2-beta-legacy branch includes a deprecated TUI for querying cloud costs across providers. It is no longer supported due to changes in the pricing data model, but remains noted here as an honorable mention.
This CLI also has a TUI mode, I just disabled it for now and am still working on it


























