Solana Compute Unit Price — Understanding microLamports per CU
The compute unit price is the most critical parameter in Solana's priority fee system. Expressed in microLamports per compute unit (CU), it determines where your transaction ranks in the validator's execution queue relative to competing transactions.
What Is a Compute Unit?
A compute unit (CU) is Solana's measure of computational work. Every operation in a transaction — arithmetic, memory access, system calls, cross-program invocations — costs a fixed number of CUs. The Solana runtime meters CU consumption during execution and enforces the budget set by setComputeUnitLimit.
Key CU constants:
- Default transaction CU budget: 200,000 CUs (if not explicitly set)
- Maximum CU budget per transaction: 1,400,000 CUs
- Maximum CUs per block: 48,000,000 CUs
Compute Unit Price vs Priority Fee
The compute unit price (in microLamports) is the rate you bid per unit of computation. The actual priority fee paid is:
Priority Fee = ceil(CU Price × CU Limit ÷ 1,000,000) lamports
This means setting a high CU price on a low-CU transaction is cheap in absolute terms while still achieving top scheduling priority. Conversely, a low price on a high-CU transaction results in a large absolute fee with relatively poor queue position per-unit.
How the Scheduler Uses CU Price
Solana's scheduler computes a priority score for each transaction:
Priority = (Prioritization Fee + Non-burned Base Fee) × 1,000,000 ÷ Estimated Cost
Higher priority scores are dequeued first. This formula ensures that both fee and compute efficiency are rewarded — a transaction that achieves high output at low cost ranks higher than a brute-force approach of simply paying maximum fees.
Practical CU Price Ranges
- 0 microLamports: Free priority lane — often delayed significantly during congestion
- 1,000–10,000 microLamports: Minimal fee — suitable for testnet or very low-urgency mainnet transactions
- 50,000–100,000 microLamports: Standard production range for normal network conditions
- 100,000–500,000 microLamports: Elevated — use during moderate congestion
- 500,000–1,000,000+ microLamports: Premium tier — for MEV, competitive mints, or critical DeFi operations
Always check current tracker data before setting static values.



