Billing¶
Tinybird billing is based on the pricing of different data operations (storage, processing, and transfer). This page explains all 3 in detail.
This page is relevant for users on a Professional plan (see Tinybird plans). The Build plan is free, with some usage limits. If you're an Enterprise customer, speak to us at support@tinybird.co to reduce these unit prices as part of volume discounts and Enterprise plan commitments.
At a glance¶
- Data storage: US$0.34 per GB
- Data processing (read or write): US$0.07 per GB
- Data transfer: US$0.01 to US$0.10 per GB
To see the full breakdown for each individual operation, skip to billing breakdown.
Data storage¶
Data storage refers to the disk storage of all the data you keep in Tinybird and is priced at US$0.34 per GB, regardless of the region. Data storage is usually the smallest part of your Tinybird bill, and your main Data Sources will be responsible for the largest percentage of storage.
Compression¶
Data storage pricing is based on the volume of storage used after compression, calculated on the last day of every month. The exact rate of compression varies depending on your data, but generally you can expect a compression factor of between 3x to 10x. For example, with a compression factor of 3.5x, if you import 100 GB of uncompressed data, that will translate to approximately 28.6 GB compressed. In that case, your bill would be based on the final 28.6 GB of stored data.
Version control¶
If your Workspace uses the Tinybird <> Git integration feature, only data storage associated with the production Workspace (not Branches) is included when determining the storage bill.
Removing historical data can lower your storage bill. Tinybird allows you to configure a time-to-live (TTL) on any Data Source, which deletes data older than a given time period. This gives you control over how much data is retained in a Data Source. A common pattern is to ingest raw data, materialize it, and clear out the raw data with a TTL to reduce storage.
Data processing¶
Data processing can be split into write and read activities. All processed data is priced at US$0.07 per GB.
Write activities¶
You write data whenever you ingest into Tinybird. This includes when you create, append, delete, or replace data in a Data Source, or write data to a Materialized View.
Read activities¶
You read data when you run queries against your Data Sources to generate responses to API Endpoint requests. You also read data when you make requests to the Query API. The only exception is if you're manually running a query - see Exceptions for more information.
Read activities also include the amount of data fetched to generate API Endpoint responses. For example, if 10 MB of data is processed to generate one API Endpoint response, you would be billed for 10 MB. If the same API Endpoint is called 10 times, that would be 10 x 10 MB, and you would be billed for 100 MB of processed data in total.
Even if there are no rows in a response you could be billed for it, so create your queries with care. For example, if you read 1B rows but return no rows because of the endpoint filters, you have still read 1B rows. Additionally ClickHouse's "sparse" indexing means that even if a row is not in the table, it still takes read activity to confirm it's not there.
Bad 4xx Copy Pipes, API and Query Endpoint requests like timeouts or memory usage errors are also billed. These errors can also be checked in Tinybird's pipe_stats_rt
, pipe_stats
and datasources_ops_log
Service Data Sources.
Materialized Views¶
Materialized Views involve both read and write (data processing) operations, plus data storage operations.
Whenever you add new data to a Materialized View, you are writing to it. However, note that there is no charge when you first create and populate a Materialized View; only incremental updates are billed. Because Materialized Views typically process and store only a fraction of the data that you ingest into Tinybird, the cost of Materialized Views is usually minimal.
Compression¶
You data processing bill will be impacted by compression. Depending on the operating being performed, data is handled in different ways and it isn't always possible to predict exact levels of read or written bytes in advance for all customers. The best option is to query the Service Data Sources and analyze your results.
Version control¶
If your Workspace uses the Tinybird <> Git integration feature, only data processing associated with the production Workspace (not Branches) is included when determining the amount of processed data.
Typically, data processing will be the largest percentage of your Tinybird bill. This is why, as you scale, it's really important to optimize your queries, understand Materialized Views, and analyze the performance of your API Endpoints. Tinybird works with customers on a daily basis to help optimize their queries and reduce data processing, sometimes reducing their processed data by over 10x. If you want support to optimize your use case, contact Tinybird at support@tinybird.co or in the Community Slack.
Data transfer¶
Currently, the only service to incur data transfer costs is Tinybird's AWS S3 Sink. If you're not using this Sink, you won't be charged any data transfer costs. (Note that the Tinybird S3 Sink incurs both data transfer and data processing (read) costs).
Data transfer depends on your environment. There are two scenarios:
- The destination bucket is in the same cloud provider and region as your Tinybird Workspace: US$0.01 per GB
- The destination bucket is in a different cloud provider or region as your Tinybird Workspace: US$0.10 per GB
Exceptions¶
Tinybird is designed to support exploration and testing, so these types of operations are completely free and do not count towards billing:
- Anything on a Build plan.
- Any operation that does not involve processing, storing, or transferring data:
- API calls to the Tokens, Jobs, or Analyze Endpoints.
- Management operations over resources like Sinks or Pipes (create, update, delete, get details), or Data Sources (create, get details; update & delete incur cost).
- Populating a Materialized View with historical data (only inserting new data into an existing MV is billed).
- Manual query executions made inside the UI (Pipes, Time Series, Playground) - anywhere you can press the "Run" button, that's free 🎉.
- Queries to Service Data Sources.
- Any time data is deleted as a result of TTL operations.
Monitor your usage¶
Users on any plan can monitor their usage. To see an at-a-glance overview, select the cog icon in the navigation (top right of your Workspace) and select the Usage tab (see Mark 1 below):
You can also check your usage by querying the data available in the Service Data Sources. These Data Sources contain all the internal data about your Tinybird usage, and you can query them using Pipes just like any other Data Source. This means you can publish the results as an API Endpoint, and build charts in Grafana, export to DataDog, and more.
Queries made to Service Data Sources are free of charge and don't count towards your usage. However, calls to API Endpoints that use Service Data Sources do count towards API rate limits.
Users on any plan can use the strategies outlined in the "Monitor your ingestion" guide. If you're an Enterprise customer, check your Consumption overview in the Organizations UI.
Reduce your bill¶
The way you reduce your Tinybird overall bill is by reducing your stored, processed, and/or transferred data.
To reduce stored data, choose the right sorting key(s) based on your queries, and use (Materialized Views to process data on ingestion.
To reduce processed data, use Materialized Views and implement a TTL on raw data.
To reduce transferred data costs, make sure you're transferring data in the same cloud region.
Billing breakdown¶
This section gives you tables with full detail on each operation, grouped by main user action.
Data ingestion
Service | Operation | Processing fee | Description |
---|---|---|---|
Data Sources API | Write | US$0.07 per GB | Low frequency: Append data to an existing Data Source (imports, backfilling...). |
Events API | Write | US$0.07 per GB | High frequency: Insert events in real-time (individual or batched). |
Connectors | Write | US$0.07 per GB | Any connector that ingests data into Tinybird (Kafka, S3, GCS, BigQuery, etc.) |
Data manipulation
Service | Operation | Processing fee | Description |
---|---|---|---|
Pipes API | Read | US$0.07 per GB | Interactions with Pipes to retrieve data from Tinybird will incur on reading operations. |
Query API | Read | US$0.07 per GB | Interactions with the Query API to retrieve data from Tinybird. |
Materialized Views (populate) | Read/Write | Free | Executed as soon as you create the MV to populate it. Tinybird will not charge any processing fee. Data will be written into a new or existing Data Source. |
Materialized Views (append) | Read/Write | US$0.07 per GB | New data is read from a origin data source, filtered and written to a destination data source. |
Copy Pipes | Read/Write | US$0.07 per GB | On Demand or scheduled operation. Data is read from the data source, filtered and written to a destination data source. |
Replace | Read/Write | US$0.07 per GB | Replacing data entirely or selectively. |
Delete data | Read/Write | US$0.07 per GB | Selective data delete from a Data Source. |
Delete an entire Data Source | Read/Write | US$0.07 per GB | Delete all the data inside a Data Source. |
Truncate | Write | US$0.07 per GB | Delete all the data from a Data Source. |
TTL operations | Write | Free | Anytime we delete data as a result of a TTL. |
BI Connector | Read | US$0.07 per GB | Data read from Tinybird via the BI connector. |
Data transfer
Service | Operation | Processing fee | Data transfer fee | Description |
---|---|---|---|---|
S3 Sink | Read/Transfer (no Write fees) | US$0.07 per GB | Same region: US$0.01 per GB. Different region: US$0.10 per GB | Data will be read and filtered, to then be transferred to the destination bucket. This is an on demand or scheduled operation. Data transfer fees will apply. |
Next steps¶
- Ready to go? Sign up for a free Tinybird account and follow the quick start.
- Get the most from your Workspace, for free: Learn more about using the Playground and Time Series.
- Explore different Tinybird plans and find the right one for you.