Cost estimator
Understand cost approximations for table creates and writes based on statement size.
Every byte contributes to the cost associated with database mutating queries, and we're always working to reduce costs with the goal of being cost competitive with web2 databases. The tables highlighted below provide estimates for creating and writing data where each shows the following:
- Size of the statement in bytes (B).
- Cost in the chain's native crypto token or USD.
- These costs mapped per megabyte (MB).
Please be sure to perform your own tests to understand price implications since the live market impacts the price of any on-chain transaction. For these estimates, the following market prices (USD) are hardcoded in the calculation:
- ETH price: $1600.00
- MATIC price: $1.10
- FIL price: $3.54
Note that all chains' native token is ETH, except for Polygon (uses MATIC) and Filecoin (uses FIL).
Create costs
Chain | Create size (B) | Create cost (ETH) | Create cost (USD) | Create cost (ETH/MB) | Create cost ($/MB) |
---|---|---|---|---|---|
ethereum | 133 | 0.0013496 | $2.1594 | 10.1476 | $16236.17 |
optimism | 134 | 0.0001609 | $0.2574 | 1.2004 | $1920.61 |
arbitrum one | 137 | 0.0000744 | $0.1190 | 0.5427 | $868.39 |
arbitrum nova | 137 | 0.0000011 | $0.0017 | 0.0078 | $12.47 |
polygon | 135 | 0.0083191 | $0.0092 | 61.6227 | $67.78 |
filecoin | 133 | 0.0406474 | $0.1439 | 305.6195 | $1081.89 |
Write costs
Chain | Write size (B) | Write cost (ETH) | Write cost (USD) | Write cost (ETH/MB) | Write cost ($/MB) |
---|---|---|---|---|---|
ethereum | 189 | 0.0010859 | $1.7374 | 5.7454 | $9192.56 |
optimism | 190 | 0.0001829 | $0.2926 | 0.9625 | $1540.00 |
arbitrum one | 193 | 0.0000892 | $0.1427 | 0.4620 | $739.28 |
arbitrum nova | 192 | 0.0000010 | $0.0015 | 0.0050 | $7.95 |
polygon | 191 | 0.0044093 | $0.0049 | 23.0853 | $25.39 |
filecoin | 193 | 0.0373531 | $0.1322 | 193.5392 | $685.13 |