Compute Unit Costs

A breakdown of Alchemy's compute unit costs per method, chain, and product.

Table of Contents

NFT API
Transfers API
Transact
Debug API
Trace API
EVM API
Solana API
Notify & Subscription APIs
Error Codes

NFT API

MethodBillable CU
getNFTMetadata100 0*
getContractMetadata250 0*
isSpamContract100 0*
isAirdrop100 0*
getSpamContracts600 0*
getFloorPrice100 0*
getNFTs600 0*
getContractsForOwner350 0*
getNFTsForCollection600 0*
getOwnersForToken100 0*
getOwnersForCollection600 0*
reingestContract600 0*
getNFTSales180 0*
computeRarity100 0*
summarizeNFTAttributes100 0*
isHolderOfCollection100 0*
searchContractMetadata500 0*
getNFTMetadataBatch100 * # of NFTs passed 0*
getContractMetadataBatch250 * # of contracts passed 0*

*The NFT API will continue to be free until February 13th 2023. If an extension for free usage is required or you have any question about billing for the NFT API, please reach out to [email protected] with all relevant details.

Transfers API

MethodCU
alchemy_getAssetTransfers150

Token API

MethodCU
alchemy_getTokenBalances26
alchemy_getTokenMetadata16
alchemy_getTokenAllowance19

Transact

MethodCU
alchemy_sendGasOptimizedTransaction2500*
alchemy_getGasOptimizedTransactionStatus25*
eth_sendPrivateTransaction250
eth_cancelPrivateTransaction250
alchemy_simulateAssetChanges2500
alchemy_simulateExecution2500
Reinforced Transactions$999/month

*requires Reinforced Transactions enabled on app

Debug API

MethodCU
debug_traceTransaction309
debug_traceCall309
debug_traceBlockByHash497
debug_traceBlockByNumber497

Trace API

MethodCU
trace_get17
trace_block24
trace_transaction26
trace_call75
trace_rawTransaction75
trace_filter75
trace_replayTransaction2983
trace_replayBlockTransactions2983

Standard EVM JSON-RPC Methods (Ethereum, Polygon, Optimism, Arbitrum, Astar)

MethodCU
net_version0
eth_chainId0
eth_syncing0
eth_protocolVersion0
net_listening0
eth_uninstallFilter10
eth_accounts10
eth_blockNumber10
eth_subscribe10
eth_unsubscribe10
eth_feeHistory10
eth_maxPriorityFeePerGas10
eth_createAccessList10
bor_getAuthor10
bor_getCurrentProposer10
bor_getCurrentValidators10
bor_getRootHash10
bor_getSignersAtHash10
eth_getTransactionReceipt15
eth_getUncleByBlockHashAndIndex15
eth_getUncleByBlockNumberAndIndex15
eth_getTransactionByBlockHashAndIndex15
eth_getTransactionByBlockNumberAndIndex15
eth_getUncleCountByBlockHash15
eth_getUncleCountByBlockNumber15
web3_clientVersion15
web3_sha315
eth_getBlockByNumber16
eth_getStorageAt17
eth_getTransactionByHash17
eth_gasPrice19
eth_getBalance19
eth_getCode19
eth_getFilterChanges20
eth_newBlockFilter20
eth_newFilter20
eth_newPendingTransactionFilter20
eth_getBlockTransactionCountByHash20
eth_getBlockTransactionCountByNumber20
eth_getProof21
eth_getBlockByHash21
erigon_forks24
erigon_getHeaderByHash24
erigon_getHeaderByNumber24
erigon_getLogsByHash24
erigon_issuance24
eth_getTransactionCount26
eth_call26
eth_getFilterLogs75
eth_getLogs75
eth_estimateGas87
alchemy_getTransactionReceipts250
eth_sendRawTransaction250
eth_getBlockReceipts500
batch*CU of method * # of times the method is called

*To view the batch request breakdown in the dashboard click on "raw request"

Standard Solana JSON-RPC Methods

MethodCU
getLeaderSchedule5
requestAirdrop5
getVoteAccounts5
getBlockCommitment5
getBlocksWithLimit5
getHealth5
getIdentity5
getLatestBlockhash7
getSlot7
getInflationRate8
getMaxRetransmitSlot8
getRecentPerformanceSamples8
getEpochInfo9
getTokenAccountBalance9
getBlockTime9
getHighestSnapshotSlot9
sendTransaction10
getEpochSchedule10
getStakeActivation10
getMaxShredInsertSlot10
getVersion10
isBlockhashValid10
getAccountInfo10
getFeeForMessage10
getFees10
getConfirmedBlocks10
getTokenLargestAccounts10
getTokenOwnersByDelegate10
getInflationGovernor10
getSlotLeader11
getMultipleAccounts11
minimumLedgerSlot11
getBlockHeight11
simulateTransaction11
getFeeCalculatorForBlockhash11
getSignatureStatuses11
getRecentBlockhash12
getBlocks12
getTokenAccountsByOwner12
getMinimumBalanceForRentExemption12
getBalance12
getGenesisHash13
getBlockProduction13
getTokenSupply14
getTransactionCount16
getSlotLeaders16
getClusterNodes23
getSignaturesForAddress28
getFirstAvailableBlock33
getConfirmedSignaturesForAddress235
getConfirmedTransaction38
getTransaction59
getBlock66
getProgramAccounts117
getConfirmedBlock151
getInflationReward341
getSupply822
getLargestAccounts3000
batch*CU of method * # of times the method is called

*To view the batch request breakdown in the dashboard click on "raw request"

Notify and Subscription APIs

Webhook (Notify API) and WebSocket WebSocket Subscriptions on Alchemy are priced based on bandwidth: the amount of data delivered as part of the subscription.

Each subscription type is priced identically, per byte:

BandwidthCU
1 byte.04

On average, a typical webhook or WebSocket subscription event is about 1000 bytes, so would consume 40 compute units. Note that this can vary significantly based on the specific event delivered Subscription API Quickstart

Compute unit cost for error codes

ErrorCompute Units
Non-existing methods2
4290
Other 4xx or 5xxCU value of specific endpoint