Skip to content
Sign inJoin the waitlist

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

The RPC

A call of the RPC costs what its row says.

CallsUnits
eth_chainId, eth_syncing, net_version 0
eth_accounts, eth_blockNumber, eth_createAccessList, eth_feeHistory, eth_maxPriorityFeePerGas, eth_uninstallFilter 10
eth_estimateGas, eth_gasPrice, eth_getBalance, eth_getBlockByHash, eth_getBlockByNumber, eth_getBlockReceipts, eth_getBlockTransactionCountByHash, eth_getBlockTransactionCountByNumber, eth_getCode, eth_getFilterChanges, eth_getProof, eth_getStorageAt, eth_getTransactionByBlockHashAndIndex, eth_getTransactionByBlockNumberAndIndex, eth_getTransactionByHash, eth_getTransactionCount, eth_getTransactionReceipt, eth_getUncleByBlockHashAndIndex, eth_getUncleByBlockNumberAndIndex, eth_getUncleCountByBlockHash, eth_getUncleCountByBlockNumber, eth_newBlockFilter, eth_newFilter, eth_newPendingTransactionFilter, web3_clientVersion, web3_sha3 Any other call of the node’s eth, net, web3 and arb namespaces.20
eth_call 26
eth_sendRawTransaction, eth_sendRawTransactionConditional, eth_sendRawTransactionSync, eth_simulateV1 40
eth_getLogs, eth_getFilterLogs 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.

CallUnits
A call that costs 0 units5
A call that is refused for anything but the speed5
eth_sendRawTransaction, eth_sendRawTransactionConditional 50
eth_sendRawTransactionSync 125