Compute units (CUs) are the measure of the total computational resources your apps use on our platform. Different methods consume different amounts of CUs based on their complexity. For example, a lightweight query like eth_blockNumber uses fewer CUs than a more intensive query like eth_getLogs. For more details, please check out the Compute Units page.
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!
Similar to the NFT API, the Gas Manager & Bundler APIs implement "Throughput CU" to count separately toward your applications' throughput!
Method
CU
Throughput CU
eth_sendUserOperation
1000
100
eth_estimateUserOperationGas
500
50
eth_getUserOperationByHash
17
17
eth_getUserOperationReceipt
15
15
eth_supportedEntryPoints
5
5
rundler_maxPriorityFeePerGas
10
10
alchemy_simulateUserOperationAssetChanges
2500
2500
alchemy_requestPaymasterAndData
1000
100
alchemy_requestGasAndPaymasterAndData
1250
125
Embedded Account APIs
Similar to the NFT API, the Embedded Account APIs implement "Throughput CU" to count separately toward your applications' throughput!
Method
CU
Throughput CU
/signer/auth
100
50
/signer/lookup
100
50
/signer/signup
1000
300
/signer/sign-payload
6000
300
/signer/whoami
100
20
Standard Starknet JSON-RPC Methods
Method
CU
starknet_getBlockWithTxHashes
16
starknet_getBlockWithTxs
16
starknet_getStateUpdate
21
starknet_getStorageAt
17
starknet_getTransactionByHash
17
starknet_getTransactionByBlockIdAndIndex
15
starknet_getTransactionReceipt
15
starknet_getClass
19
starknet_getClassHashAt
19
starknet_getClassAt
19
starknet_getBlockTransactionCount
20
starknet_call
26
starknet_blockNumber
10
starknet_blockHashAndNumber
10
starknet_chainId
0
starknet_pendingTransactions
50
starknet_syncing
0
starknet_getNonce
26
starknet_getEvents
75
starknet_estimateFee
87
starknet_addInvokeTransaction
250
starknet_addDeclareTransaction
250
starknet_addDeployAccountTransaction
250
starknet_estimateMessageFee
87
Standard Solana JSON-RPC Methods
Method
CU
getLeaderSchedule
5
requestAirdrop
5
getVoteAccounts
5
getBlockCommitment
5
getBlocksWithLimit
5
getHealth
5
getIdentity
5
getLatestBlockhash
7
getSlot
7
getInflationRate
8
getMaxRetransmitSlot
8
getRecentPerformanceSamples
8
getEpochInfo
9
getTokenAccountBalance
9
getBlockTime
9
getHighestSnapshotSlot
9
sendTransaction
10
getEpochSchedule
10
getStakeActivation
10
getMaxShredInsertSlot
10
getVersion
10
isBlockhashValid
10
getAccountInfo
10
getFeeForMessage
10
getFees
10
getConfirmedBlocks
10
getTokenLargestAccounts
10
getTokenOwnersByDelegate
10
getInflationGovernor
10
getSlotLeader
11
getMultipleAccounts
11
minimumLedgerSlot
11
getBlockHeight
11
simulateTransaction
11
getFeeCalculatorForBlockhash
11
getSignatureStatuses
11
getRecentBlockhash
12
getBlocks
12
getTokenAccountsByOwner
12
getMinimumBalanceForRentExemption
12
getBalance
12
getGenesisHash
13
getBlockProduction
13
getTokenSupply
14
getTransactionCount
16
getSlotLeaders
16
getClusterNodes
23
getSignaturesForAddress
28
getFirstAvailableBlock
33
getConfirmedSignaturesForAddress2
35
getConfirmedTransaction
38
getTransaction
59
getBlock
66
getProgramAccounts
117
getConfirmedBlock
151
getInflationReward
341
getSupply
822
getLargestAccounts
3000
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:
Bandwidth
CU
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