forecast_dbu_cost
Forecast Databricks DBU consumption and compute costs across Classic and Serverless, then recommend optimal worker sizing from ingestion throughput and shuffle complexity.
Instructions
Forecast Databricks DBU consumption and compute costs (Classic compute vs. Serverless) and recommend optimal worker sizing based on ingestion throughput and shuffle complexity.
Usage Guidelines:
Use during architectural sizing, capacity planning, and cost optimization before deploying Lakeflow or DLT pipelines.
For Delta Lake table storage layout and file size optimization, use audit_compaction_debt instead.
Behavior:
Pure deterministic mathematical calculation based on Databricks official DBU pricing and node SKU specifications.
Does NOT query Databricks billing APIs, account consoles, or live workspace compute.
Returns hourly, daily, and monthly DBU and USD cost projections across Classic and Serverless options with cluster node recommendations.
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": {
"files_per_hour": "<files_per_hour>"
},
"name": "forecast_dbu_cost"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| avg_file_mb | No | Average incoming file size in MB (default: 10.0). | |
| files_per_hour | Yes | Estimated incoming files per hour. | |
| shuffle_join_count | No | Number of wide shuffle/join stages (default: 1). | |
| active_hours_per_day | No | Active compute hours per day (default: 24.0). | |
| is_continuous_streaming | No | True for continuous streaming, False for triggered batch. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| classic_daily_dbu | Yes | Projected daily DBU burn on Classic compute. | |
| estimated_daily_gb | No | Estimated daily volume ingested in gigabytes. | |
| serverless_daily_dbu | No | Projected daily DBU burn on Serverless compute. | |
| recommended_worker_type | No | Recommended cloud worker SKU (e.g., i3.xlarge). | |
| classic_monthly_cost_usd | Yes | Projected monthly USD cost on Classic compute. | |
| recommended_worker_count | Yes | Recommended number of worker nodes. | |
| serverless_monthly_cost_usd | No | Projected monthly USD cost on Serverless compute. |