Databricks charges per DBU (Databricks Unit), and the cost per DBU per hour varies by cloud, region, and workload tier, but a typical list price is around $0.40–$0.55 per DBU-hour for standard jobs on AWS or Azure. This article explains what a DBU actually is, how the pricing tiers work, and how to estimate your monthly bill before you run a single workload.
What Is a DBU and How Is It Billed?
A DBU (Databricks Unit) is a unit of processing capacity—think of it as a virtual CPU-hour with memory and I/O bundled in. Databricks meters every job, query, and interactive notebook session in DBUs, then multiplies the DBU count by your contracted rate. The rate is not a single number; it depends on three main variables:
- Cloud provider: AWS, Azure, or Google Cloud each have separate price lists.
- Region: US East, EU West, Asia Pacific, etc., each with its own rates.
- Tier: Jobs (batch), SQL (warehouse), or Classic/Pro/Serverless compute.
For example, on AWS in us-east-1, a standard Jobs compute tier might list at $0.40/DBU, while a Serverless SQL warehouse could be $0.70/DBU. These are list prices—enterprise contracts often negotiate volume discounts.
How Databricks Calculates Your Bill
Your bill = DBU-hour rate × number of DBUs consumed. A DBU is consumed per minute, so a 10-minute job on a cluster that uses 4 DBUs per hour would cost 4 × (10/60) = 0.67 DBUs. The actual DBU consumption per cluster is determined by the instance type and the Databricks runtime version—larger VMs consume more DBUs per hour, regardless of whether they are idle or busy.
Here is a simplified example:
- You spin up a cluster with 4 worker nodes, each consuming 1 DBU/hour (total 4 DBU/hour).
- Your job runs for 30 minutes, so you consume 4 × 0.5 = 2 DBUs.
- At a $0.40/DBU rate, that job costs $0.80.
Note that Databricks also charges for cluster uptime, not just active computation. If you leave a cluster running overnight, you pay for every hour it is up, even with no jobs.
Pricing Tiers: Jobs vs. SQL vs. Serverless
Databricks offers several compute tiers, each with a different DBU multiplier:
- Jobs Compute: For batch ETL and data engineering. Typically the lowest rate (around $0.40–$0.50/DBU on AWS/Azure).
- SQL Compute (Classic/Pro): For BI and data warehousing. Rates are higher, roughly $0.55–$0.70/DBU, because it includes a SQL endpoint and query optimization.
- Serverless: A fully managed option where you pay per DBU without managing clusters. Rates are higher still (often $0.70–$1.10/DBU) but you only pay for actual query time, not idle capacity.
The exact numbers change frequently and vary by region. Always check the official Databricks pricing page for your cloud and region before budgeting.
Real-World Cost Example: A Small ETL Job
Let’s say you run a daily ETL job on Azure East US. You use a Jobs cluster with 2 workers, each consuming 1.5 DBU/hour (total 3 DBU/hour). The job runs for 20 minutes each day.
Daily DBUs = 3 × (20/60) = 1 DBU. At $0.45/DBU (Azure East US list), that’s $0.45/day. Monthly (30 days) = $13.50. Add a small amount for cluster startup overhead (say 5 minutes per run), and you’re looking at roughly $15/month for this job.
Compare that to a Serverless SQL warehouse: the same query might consume 2 DBUs because the rate is higher, costing $0.90/day or $27/month. Serverless can still be cheaper if you would otherwise leave a cluster idle for hours.
How to Estimate Your Own Cost
To estimate your monthly Databricks bill, follow these steps:
- Identify your workload type (Jobs, SQL, Serverless).
- Find the DBU/hour rate for your cloud and region (use the official pricing page or your contract).
- Estimate the number of DBUs your cluster will consume per hour (based on instance type and number of nodes—Databricks documentation lists DBU consumption per VM).
- Multiply by the number of hours the cluster will be up (including idle time).
- Add any additional costs: storage (DBFS), cloud infrastructure (VMs, networking), and support plans.
Databricks also provides a cost estimator in the UI and a cluster policy to limit max DBUs per cluster. Use these to avoid surprises.
Common Misconceptions and Pitfalls
One frequent mistake is assuming that a “serverless” option is always cheaper. Serverless charges a higher DBU rate, but you only pay for the milliseconds of query execution. If you run many short queries with long idle gaps, serverless wins. If you run long-running continuous jobs, classic Jobs compute is cheaper.
Another pitfall: forgetting to auto-terminate clusters. Databricks clusters can be configured to shut down after a set idle time (e.g., 30 minutes). Without this, you pay for every hour the cluster is left running. Set auto-termination to avoid paying for idle capacity.
Finally, DBU consumption is not the same as cloud VM cost. Databricks’ DBU price includes the Databricks software and management, but you still pay separately for the underlying cloud resources (EC2, Azure VMs, etc.) if you use classic compute. Serverless pricing bundles the infrastructure, so the DBU rate is higher but there is no separate VM bill.
How to Reduce Your DBU Costs
- Use auto-scaling: Let the cluster scale down during low activity.
- Choose smaller instances: More, smaller nodes can be cheaper than fewer large ones for many workloads.
- Use Delta Lake and Photon: Photon (the native vectorized engine) can speed up queries, reducing DBUs consumed per query.
- Schedule jobs during off-peak hours: Some clouds offer lower spot instance rates, which Databricks passes through as lower DBU costs.
- Leverage serverless for ad-hoc queries: For interactive BI, serverless avoids cluster startup and idle costs.
Frequently Asked Questions
What is the exact DBU price per hour on AWS?
As of 2024, the list price for Jobs Compute on AWS us-east-1 is approximately $0.40/DBU, while SQL Classic is around $0.55/DBU and Serverless SQL is about $0.70/DBU. These are list prices and can change; your contract may have different rates.
Does Databricks charge for idle clusters?
Yes, you pay for every hour a cluster is running, whether it is processing or idle. The only exception is Serverless, where you pay only for the compute time used by queries.
How many DBUs does a typical cluster consume per hour?
A small cluster (2–4 standard VMs) might consume 2–6 DBUs per hour. A large cluster (16+ VMs) could consume 20–50 DBUs per hour. Check the Databricks documentation for your specific instance type.
Is Serverless cheaper than classic compute?
It depends on your usage pattern. Serverless has a higher DBU rate but zero idle cost. For intermittent workloads, serverless is often cheaper; for continuous 24/7 processing, classic compute is usually more cost-effective.
Can I negotiate a lower DBU rate?
Yes, Databricks offers volume discounts for committed use contracts (e.g., annual commitments). Enterprise customers typically pay less than the list price. Contact your Databricks account team for a quote.
Where can I find the official pricing for my region?
The official Databricks pricing page lists rates by cloud and region. You can also use the built-in cost estimator in the Databricks workspace to get a tailored estimate.