cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Administration & Architecture
Explore discussions on Databricks administration, deployment strategies, and architectural best practices. Connect with administrators and architects to optimize your Databricks environment for performance, scalability, and security.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Does REST API usage is chargeable ?

pv12
New Contributor II

If we use REST API to perform some operation on the Databricks cluster- like running some SQL Statements, will that be chargeable, will it costs us. 

1 ACCEPTED SOLUTION

Accepted Solutions

szymon_dybczak
Contributor III

Hi @pv12 ,

Performing REST API request is not chargeable. You're chargeable for certain action. For example, if in your request you're going to start cluster and run some sql, then you'll be charged standard price for running compute cluster etc.

So to sum up, you can make as many request as you can want and you'll be not charged. But once your request is going to start cluster, rub job (anything involving compute) you're going to pay the price for using that compute

View solution in original post

4 REPLIES 4

szymon_dybczak
Contributor III

Hi @pv12 ,

Performing REST API request is not chargeable. You're chargeable for certain action. For example, if in your request you're going to start cluster and run some sql, then you'll be charged standard price for running compute cluster etc.

So to sum up, you can make as many request as you can want and you'll be not charged. But once your request is going to start cluster, rub job (anything involving compute) you're going to pay the price for using that compute

pv12
New Contributor II

Hi @szymon_dybczak ,

Can you please be more specific about running SQL? Does it mean every SQL query irrespective of the statement will be charged as per the compute cluster ?

-werners-
Esteemed Contributor III

The API call itself is free. But ANY code that is executed on a Databricks cluster (be it sql, python,...) is charged as it consumes hardware + DBU (except for community edition).
So to answer your question: yes, any sql will be charged.

szymon_dybczak
Contributor III

Yep, to sum up - anything that requires compute power and makes the cluster to spin up will be charged.

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโ€™t want to miss the chance to attend and share knowledge.

If there isnโ€™t a group near you, start one and help create a community that brings people together.

Request a New Group