Compute Unit Costs

Don't have an API key?

Unlock millions of requests and free archive data on all chains. Get started for free

What are Compute Units and Throughput Compute Units?

For more details, please check out the Compute Units section and the Throughput Compute Units section.

EVM: Standard JSON-RPC Methods

MethodCUThroughput CU
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_blobBaseFee10
eth_createAccessList10
eth_getTransactionReceipt20
eth_getUncleByBlockHashAndIndex20
eth_getUncleByBlockNumberAndIndex20
eth_getTransactionByBlockHashAndIndex20
eth_getTransactionByBlockNumberAndIndex20
eth_getUncleCountByBlockHash20
eth_getUncleCountByBlockNumber20
web3_clientVersion20
web3_sha320
eth_getBlockByNumber20
eth_getStorageAt20
eth_getTransactionByHash20
eth_gasPrice20
eth_getBalance20
eth_getCode20
eth_getFilterChanges20
eth_newBlockFilter20
eth_newFilter20
eth_simulateV140
eth_newPendingTransactionFilter20
eth_getBlockTransactionCountByHash20
eth_getBlockTransactionCountByNumber20
eth_getProof20
eth_getBlockByHash20
eth_getAccount20
erigon_forks20
erigon_getHeaderByHash20
erigon_getHeaderByNumber20
erigon_getLogsByHash20
erigon_issuance20
eth_getTransactionCount20
eth_call26
eth_callMany20
eth_getFilterLogs60
eth_getLogs60
eth_estimateGas20
eth_sendRawTransaction40250
eth_sendRawTransactionSync40250
eth_getBlockReceipts20500
eth_submitWork20
batchCU of method # times called
  • To view the batch request breakdown in the dashboard, click on “raw request”

Solana: Standard JSON-RPC Methods

MethodCU
getLeaderSchedule20
requestAirdrop20
getVoteAccounts5
getBlockCommitment5
getBlocksWithLimit20
getHealth20
getIdentity20
getLatestBlockhash20
getSlot20
getInflationRate20
getMaxRetransmitSlot20
getRecentPerformanceSamples20
getEpochInfo20
getTokenAccountBalance20
getBlockTime20
getHighestSnapshotSlot20
sendTransaction10
getEpochSchedule20
getStakeActivation20
getMaxShredInsertSlot20
getVersion20
isBlockhashValid20
getAccountInfo10
getFeeForMessage20
getFees20
getConfirmedBlocks20
getTokenLargestAccounts20
getTokenOwnersByDelegate10
getInflationGovernor20
getSlotLeader20
getMultipleAccounts11
minimumLedgerSlot20
getBlockHeight20
simulateTransaction20
getFeeCalculatorForBlockhash11
getSignatureStatuses20
getRecentBlockhash10
getBlocks10
getTokenAccountsByOwner10
getMinimumBalanceForRentExemption10
getBalance10
getGenesisHash10
getBlockProduction10
getTokenSupply20
getTransactionCount16
getSlotLeaders20
getClusterNodes20
getSignaturesForAddress40
getFirstAvailableBlock40
getConfirmedSignaturesForAddress240
getConfirmedTransaction40
getTransaction20
getBlock40
getProgramAccounts20
getConfirmedBlock40
getInflationReward40
getSupply160
getLargestAccounts3000
batch*CU of method # times called
  • To view the batch request breakdown in the dashboard, click on “raw request”

Solana: DAS APIs (NFT/Token)

MethodCUThroughput CU
getAsset80200
getAssets480200
getAssetProof160200
getAssetProofs480200
getAssetsByAuthority480200
getAssetsByOwner480200
getAssetsByGroup480200
getAssetsByCreator480200
searchAssets480200
getAssetSignatures160200
getNftEditions160200
getTokenAccounts160200

Solana: Yellowstone gRPC

Yellowstone gRPC is a high-performance streaming service for Solana that delivers real-time blockchain data via gRPC. Pricing is based on bandwidth: the amount of data delivered as part of the stream.

BandwidthCU
1 TB$80
  • Amount will be pro-rated based on bytes streamed. Contact us for pre-committed bulk discounts.

Debug API

MethodCUThroughput CU
debug_traceTransaction401000
debug_traceCall401000
debug_traceCallMany401000
debug_traceBlockByHash401000
debug_traceBlockByNumber401000
debug_getBadBlocks401000
debug_getRawHeader401000
debug_storageRangeAt401000

Embedded Account APIs

Similar to the NFT API, the Embedded Account APIs implement “Throughput CU” to count separately toward your applications’ throughput!

MethodCUThroughput CU
/signer/auth10050
/signer/lookup10050
/signer/signup1000300
/signer/sign-payload6000300
/signer/whoami10020

Gas Manager & Bundler APIs

Similar to the NFT API, the Gas Manager & Bundler APIs implement “Throughput CU” to count separately toward your applications’ throughput!

MethodCUThroughput CU
eth_sendUserOperation1000100
eth_estimateUserOperationGas50050
eth_getUserOperationByHash2017
eth_getUserOperationReceipt2015
eth_supportedEntryPoints105
rundler_maxPriorityFeePerGas1010
alchemy_simulateUserOperationAssetChanges25002500
alchemy_requestPaymasterAndData1000100
alchemy_requestGasAndPaymasterAndData1250125
alchemy_requestFeePayer1000100

NFT API

We want builders to be able to use as much of the NFT API as they need without worrying about throughput. Because of that, we have discounted how NFT API requests count towards your applications’ guaranteed throughput by 6-10x. This means you can make more concurrent NFT API requests, and use the “Throughput CU” below to calculate how much you can use!

MethodCUThroughput CU
getNFTMetadata8010
getContractMetadata16010
getCollectionMetadata24010
getNFTsForOwner480100
getContractsForOwner320100
getCollectionsForOwner360100
getNFTsForContract48050
getOwnersForNFT8010
getOwnersForContract48020
getFloorPrice8010
getNFTSales16010
computeRarity8010
summarizeNFTAttributes8010
isHolderOfContract8010
searchContractMetadata48050
getNFTMetadataBatch480100
getContractMetadataBatch480100
getSpamContracts48010
isSpamContract8010
isAirdropNFT8010
invalidateContract8080
refreshNftMetadata4010
reportSpam010

Portfolio API

MethodCU
assets/nfts/by-address1000
assets/nfts/contracts/by-address600
assets/tokens/by-address360
assets/tokens/balances/by-address200
/transactions/history/by-address1000

Prices API

MethodCU
tokens/by-symbol40
tokens/by-address40
tokens/historical40

Token API

MethodCU
alchemy_getTokenBalances20
alchemy_getTokenMetadata10
alchemy_getTokenAllowance20

Trace API

MethodCUThroughput CU
trace_get2020
trace_block2020
trace_transaction4040
trace_call4040
trace_callMany803000
trace_rawTransaction4040
trace_filter4040
trace_replayTransaction803000
trace_replayBlockTransactions803000

Arbitrum Trace API

MethodCUThroughput CU
arbtrace_get2020
arbtrace_block2020
arbtrace_transaction4040
arbtrace_call4040
arbtrace_callMany4040
arbtrace_rawTransaction4040
arbtrace_filter4040
arbtrace_replayTransaction803000
arbtrace_replayBlockTransactions803000

Transact

MethodCU
alchemy_sendGasOptimizedTransaction2500
alchemy_getGasOptimizedTransactionStatus25
alchemy_simulateAssetChanges2500
alchemy_simulateExecution2500

Transfers API

MethodCU
alchemy_getAssetTransfers120

Utility API

MethodCU
blocks/by-timestamp10
alchemy_getTransactionReceipts250

Wallet APIs

Similar to the NFT API, the Wallet APIs implement “Throughput CU” to count separately toward your applications’ throughput!

MethodCUThroughput CU
wallet_requestAccount50-
wallet_prepareCalls70050
wallet_sendPreparedCalls1000100
wallet_createAccount50-
wallet_createSession50-
wallet_getCallsStatus20-
wallet_listAccounts10-

Webhooks and Subscription APIs

Webhooks and 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 it would consume 40 compute units. Note that this can vary significantly based on the specific event delivered Subscription API Quickstart

Polygon PoS: Specific Methods

MethodCU
bor_getAuthor10
bor_getCurrentProposer10
bor_getCurrentValidators10
bor_getRootHash10
bor_getSignersAtHash10

Polygon zkEVM: Specific Methods

MethodCU
zkevm_batchNumber10
zkevm_batchNumberByBlockNumber10
zkevm_consolidatedBlockNumber10
zkevm_getBatchByNumber10
zkevm_getBroadcastURI10
zkevm_isBlockConsolidated10
zkevm_isBlockVirtualized10
zkevm_verifiedBatchNumber10
zkevm_virtualBatchNumber10
zkevm_estimateFee40
zkevm_estimateGasPrice40

Starknet: Standard JSON-RPC Methods

MethodCU
starknet_getBlockWithTxHashes20
starknet_getBlockWithTxs20
starknet_getStateUpdate20
starknet_getStorageAt20
starknet_getTransactionByHash20
starknet_getTransactionByBlockIdAndIndex20
starknet_getTransactionReceipt20
starknet_getClass20
starknet_getClassHashAt20
starknet_getClassAt20
starknet_getBlockTransactionCount20
starknet_call20
starknet_blockNumber20
starknet_blockHashAndNumber20
starknet_chainId0
starknet_pendingTransactions20
starknet_syncing0
starknet_getNonce20
starknet_getEvents20
starknet_estimateFee20
starknet_addInvokeTransaction160
starknet_addDeclareTransaction160
starknet_addDeployAccountTransaction160
starknet_estimateMessageFee20
starknet_getBlockWithReceipts20
starknet_traceBlockTransactions80
starknet_specVersion10
starknet_getTransactionStatus20
starknet_simulateTransactions20

zkSync Era: Specific Methods

All zkSync Era specific methods cost 10 CUs, this includes the methods listed below:

Ethereum Beacon: Standard HTTP API Methods

MethodCU
/eth/v2/beacon/blocks/{block_id}/attestations20
/eth/v1/beacon/blocks/{block_id}/root20
/eth/v1/beacon/blinded_blocks/{slot}20
/eth/v1/beacon/blob_sidecars/{block_id}20
/eth/v1/beacon/genesis20
/eth/v1/beacon/headers20
/eth/v1/beacon/headers/{block_id}20
/eth/v1/beacon/pool/voluntary_exits20
/eth/v1/beacon/states/{state_id}/committees20
/eth/v1/beacon/states/{state_id}/finality_checkpoints20
/eth/v1/beacon/states/{state_id}/fork20
/eth/v1/beacon/states/{state_id}/pending_consolidations20
/eth/v1/beacon/states/{state_id}/root20
/eth/v1/beacon/states/{state_id}/sync_committees20
/eth/v1/beacon/states/{state_id}/validator_balances20
/eth/v1/beacon/states/{state_id}/validators20
/eth/v1/beacon/states/{state_id}/validators/{validator_id}20
/eth/v1/beacon/rewards/sync_committee/{block_id}20
/eth/v1/beacon/rewards/blocks/{block_id}20
/eth/v1/beacon/rewards/attestations/{epoch}20
/eth/v1/config/deposit_contract20
/eth/v1/config/fork_schedule20
/eth/v1/config/spec20
/eth/v1/node/peer_count20
/eth/v1/node/peers20
/eth/v1/node/syncing20
/eth/v1/node/version20
/eth/v2/validator/aggregate_attestation20
/eth/v1/validator/duties/attester/{epoch}20
/eth/v1/validator/duties/proposer/{epoch}20
/eth/v1/validator/duties/sync/{epoch}20
/eth/v1/validator/sync_committee_contribution20
/eth/v2/beacon/blocks/{block_id}20

Aptos: Standard REST API Methods

MethodCU
/v1/20
/v1/accounts/{address}20
/v1/accounts/{address}/events/{creation_number}20
/v1/accounts/{address}/events/{event_handle}/{field_name}20
/v1/accounts/{address}/module/{module_name}20
/v1/accounts/{address}/modules20
/v1/accounts/{address}/resource/{resource_type}20
/v1/accounts/{address}/resources20
/v1/accounts/{address}/transactions20
/v1/blocks/by_height/{block_height}20
/v1/blocks/by_version/{version}20
/v1/estimate_gas_price20
/v1/-/healthy20
/v1/spec20
/v1/tables/{table_handle}/item20
/v1/tables/{table_handle}/raw_item20
/v1/transactions20
/v1/transactions/batch20
/v1/transactions/by_hash/{txn_hash}20
/v1/transactions/by_version/{txn_version}20
/v1/transactions/encode_submission20
/v1/transactions/simulate20
/v1/view20

Bitcoin: Standard JSON-RPC Methods

MethodCU
getbestblockhash10
getblock10
getblockchaininfo10
getblockcount10
getblockhash10
getblockheader10
getblockstats10
getdifficulty10
getmempoolancestors10
getmempooldescendants10
getmempoolinfo10
getrawmempool10
gettxout10
gettxoutproof10
getchaintips10
getchaintxstats10
getblocktemplate10
submitblock10
decoderawtransaction10
decodescript10
estimatesmartfee10
getconnectioncount10
getindexinfo10
getmemoryinfo10
validateaddress10
verifymessage10
gettxoutsetinfo10
testmempoolaccept10
sendrawtransaction10
submitpackage10

Celestia Bridge: Standard RPC Methods

MethodCU
blob.Get20
blob.GetAll20
blob.Submit20
blob.GetCommitmentProof20
blob.GetProof20
blob.Included20
state.AccountAddress20
state.Balance20
state.BalanceForAddress20
state.SubmitPayForBlob20
state.Transfer20
header.GetByHash20
header.GetByHeight20
header.GetRangeByHeight20
header.LocalHead20
header.NetworkHead20
header.SyncState20
header.SyncWait20
header.WaitForHeight20
share.GetEDS20
share.GetNamespaceData20
share.GetRange20
share.GetRow20
share.GetSamples20
share.SharesAvailable20
blobstream.GetDataRootTupleInclusionProof20
da.Submit20
da.Get20
fraud.Get20

Tron: Standard HTTP Methods

MethodCU
/wallet/accountpermissionupdate20
/wallet/broadcasthex20
/wallet/broadcasttransaction20
/wallet/clearabi20
/wallet/createaccount20
/wallet/createassetissue20
/wallet/createtransaction20
/wallet/deploycontract20
/wallet/estimateenergy20
/wallet/freezebalance20
/wallet/freezebalancev220
/wallet/getaccount20
/wallet/getaccountbalance20
/wallet/getaccountnet20
/wallet/getaccountresource20
/wallet/getassetissuebyid20
/wallet/getassetissuebyname20
/wallet/getblock20
/wallet/getblockbynum20
/wallet/getblockbyid20
/wallet/getblockbylatestnum20
/wallet/getblockbylimitnext20
/wallet/getburntrx20
/wallet/getchainparameters20
/wallet/getcontract20
/wallet/getcontractinfo20
/wallet/getdelegatedresource20
/wallet/getdelegatedresourceaccountindex20
/wallet/getdiversifier20
/wallet/getenergyprices20
/wallet/getexchangebyid20
/wallet/getincomingviewingkey20
/wallet/getnewshieldedaddress20
/wallet/getnodeinfo20
/wallet/getnowblock20
/wallet/getpaginatedassetissuelist20
/wallet/getproposalbyid20
/wallet/gettransactionbyid20
/wallet/gettransactioninfobyid20
/wallet/gettransactionlistfrompending20
/wallet/triggersmartcontract20
/wallet/triggerconstantcontract20
/wallet/transferasset20
/wallet/unfreezebalance20
/wallet/unfreezebalancev220
/wallet/unfreezeasset20
/wallet/updateaccount20
/wallet/validateaddress20
/walletsolidity/getaccount20
/walletsolidity/gettransactionbyid20
/walletsolidity/gettransactioninfobyblocknum20
/walletsolidity/getpaginatedassetissuelist20

Compute unit cost for error codes

ErrorCompute Units
Non-existing methods0
429, 4030
Other 4xx or 5xxCU value of specific endpoint
32600: IP Address not on whitelist0
32600: App is inactive0
32600: Unspecified origin not on whitelist0