Compute Budget
JavaScript client library for Solana's Compute Budget program.
Crypto and web3 npm Apache-2.0
Used in agent projects
20
0.2% of 12,697 public repos built with AI coding agents
Rank in crypto and web3
#86 of 89
by use in those projects
Downloads
1M
npm, last 7 days, @solana-program/compute-budget
GitHub stars
10
last push Sep 21, 2026
How Compute Budget is used
Compute Budget is a dependency in 20 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (0.2%), #86 of 89 in crypto and web3. The most used alternative there is Solana Web3.js. Projects that use it most often also use Solana Kit (85.0%), Solana Token Program SDK (65.0%), Solana System Program SDK (60.0%).
Often used with Compute Budget
| Solana Kit | 85.0% of Compute Budget projects · 48.6× more than average |
|---|---|
| Solana Token Program SDK | 65.0% of Compute Budget projects · 108.6× more than average |
| Solana System Program SDK | 60.0% of Compute Budget projects · 95.2× more than average |
| @solana-program/memo | 45.0% of Compute Budget projects · 129.9× more than average |
| TypeScript | 95.0% of Compute Budget projects · 1.7× more than average |
| dotenv | 45.0% of Compute Budget projects · 2.9× more than average |
| Token 2022 | 30.0% of Compute Budget projects · 190.5× more than average |
| Prettier | 45.0% of Compute Budget projects · 2.6× more than average |
By coding agent
| Cursor | 0.2% of projects set up for it |
|---|
Share of public repos configured for each agent that list Compute Budget as a dependency.
Install
| Package | npm install @solana-program/compute-budget |
|---|---|
| Main stacks | TypeScript / JavaScript (14), Next.js (4), Rust (2) |
| Example projects | nirholas/three.ws, azep-ninja/x402-gateway-template, solanakite/kite, quiknode-labs/arcium-election, mcintyre94/helius-smart-transactions-web3js2 |
Alternatives to Compute Budget
| Tool | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|
| Solana Web3.js npm Official JavaScript SDK for interacting with the Solana blockchain. |
2,099 (16.5%) | 2.6M | 2,767 | MIT |
| viem npm TypeScript interface for Ethereum with type-safe interactions. |
1,566 (12.3%) | 6.5M | 3,577 | MIT |
| Solana SPL Token npm JavaScript API for interacting with Solana's SPL Token program. |
924 (7.3%) | 1.2M | 223 | Apache-2.0 |
| wagmi npm React hooks library for Ethereum interactions and wallet connections. |
650 (5.1%) | 1M | 6,759 | MIT |
| ethers.js npm Complete Ethereum library for building dapps, wallets and blockchain tools. |
574 (4.5%) | 3.6M | 8,710 | MIT |
| Solana Wallet Adapter npm React hooks and UI for connecting Solana wallets to dapps with state management. |
547 (4.3%) | 1M | 2,030 | Apache-2.0 |
| Anchor npm Framework for developing Solana smart contracts with TypeScript and Rust. |
438 (3.4%) | 851K | 5,142 | (MIT OR Apache-2.0) |
| solders pypi Python bindings for Solana Rust tools enabling efficient blockchain interaction. |
423 (3.3%) | 388K | 449 | — |