Orivions / Blog / Solana audit cost
How much does a Solana smart contract audit cost? What drives the price
By Jakub Malarczyk, Founder, Orivions ·
- The size and complexity of the code in scope drive most of the price, not the brand of the auditor.
- Small single-purpose programs often start in the low thousands of dollars; large DeFi protocols can cost tens of thousands.
- Compare quotes by scope, engineer-days and deliverables against the same frozen commit, not by the total alone.
- Rush timelines, unclear scope and missing tests make audits more expensive and less useful.
- Budget for the fix review and for re-audits of later upgrades, not only for the first report.
"How much does an audit cost?" is usually the first question a Solana team asks an auditor, and the honest answer is "it depends on what you send us". That is not evasion. Audit pricing is mostly a function of effort, and effort depends on a handful of factors you can understand, and partly control, before you ask for a quote.
The short answer
Small, single-purpose programs (a vesting contract, a simple staking program, an NFT mint with custom logic) often start in the low thousands of dollars. Larger DeFi protocols with several interacting programs, oracles and complex math can run into the tens of thousands. Live, indicative ranges from verified providers are on our insights page.
Most auditors price by engineer-time: how many security engineers, for how many days. A quote is their estimate of how long it takes to understand your code well enough to find what is wrong with it.
What drives the price
- Code size in scope: the number of lines in the programs being reviewed, excluding tests and generated code. It is the starting point of almost every estimate.
- Complexity, not just size: custom math, token flows between many accounts, cross-program invocations (CPIs), oracle usage and upgrade logic take far longer to review than straightforward state updates.
- Number of programs and integrations: every program and external protocol you interact with adds assumptions that must be checked.
- Novelty: a standard escrow pattern is faster to review than a new AMM curve or liquidation mechanism nobody has seen before.
- Timeline: auditors are often booked weeks ahead. Asking for an audit to start next week, or to finish in a few days, usually costs more.
- Deliverables: a fix review, a public report, economic or design review and post-audit support may or may not be included in the base price.
Why two quotes for the same code can differ
It is normal to receive quotes that differ by a factor of two or more. One auditor may plan two engineers for two weeks with a fix review included; another may plan one engineer for one week and charge separately for verifying fixes. Neither is necessarily wrong, but they are not the same product.
To compare quotes fairly, ask every auditor for the same things:
- The exact scope: which programs, at which commit, and what is explicitly out of scope.
- Engineer-days: how many people, for how many days, and their seniority.
- Methodology: manual review, automated tooling, fuzzing or invariant testing.
- Fix review: whether it is included, and how many rounds.
- Report: a sample of a previous public report, and whether yours will be published.
How to get more audit for the same budget
Auditors spend a large share of their time understanding what your code is supposed to do. Everything that shortens that phase leaves more time for finding real issues.
- Freeze the code: audit a tagged commit and do not keep changing it during the review. Changes mid-audit cost time and leave gaps.
- Write a short specification: what each instruction does, who may call it, and which invariants must always hold.
- Ship tests: a good test suite shows intended behaviour and lets auditors try edge cases quickly.
- Do your own pass first: run linters and static analysis and fix obvious issues before the audit, so the report is not filled with things you could have found yourself.
- Cut scope: remove dead code and features you are not launching, and audit them later if they ship.
Costs teams forget
The first report is rarely the last expense. Budget for the fix review, for re-auditing meaningful upgrades after launch, and for a bug bounty once real funds are at stake. For high-value protocols, many teams use more than one auditor or add a competitive audit on top of a private one.
Before you book, our checklist for choosing a Solana auditor covers what to look for in a firm, and the pre-launch security checklist covers what the audit does not. You can compare verified firms on the Solana smart contract audits page.
Frequently asked questions
How much does a Solana smart contract audit cost?
It depends mostly on the size and complexity of the code in scope. Small, single-purpose programs often start in the low thousands of dollars, while large DeFi protocols with several interacting programs can cost tens of thousands. Ask several verified auditors for a quote against the same frozen commit.
Why do audit quotes for the same project differ so much?
Auditors estimate effort differently: how many engineers, how many days, whether a fix review is included, how much time goes to economic design versus code, and how busy they are. Compare quotes by scope, engineer-days and deliverables, not only by the total.
How can I reduce the cost of an audit?
Freeze the code before the audit starts, cut unnecessary code from scope, write a short specification, ship good tests and fix the obvious issues yourself first. Auditors then spend their time on the hard problems instead of on understanding the code.
Get quotes from verified Solana auditors
Describe your program, timeline and budget. Smart Match suggests verified security firms that fit, with a reason for each match. Free for teams.
Find an auditor →Related reading
- How to choose a Solana smart contract auditor: a practical checklistWhat actually matters when picking a Solana auditor: Anchor and native Rust experience, methodology, scope, timelines, red flags in quotes and what a good report looks like.
- Solana pre-launch security checklist: 15 checks before mainnetA practical checklist for launching a Solana program on mainnet: upgrade authority, multisig, verifiable builds, token authorities, monitoring, incident response and the audit.
- How much does it cost to build a Solana dApp? A breakdown by componentWhat a Solana dApp costs to build: on-chain programs, frontend, indexing and infrastructure, audit and maintenance, plus the scope decisions that move the budget most.