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 onchain transaction. For these estimates, the following market prices (USD) are used in the calculation, and you can adjust them below:
ETH price (USD): | |
MATIC price (USD): | |
FIL price (USD): |
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 | Create cost (USD) | Create cost | Create cost (USD/MB) |
---|---|---|---|---|---|
ethereum | 133 | 0.0013496 ETH | $4.0489 | 10.1476 ETH/MB | $30442.82 |
optimism | 134 | 0.0001609 ETH | $0.4826 | 1.2004 ETH/MB | $3601.14 |
arbitrum one | 137 | 0.0000744 ETH | $0.2231 | 0.5427 ETH/MB | $1628.24 |
arbitrum nova | 137 | 0.0000011 ETH | $0.0032 | 0.0078 ETH/MB | $23.38 |
base | $ | /MB | $ | ||
polygon | 135 | 0.0083191 MATIC | $0.0058 | 61.6227 MATIC/MB | $43.14 |
filecoin | 133 | 0.0406474 FIL | $0.2337 | 305.6195 FIL/MB | $1757.31 |
Write costs
Chain | Write size (B) | Write cost | Write cost (USD) | Write cost | Write cost (USD/MB) |
---|---|---|---|---|---|
ethereum | 189 | 0.0010859 ETH | $3.2576 | 5.7454 ETH/MB | $17236.06 |
optimism | 190 | 0.0001829 ETH | $0.5486 | 0.9625 ETH/MB | $2887.51 |
arbitrum one | 193 | 0.0000892 ETH | $0.2675 | 0.4620 ETH/MB | $1386.15 |
arbitrum nova | 192 | 0.0000010 ETH | $0.0029 | 0.0050 ETH/MB | $14.91 |
base | $ | /MB | $ | ||
polygon | 191 | 0.0044093 MATIC | $0.0031 | 23.0853 MATIC/MB | $16.16 |
filecoin | 193 | 0.0373531 FIL | $0.2148 | 193.5392 FIL/MB | $1112.85 |