How much does a smart contract audit cost in 2026?
The short answer
Most manual audits of a DeFi protocol cost $25,000 to $100,000 in 2026, inside a wider range of about $5,000 to $250,000, according to Sherlock. The Arbitrum Audit Program paid an average of $61,575 per audit, or $14.80 per line of code, across 24 funded audits. Published AI-powered code reviews cost from about $50 to a few thousand dollars for the same amount of code, and they're used before and between audits, not instead of them.
Manual audits: what the 2026 data says
The best public dataset is the final report of the Arbitrum Audit Program, published on 9 November 2026. It covered 25 audits and 126,737 lines of code, and auditors reported 510 findings, 17 of them critical. Across the 24 audits paid from the program budget:
- the average audit cost $61,575
- the average cost was $14.80 per line, and $11.50 per line for audits over 3,000 lines
- across 87 quotes, the average quoted price per line was $47 under 1,000 lines, $30 from 1,000 to 3,000 lines and $15 above 3,000 lines
Those numbers come from a subsidized program that negotiated rates, so open-market quotes can run higher. Sherlock adds that a re-audit after fixes typically costs another $5,000 to $20,000 per round.
What drives the price
- Lines in scope. Most firms price by non-comment source lines of code (nSLOC). Ask exactly which files they counted.
- Complexity. A lending protocol with several oracles costs more than a token of the same size.
- Language. Sherlock estimates premiums over EVM code of 25% to 40% for Rust on Solana and 80% to 120% for ZK circuits.
- Timeline. A rushed schedule adds about 20% to 40% (Sherlock).
- Reviewer time. Many firms price by the auditor-week. One firm, Zealynx, publishes $6,000 per auditor-week.
AI-powered code review prices
| Tool | Published price | 1,000 lines | 5,000 lines |
|---|---|---|---|
| QuillShield | Fixed price from the Solidity lines in scope, from $49 | $379 | $1,169 |
| Nethermind AuditAgent | $0.05 per billable line (counts comments, estimated from tokens) | about $50 | about $250 |
| Cecuro | $799 for the first 1,000 lines, then $300 per 1,000 more | $799 | $1,999 |
| Octane | No public price, sold through demos | n/a | n/a |
| Slither (static analysis) | Free, open source | $0 | $0 |
Lines are counted differently by each vendor, so treat this as a rough guide and get a quote on your own code. Prices checked on 23 November 2026.
Other routes
- Audit contests pay a prize pool shared among valid findings. They work best on code that has already had a private audit.
- Bug bounties pay per valid finding on live code.
- Subsidies. The Ethereum Security Subsidy Program, run by Areta with the Ethereum Foundation, covers up to 30% of an audit quote for Ethereum mainnet projects, with monthly deadlines on the 14th. The Arbitrum Security Program subsidizes part of an audit for Arbitrum projects and includes AI-assisted screening before the full audit.
A budget for a typical Foundry protocol
For a 3,000-line DeFi protocol heading to mainnet, using the numbers above:
- an AI-powered code review before the audit: hundreds to low thousands of dollars, depending on the tool
- a manual audit: around $45,000 at the Arbitrum average of $14.80 per line, and more on the open market
- one re-audit round: $5,000 to $20,000
- checks on pull requests after launch: a few dollars per change on usage-priced tools
This is an illustration built from public averages, not a quote.
FAQ
Why do audits cost so much?
You pay for senior reviewers' time, and a careful review of a few thousand lines takes them weeks.
Is an AI review enough on its own?
Not for code that will hold real value. Use it to prepare for an audit and to check changes after one.
Can I get an audit subsidized?
Yes, if you build on Ethereum mainnet or Arbitrum and qualify for those programs.
Sources
- Arbitrum Audit Program Q4 final transparency report, Arbitrum DAO forum
- Smart contract audit pricing: a market reference for 2026, Sherlock
- Can't afford a smart contract audit?, Zealynx
- Scan pricing, Nethermind AuditAgent docs
- Pricing, Cecuro
- Ethereum Security Subsidy Program, Areta
- Introducing the Arbitrum Security Program, Arbitrum Foundation