Compute units
What each call costs, what is charged, and what a call takes from a plan’s speed.
The unit
Every call has a fixed cost in compute units.
A plan’s month, its speed and a bill are all counted in units.
A batch costs the sum of its calls.
- Price
- $0.20 a million units
- Free each month
- 30,000,000 units
- Free speed
- 300 units a second
| Calls | Units |
|---|---|
eth_, eth_, net_ | 0 |
eth_, eth_, eth_, eth_, eth_, eth_ | 10 |
eth_, eth_, eth_, eth_, eth_, eth_, eth_, eth_, eth_, eth_, eth_, eth_, eth_, eth_, eth_, eth_, eth_, eth_, eth_, eth_, eth_, eth_, eth_, eth_, web3_, web3_ Any other call of the node’s eth, net, web3 and arb namespaces. | 20 |
eth_ | 26 |
eth_, eth_, eth_, eth_ | 40 |
eth_, eth_ | 60 |
The Data API
A call of the Data API costs the same under either of its names.
What is charged
A call that is sent on to the node or the index is charged its units, whatever comes back:
- A call that is answered with a result.
- A call the node answers with an error of its own, such as a contract that reverted or a parameter the node turned down.
- A call that ran past its time, and an answer over 20 MB.
- A log read that holds more than 10,000 logs, and an index call the index found too wide.
What is not charged
- A request this endpoint refuses: a wrong key, a body or a batch that is too large, a request over the speed or past the month.
- A method that is not offered, and a method the node does not have (
-32601). - An index call with a wrong parameter.
- A log read over more than 10,000 blocks.
- A call that nothing answered: the node or the index could not be reached, was at its bound, or was behind the chain.
Units against the speed
A plan’s speed is units a second. A call takes its own cost from it.
Four kinds of call take another number. A call refused for anything but the speed takes 5 units, so a refusal is not a free way to send requests. The speed itself is on Limits and pricing.
| Call | Units |
|---|---|
| A call that costs 0 units | 5 |
| A call that is refused for anything but the speed | 5 |
eth_, eth_ | 50 |
eth_ | 125 |