Crypto · head to head
Hardhat vs Lago

Hardhat
Crypto
Ethereum development environment to compile, deploy, test and debug Solidity
- From
- Free
- Free plan
- Yes

Lago
Accounting
Open-source billing infrastructure for usage-based models
- From
- Free
- Free plan
- Yes
The short version
- Hardhat is a free Ethereum development environment; Lago is an API-first, open-source billing platform.
- Hardhat is free; Lago starts at $399/mo.
- Only Hardhat lists solidity tests on Rust runtime; only Lago lists real-time usage metering.
- Where Hardhat falls short: requires Node.js v22.13.0 or later to be installed.
- Where Lago falls short: free tier limited to 10,000 entities per month with 5M event cap.
How do Hardhat and Lago differ?
Hardhat and Lago differ on pricing model, platforms and category (Crypto against Accounting). Only the attributes on which Hardhat and Lago actually diverge.
Identical on both: starting price (Free), free tier (Yes).
Which features does each one have?
They share no listed features; 9 appear only for Hardhat and 8 only for Lago. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.
Only in Hardhat
- Solidity tests on Rust runtime
- TypeScript tests with viem or ethers
- Fuzz testing
- Solidity stack traces
- Hardhat Ignition deployments
- OP Stack and Base simulation
- Local development node
- Plugin ecosystem
Only in Lago
- Real-time usage metering
- Multiple pricing models
- Automated invoicing
- Prepaid credits
- Entitlements
- Multi-currency support
- Payment orchestration
- Revenue analytics
What is each one used for?
Hardhat is most often brought in for testing Solidity contracts; Lago for building usage-based billing for high-volume APIs and infrastructure. The jobs each tool is most often brought in to do.
Hardhat
- Testing Solidity contractsnot Lago
- Deploying contracts across networksnot Lago
- Debugging reverts with stack tracesnot Lago
- Fuzz testing contract logicnot Lago
- Multichain EVM developmentnot Lago
Lago
- Building usage-based billing for high-volume APIs and infrastructurenot Hardhat
- Implementing metered billing for AI and tokenized servicesnot Hardhat
- Creating subscription and hybrid pricing modelsnot Hardhat
- Managing multi-currency billing for global companiesnot Hardhat
- Maintaining billing infrastructure without vendor lock-innot Hardhat
Where do Hardhat and Lago fall short?
Hardhat's most cited limit: requires Node.js v22.13.0 or later to be installed. Lago's: free tier limited to 10,000 entities per month with 5M event cap. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.
Hardhat
- Requires Node.js v22.13.0 or later to be installed
- Command-line tool with no graphical interface
- Hardhat 3 migration needed from Hardhat 2 projects
- Amsterdam hardfork support is still experimental
Lago
- Free tier limited to 10,000 entities per month with 5M event cap
- No specific pricing published for Pro annual plan or Scale plan
- Self-hosted and on-premise deployments require engineering resources
- Community support only on free tier
- Scale plan requires annual contracts and sales engagement
How much do Hardhat and Lago cost?
Hardhat is free to use; Lago has a free plan, with paid plans from $399/mo. Plan by plan below, from each vendor's own pricing page.
Hardhat
FreeNo published plan breakdown. See the Hardhat review.
Lago
Free- Build (Free)Free
- 10,000 managed entities per month
- 5M usage events per month
- 1K events per second rate limit
- Pro$399/mo
- 10,000 entities included (graduated pricing to 100K)
- 25M usage events included (to 500M with graduated rates)
- 10K events per second (upgradeable to 100K)
- ScaleOn request
- Custom entity and event volumes
- 50K events per second (upgradeable to 100K)
- RBAC and SSO (SAML)
Which should you pick?
Choose Hardhat if
- You need solidity tests on rust runtime.
- You want to start without paying.
- You also want typescript tests with viem or ethers.
Choose Lago if
- You need real-time usage metering.
- You want to start without paying.
- You work on Web, Self-hosted, VPC.
- You also want multiple pricing models.
Questions people ask
- Is Hardhat or Lago better?
- It depends on the job. Hardhat fits testing Solidity contracts; Lago fits building usage-based billing for high-volume APIs and infrastructure. Hardhat starts at Free and Lago at Free.
- Which is cheaper, Hardhat or Lago?
- Hardhat starts at Free and Lago at Free.
- Does Hardhat or Lago run on more platforms?
- Hardhat runs on Web. Lago runs on Web, Self-hosted, VPC.
- Can I use Hardhat for free?
- Both have a free tier, so you can try either at no cost before committing.
- What is Hardhat best used for?
- Hardhat is most often used for testing solidity contracts, deploying contracts across networks, debugging reverts with stack traces, fuzz testing contract logic. Of those, testing solidity contracts and deploying contracts across networks are not what Lago is typically brought in for.
- What can Hardhat do that Lago cannot?
- Hardhat covers Solidity tests on Rust runtime, TypeScript tests with viem or ethers, Fuzz testing, Solidity stack traces. Lago covers Real-time usage metering, Multiple pricing models, Automated invoicing, Prepaid credits.
Answered from the vendors’ own pages
Hardhat: Is Hardhat free?
Yes. It is distributed as open source on GitHub and installed through Node.js tooling.
SourceLago: Can I use Lago open-source for free?
Yes, Lago is open-source under the AGPLv3 license and can be self-hosted. The cloud-based Build plan is also free with limits of 10,000 entities and 5M events per month.
SourceHardhat: What does Hardhat 3 add?
A Rust-powered runtime for Solidity tests, TypeScript tests, fuzzing and OP Stack and Base simulation.
SourceLago: What payment providers does Lago integrate with?
Lago integrates with Stripe and Adyen for payment processing. It is not a payment processor itself but orchestrates payments through these providers.
SourceHardhat: What do I need to run it?
Node.js v22.13.0 or later.
SourceLago: Does Lago support multiple currencies?
Yes, Lago supports multi-currency billing with automatic currency conversion for global businesses.
SourceHardhat: How are contracts deployed?
With Hardhat Ignition, which runs declared deployments and parallelises execution.
SourceRelated pages
Other head to heads
- Hardhat vs Infura
- Hardhat vs Moralis
- Hardhat vs Alchemy
- Hardhat vs QuickNode
- Hardhat vs The Graph
- Hardhat vs Rainbow
- Hardhat vs Uniswap
- Hardhat vs Glassnode
- Hardhat vs Etherscan
- Hardhat vs Lido
- Hardhat vs Coinbase
- Hardhat vs Bitget
- Hardhat vs Crypto.com
- Hardhat vs dYdX
- Hardhat vs MEXC
- Hardhat vs SushiSwap
- Hardhat vs Trezor Suite
- Hardhat vs MetaMask
- Hardhat vs Orb
- Hardhat vs Metronome
- Hardhat vs Stigg
- Hardhat vs Flexprice
- Hardhat vs Maxio
- Hardhat vs Chargebee
- Hardhat vs Recurly
- Hardhat vs Dodo Payments
- Hardhat vs Creem
- Hardhat vs Invoicera
- Hardhat vs Polar
- Hardhat vs Zuora
- Hardhat vs Pleo
- Hardhat vs Bill.com
- Hardhat vs Brex
- Hardhat vs FreeAgent
- Hardhat vs Zoho Expense
- Hardhat vs Melio
- Lago vs Infura
- Lago vs Moralis
- Lago vs Alchemy
- Lago vs QuickNode
- Lago vs The Graph
- Lago vs Rainbow
- Lago vs Uniswap
- Lago vs Glassnode
- Lago vs Etherscan
- Lago vs Lido
- Lago vs Coinbase
- Lago vs Bitget
- Lago vs Crypto.com
- Lago vs dYdX
- Lago vs MEXC
- Lago vs SushiSwap
- Lago vs Trezor Suite
- Lago vs MetaMask
- Lago vs Orb
- Lago vs Metronome
- Lago vs Stigg
- Lago vs Flexprice
- Lago vs Maxio
- Lago vs Chargebee
- Lago vs Recurly
- Lago vs Dodo Payments
- Lago vs Creem
- Lago vs Invoicera
- Lago vs Polar
- Lago vs Zuora
- Lago vs Pleo
- Lago vs Bill.com
- Lago vs Brex
- Lago vs FreeAgent
- Lago vs Zoho Expense
- Lago vs Melio
