Estimate Databricks cost
estimate_costEstimate a Databricks workload's monthly cost from the figures the Field Guide states (list prices per DBU by compute type, DBUs an hour by SQL warehouse size and classic instance type, model serving prices for pay-per-token, provisioned throughput, GPU and CPU serving, Apps and Genie rates, the Lakebase floor, storage), as a range with its assumptions, and the price per unit under unit_prices. Every number carries its source sentence, section URL, date and the pricing page the guide cites. Where the guide has no figure (cloud VM prices, a serverless job's DBUs an hour, a model or instance type it does not list) it says so under gaps instead of guessing.
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": {
"workload": "<workload>"
},
"name": "estimate_cost"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | apps: medium (the default), large or xlarge; sql_warehouse: the t-shirt size, 2x-small, x-small, small, medium, large, x-large, 2x-large, 3x-large, 4x-large, 5x-large (DBUs an hour per cluster, from the guide); model_serving with serving gpu: t4, a10g, a10g-4, a10g-8, l40s, rtx-pro-6000, a100-40gb-8, a100-80gb-8, h100, h100-8 | |
| model | No | model_serving, pay_per_token or provisioned_throughput: the model, as in 'Llama 3.3 70B' or 'claude-sonnet-5.5' | |
| users | No | genie: the people using it | |
| compute | No | jobs and all_purpose: serverless or classic; sql_warehouse: serverless, pro, classic, or lakehouse_rt (Beta) priced from DBUs you give | |
| serving | No | model_serving: pay_per_token, provisioned_throughput, gpu or cpu (omit for every price the guide states) | |
| clusters | No | sql_warehouse: clusters running (default 1) | |
| workload | Yes | jobs, all_purpose (interactive notebooks), sql_warehouse, apps, genie, lakebase, model_serving or storage | |
| always_on | No | lakebase: an always-on 0.5 CU floor (the one Lakebase figure the guide quotes) | |
| instances | No | jobs or all_purpose, classic: instances in the cluster, the driver counted as one; model_serving cpu: Medium configurations | |
| storage_gb | No | storage: GB held | |
| model_units | No | model_serving, provisioned_throughput: model units (default 50, the block the rates are quoted for; a reservation takes multiples of 50 and bills every hour of its term) | |
| reservation | No | model_serving, provisioned_throughput: on_demand, 1_month or 3_month | |
| max_clusters | No | sql_warehouse: the most clusters it scales out to; the estimate ranges from clusters to max_clusters | |
| dbus_per_hour | No | DBUs the compute uses an hour, when the guide has no figure for its shape (a serverless job, an instance type it does not list): from system.billing.usage or Databricks' pricing calculator | |
| dbus_per_user | No | genie: each user's Genie DBUs a month | |
| hours_per_day | No | ||
| instance_type | No | jobs or all_purpose, classic: the AWS instance type (m5.xlarge, m5.2xlarge, m6i.xlarge, m7i.xlarge, r5.xlarge, c5.2xlarge, i3.xlarge, i3.2xlarge are in the guide) | |
| days_per_month | No | Days it runs a month (default 30 with hours_per_day) | |
| dbus_per_month | No | Or the DBUs a month outright | |
| hours_per_month | No | ||
| input_tokens_millions | No | model_serving, pay_per_token: input tokens a month, in millions | |
| output_tokens_millions | No | model_serving, pay_per_token: output tokens a month, in millions |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gaps | Yes | ||
| note | Yes | ||
| size | Yes | ||
| build | Yes | The commit of the deploy that answered | |
| lines | Yes | ||
| ttlMs | Yes | How long this answer may be kept before asking again, in milliseconds | |
| compute | Yes | ||
| figures | Yes | ||
| currency | Yes | ||
| withheld | Yes | ||
| workload | Yes | ||
| calculator | No | For an interactive view: the inputs as asked and this workload's rates from the guide, to recompute the estimate locally. Not in the text result. | |
| assumptions | Yes | ||
| index_built | Yes | When this deploy's index was built (ISO 8601) | |
| monthly_usd | Yes | The estimate, a month; null where the guide has no figure for it (see gaps) | |
| unit_prices | Yes | The price per unit the guide's figures give (a cluster-hour, a million tokens, an endpoint-hour), with or without usage | |
| pricing_links | Yes |