Compute Unit Limit (CU Limit) on Solana

Default limits

By default, each instruction is allocated 200,000 CUs and each transaction is allocated 1.4 million CUs.

How to change

You can change defaults by including a SetComputeUnitLimit instruction in your transaction.

Simulate the transaction to estimate required CUs, then add a 10% safety margin.

Priority fee is determined by the requested CU limit, not the actual compute used. Setting the limit too high can make you pay for unused compute units.

TransactionFeesOL Photography is a full-service photography compa providing wedding, newborn, fashion & portfolio photograpy. Our portfolio of completed work include highly acclaimed and award-winning projects for clients around the country & globally also.

TransactionFeesOL Photography is a full-service photography compa providing wedding, newborn, fashion & portfolio photograpy. Our portfolio of completed work include highly acclaimed and award-winning projects for clients around the country & globally also. TransactionFeesOL Photography is a full-service photography compa providing wedding, newborn, fashion & portfolio photograpy.

Recommended approach

Cost note

Priority fee is determined by the requested CU limit, not the actual compute used. Setting the limit too high can make you pay for unused compute units.

FAQ

Quick answers based on Solana's transaction fee rules.

Is higher CU limit always better?

No. Too high can increase costs and reduce effective priority.

Back
Menu (0 items)
Solana Transaction Priority Formula Ex
Buy on
Select the fields to be shown. Others will be hidden. Drag and drop to rearrange the order.
  • Image
  • SKU
  • Rating
  • Price
  • Stock
  • Availability
  • Add to cart
  • Description
  • Content
  • Weight
  • Dimensions
  • Additional information
Click outside to hide the comparison bar
Compare Fees