Pricing & Credit System

A comprehensive guide to Bugrit pricing: how credits work, what each tier includes, and how to estimate your costs accurately.

Why Credit-Based Pricing?

Credit-based pricing aligns what you pay with what you use. Unlike flat-rate plans that charge the same whether you scan once or 100 times, credits give you:

Transparency

See the exact cost before every scan. No surprise bills.

Control

Toggle expensive features on/off based on your needs.

Scalability

Start free, upgrade as you grow, buy top-ups for burst usage.

Fairness

Small repos pay less than large monorepos. Makes sense.

How Credits Are Calculated

Each scan consumes credits based on a simple formula. The cost depends on your codebase size, the tools you run, and AI features you enable.

Total Credits = Base + Lines + Tool Categories + AI Features
Base: 1 credit (every scan)
Lines: 1 credit per 10,000 lines of code
Tools: 0-5 credits depending on tool category
AI: 1-2 credits flat + per-issue costs for detailed features
Base Costs
Applied to every scan
Base scan cost1 credit
Per 10,000 lines of code1 credit

Example: A 45,000 line repo = 1 base + 5 lines = 6 credits minimum

Why Lines of Code?
Fair pricing for different project sizes

Larger codebases take longer to scan and consume more compute resources. Charging per 10K lines ensures:

  • Small side projects pay minimal amounts
  • Large enterprise repos pay proportionally more
  • You're not subsidizing someone else's monorepo

Pro tip: Use .bugritignore to exclude node_modules,dist, and generated files from line counts.

Tool Category Costs

Different tool categories have different infrastructure costs. Linting runs quickly in memory, but Lighthouse needs a full headless browser, and Docker-based tools have container overhead.

CategoryTools IncludedCreditsWhy This Cost?
📝 Linting & FormattingESLint, Biome, Stylelint, PrettierFreeFast, low memory, runs in Node.js
📦 Dependenciesdepcheck, madge (+ OSV, pip-audit, cargo-audit)0-1 creditSome tools use Docker for multi-language support
✨ Code QualityTypeScript, knip, jscpd, cspell, PHPStan, RuboCop0-3 creditsJS tools free; Docker-based tools cost more
📚 Documentationmarkdownlint, remark-lint, alexFreeText analysis, very fast
🔀 GitcommitlintFreeChecks git history only
🔒 SecuritySemgrep, Trivy, Nuclei, Bandit, Gosec, Gitleaks, etc.1-5 creditsDAST tools (OWASP ZAP) cost more than SAST
♿ Accessibilityaxe-core, Pa11y4 creditsRequires Puppeteer headless browser
⚡ PerformanceLighthouse, size-limit1-5 creditsFull browser render, network simulation
📱 Mobile SecurityMobSF, APKLeaks, Androguard, SwiftLint1-5 creditsAPK/IPA analysis requires specialized containers
🔌 API SecuritySpectral, Dredd, GraphQL Cop, Schemathesis1-3 creditsAPI contract validation and security testing
☁️ Cloud NativeKubesec, Kube-bench, Polaris, Terrascan, Kube-hunter1-3 creditsKubernetes and IaC security scanning

AI Feature Costs

AI features use large language models which have per-token costs. Some features are flat-rate, while others scale with the number of issues found.

FeatureCreditsPricing ModelWhat It Does
Scan Summary1Per scanExecutive summary of all findings
Priority Scoring1Per scanAI-ranked issues by severity and impact
Issue Explanations0.1Per issuePlain-English explanation of each issue
Fix Suggestions0.15Per issueAI-generated code fix for each issue

Per-Issue Pricing Note

Issue Explanations and Fix Suggestions are charged per issue found. If your scan finds 100 issues and you enable Fix Suggestions, that's 100 × 0.15 = 15 credits for that feature alone. Consider running a basic scan first to see how many issues you have before enabling these features.

Example Calculations

Here are real-world examples to help you estimate your costs.

Quick Lint Check
20,000 lines, linting only
Base1
Lines (20k)2
Linting0
Total3 credits
Security Audit + AI
50,000 lines, security + AI summary
Base1
Lines (50k)5
Security1
AI Summary1
Total8 credits
Full Audit with AI Fixes
50,000 lines, all modules, 100 issues
Base + Lines6
Security1
Accessibility4
Performance5
AI Summary + Priority2
AI Fixes (100 issues)15
Total33 credits

Subscription Tiers

Choose the tier that fits your usage. All paid tiers include overage pricing so you never get blocked.

FreeSoloScaleBusiness
Monthly Price$0$19$49$99
Annual Price$0$190 (2 mo free)$490 (2 mo free)$990 (2 mo free)
Monthly Credits550200500
Credit Rollover--Up to 100Up to 250
Overage RateN/A$0.40/credit$0.30/credit$0.20/credit
Effective $/CreditN/A$0.38$0.245$0.198
Projects1310Unlimited
Team Members11310
Max Repo Size10K lines50K lines150K lines500K lines
History Retention7 days14 days30 days90 days
AI Summary-
AI Issue Explanations--
AI Fix Suggestions---
GitHub Integration--
Slack + Webhooks---
API Access---

Cost Calculator

Enter your expected usage to find the best plan and estimate your monthly costs.

Your Usage
Configure your expected monthly usage

Used for per-issue AI feature costs

Security scanning(+1 credit)
Accessibility(+4 credits)
Performance (Lighthouse)(+5 credits)
AI Summary(+1 credit)
Issue Explanations(+0.1 per issue)
Fix Suggestions(+0.15 per issue)
Per-Scan Cost
Base1
Lines (25k)3
Security1
AI Summary1
Total per scan6 credits
Monthly Estimate
60
credits per month
(10 scans × 6 credits)
Recommended Plan
Scale
$49.00/mo

200 credits included

View All Plans

Cost comparison:

Free
N/A
Solo
N/A
Scale
$49
Business
$99

Credit Top-Up Packages

Need more credits? Purchase packages anytime. Purchased credits never expire.

Starter Pack
25
credits
$10
$0.40/credit
Best Value
Pro Pack
100
credits
$30
$0.30/credit
Power Pack
500
credits
$100
$0.20/credit
Enterprise Pack
2000
credits
$300
$0.15/credit

Frequently Asked Questions

What happens if I run out of credits?

Paid plans (Solo, Scale, Business) have overage pricing, so you can always keep scanning. You'll see the overage cost before confirming each scan. Free tier users need to wait for their next monthly allocation or upgrade to a paid plan.

Do unused credits roll over?

Scale and Business plans include credit rollover. Scale can roll over up to 100 credits, Business up to 250. Free and Solo plans don't have rollover - use them or lose them!

How do purchased credit packages work?

Purchased credits are added to your account immediately and never expire. They're used after your monthly allocation is exhausted, before any overage charges apply.

Can I set up automatic top-ups?

Yes! In your account settings, you can enable auto top-up to automatically purchase a credit package when your balance falls below a threshold. Set a monthly limit to control spending.

How are lines of code counted?

We count logical lines of code (excluding empty lines and comments) in supported file types. Files in node_modules, dist, .git, and common build directories are automatically excluded. You can add custom exclusions in .bugritignore.

Why are accessibility and performance tools more expensive?

These tools require spinning up headless browsers (Puppeteer/Chromium) which consume significantly more CPU, memory, and time than static analysis tools. The credit cost reflects our actual infrastructure costs to run these tools reliably.

Related Documentation