Billing

Tinybird billing is based on the pricing of different data operations, such as storage, processing, and transfer.

If you are on a Professional plan, read on to learn how billing works. If you're an Enterprise customer, contact us at support@tinybird.co to reduce unit prices as part of volume discounts and Enterprise plan commitments. See Tinybird plans.

At a glance

  • Data storage: US$0.34 per GB
  • Data processing (read or write): US$0.07 per GB
  • Data transfer (outbound): 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. Data storage is priced at US$0.34 per GB, regardless of the region.

Data storage is usually the smallest part of your Tinybird bill. Your Data Sources use 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. 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 translates 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, only data storage associated with the production Workspace, and not Branches, is included when determining the storage bill.

Remove historical data to lower your storage bill. You can configure a time-to-live (TTL) on any Data Source, which deletes data older than a given time. 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 is 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. When you create, append, delete, or replace data in a Data Source, or write data to a Materialized View, you are writing data.

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 when 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 1 billion rows but the query returns no rows because of the endpoint filters, you have still read 1 billion rows. Additionally ClickHouse® "sparse" indexing means that even if a row isn't 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. You can check these errors using the pipe_stats_rt, pipe_stats and datasources_ops_log Service Data Sources.

Materialized Views

Materialized Views involve both read and write operations, plus data storage operations.

Whenever you add new data to a Materialized View, you are writing to it. However, 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 might be impacted by compression. Depending on the operation 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, and not Branches, is included when determining the amount of processed data.

Typically, data processing is the largest percentage of your Tinybird bill. This is why, as you scale, you should 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 need support to optimize your use case, contact Tinybird at support@tinybird.co or through the Community Slack.

Data transfer

Currently, the only service to incur data transfer costs is Tinybird AWS S3 Sink. If you're not using this Sink, you aren't charged any data transfer costs. Tinybird S3 Sink incurs both data transfer and data processing (read) costs. See AWS S3 Sink Billing.

Data transfer depends on your environment. There are two possible scenarios:

  • Destination bucket is in the same cloud provider and region as your Tinybird Workspace: US$0.01 per GB
  • Destination bucket is in a different cloud provider or region as your Tinybird Workspace: US$0.10 per GB

Exceptions

The following operations are free and don't count towards billing:

  • Anything on a Build plan.
  • Any operation that doesn't 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 and select the Usage tab:

image

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 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 transferred data.

Type of dataHow to reduce
Stored dataTo reduce stored data, pick the right sorting keys based on your queries, and use (Materialized Views to process data on ingestion.
Processed dataTo reduce processed data, use Materialized Views and implement a TTL on raw data.
Transferred dataTo reduce transferred data costs, make sure you're transferring data in the same cloud region.

See the Optimization guide to learn how to optimize your projects and queries and reduce your bill.

Billing breakdown

The following tables provide details on each operation, grouped by main user action.

Data ingestion

ServiceOperationProcessing feeDescription
Data Sources APIWriteUS$0.07 per GBLow frequency: Append data to an existing Data Source (imports, backfilling, and so on).
Events APIWriteUS$0.07 per GBHigh frequency: Insert events in real-time (individual or batched).
ConnectorsWriteUS$0.07 per GBAny connector that ingests data into Tinybird (Kafka, S3, GCS, BigQuery, and so on).

Data manipulation

ServiceOperationProcessing feeDescription
Pipes APIReadUS$0.07 per GBInteractions with Pipes to retrieve data from Tinybird generate read operations.
Query APIReadUS$0.07 per GBInteractions with the Query API to retrieve data from Tinybird.
Materialized Views (Populate)Read/WriteFreeExecuted as soon as you create the MV to populate it. Tinybird doesn't charge any processing fee. Data is written into a new or existing Data Source.
Materialized Views (Append)Read/WriteUS$0.07 per GBNew data is read from an origin Data Source, filtered, and written to a destination Data Source.
Copy PipesRead/WriteUS$0.07 per GBOn-demand or scheduled operations. Data is read from the Data Source, filtered, and written to a destination Data Source.
ReplaceRead/WriteUS$0.07 per GBReplacing data entirely or selectively.
Delete dataRead/WriteUS$0.07 per GBSelective data delete from a Data Source.
Delete an entire Data SourceRead/WriteUS$0.07 per GBDelete all the data inside a Data Source.
TruncateWriteUS$0.07 per GBDelete all the data from a Data Source.
Time-to-live (TTL) operationsWriteFreeAnytime Tinybird deletes data as a result of a TTL.
BI ConnectorReadUS$0.07 per GBData read from Tinybird using the BI connector.

Data transfer

ServiceOperationProcessing feeData transfer feeDescription
S3 SinkRead/Transfer (no write fees)US$0.07 per GBSame region: US$0.01 per GB. Different region: US$0.10 per GBData is read, filtered, and then transferred to the destination bucket. This is an on-demand or scheduled operation. Data transfer fees apply.

Next steps

Tinybird is not affiliated with, associated with, or sponsored by ClickHouse, Inc. ClickHouse® is a registered trademark of ClickHouse, Inc.
Updated