How to Use
Azure Cost Estimator analyzes your infrastructure-as-code templates and returns estimated monthly costs using the Azure Retail Prices API. No Azure subscription or authentication is required.
Supported Template Formats
Terraform
HCL configuration files with azurerm_* resources
Bicep
Azure Bicep template files with Microsoft.* resources
ARM Template
Azure Resource Manager JSON templates
Terraform Plan
Output from terraform show -json
Ways to Upload
- Drag & drop a single template file or zip archive onto the upload area
- Browse to select a file from your computer
- Browse folder to upload an entire project directory (modules, tfvars, etc.)
-
Zip archive — pack your project folder into a
.zipand upload it - Paste template content directly using the paste area (with optional variable values)
Regions & Currency
Choose from 53 Azure regions worldwide. Select a single region to get a cost breakdown, or select two or more regions to compare pricing side by side.
Supported currencies: USD, EUR, GBP, NOK, SEK, DKK, CHF, CAD, AUD, JPY, and BRL. Prices are converted at Azure's official exchange rates.
Supported Azure Resource Types
The estimator currently supports 43+ resource types across these categories:
Compute
- Virtual Machines
- VM Scale Sets
- Managed Disks
- Container Registry
- Kubernetes Service (AKS)
- AKS Node Pools
- Container Apps
Web & App
- App Service Plans
- Web Apps
- Function Apps
- Static Web Apps
- API Management
Databases
- SQL Database
- SQL Elastic Pool
- Cosmos DB
- Redis Cache
- PostgreSQL Flexible Server
- MySQL Flexible Server
Networking
- Public IP Addresses
- Load Balancer
- Azure Firewall
- VPN Gateway
- Bastion
- Application Gateway
- DDoS Protection
- DNS Zones (public & private)
- NAT Gateway
- Front Door / CDN
- ExpressRoute
Storage
- Storage Accounts
- Recovery Services Vaults
Monitoring
- Log Analytics Workspaces
- Application Insights
Messaging
- Service Bus
- Event Hubs
- SignalR Service
AI & Analytics
- Cognitive Services
- Azure AI Search
- Data Factory
Security
- Key Vault
Resources not yet supported will appear as "unmatched" in the results with zero cost attributed.
Multi-file Projects
When uploading a folder or zip archive, the estimator processes the full project structure:
- Terraform modules (
moduleblocks with local sources) - Variable files (
.tfvars) — auto-applied if present - Terraform plan JSON — full resource details from
terraform show -json - Bicep parameter files and module references
Important Notes
- Prices shown are retail / pay-as-you-go rates. Enterprise agreements, reservations, and savings plans may reduce actual costs.
- Monthly estimates are based on 730 hours/month (Azure standard).
- Consumption-based services (e.g., Functions, Data Factory) show base/minimum costs only.
- Network egress, transactions, and data transfer costs are not included.
CLI Usage
The estimator is also available as a command-line tool:
# Single file estimate
python -m azure_cost.cli main.tf --region westeurope
# With currency
python -m azure_cost.cli main.bicep --region northeurope --currency EUR
# Start the web UI
uvicorn azure_cost.web:app --reload
Azure Cost Estimator — Powered by the Azure Retail Prices API