$0.23
658 files · 18 findings · 9 minutes 42 seconds

That's the actual Anthropic API cost of the Ghost Architect scan we ran on Meta's public Magento 2 Business Extension. Not a promotional figure. Not a best-case scenario. The actual number printed in the terminal at the end of the scan, which you can verify yourself because Ghost shows you the exact cost of every scan it runs.

Twenty-three cents.

This post is about why that number matters — not just as a price point, but as a signal that something fundamental has changed about how often teams can and should be doing codebase analysis.


Where the $0.23 Goes

Ghost Architect doesn't have its own AI infrastructure. It uses the Anthropic API directly — your API key, your account, your data agreement. The $0.23 is the raw cost of the API calls that ran during the scan. There's no markup, no hidden processing fee, no subscription charge embedded in the per-scan cost. Ghost Architect's subscription pricing is separate and flat. The API cost is yours, transparent, and verifiable.

The cost comes from three types of API calls across three analysis passes:

Pass What It Does Approx. Cost Share
Prioritization Maps the codebase structure, identifies high-risk files, builds the dependency graph ~$0.04
Deep Analysis Full analysis of the highest-priority files — security patterns, integration risks, architectural issues ~$0.15
Conflict Detection Cross-references how components interact, identifies compound risks and integration mismatches ~$0.04
Total $0.23

The cost scales roughly with codebase size and complexity. A smaller module or a focused directory scan might run $0.05–$0.10. A large, deeply interconnected codebase might run $0.40–$0.60. Ghost estimates this before the scan runs so you can see the projected cost before you confirm.

What Codebase Analysis Used to Cost

To understand why $0.23 is significant, you need the comparison. Before AI-assisted analysis, a thorough codebase triage required a senior engineer to sit down with the code and work through it systematically. Here's what that actually costs.

// Manual Review

$3,000–$8,000

3–5 days of a senior developer's time at agency rates. Produces a findings document that lives in someone's head as much as on paper. Not reproducible. Not standardized. Scope varies by who does it and what they happen to look at.

// Ghost Architect Scan

$0.23

Under 15 minutes. Systematic, reproducible analysis across every file. Structured output in three formats. Standardized severity classification. Blast radius analysis. Same methodology every time.

The comparison isn't entirely fair — a senior developer brings judgment, context, and expertise that AI analysis doesn't replicate. Ghost Architect findings are starting points, not conclusions. But the order-of-magnitude cost difference changes what's economically rational to do and how often it's rational to do it.

The Frequency Problem

Here's the economic reality of manual codebase auditing: it was expensive enough that teams only did it when they had to. Before a major platform upgrade. At the start of a long-term engagement. After a security incident. Once a year if the budget allowed and the stakeholder pushed hard enough.

That infrequency is the underlying problem. Codebases are not static. Extensions get updated. Custom modules get modified. Platform upgrades change dependency relationships. Configurations drift. The triage report you did eighteen months ago is an increasingly inaccurate picture of what's actually in the codebase today.

At $0.23 per scan, the frequency calculation changes completely.

What the economics actually allow: A team managing 10 client codebases, running a full scan on each at the start of every engagement, before every major upgrade, and quarterly as a standing check — 50 scans per year — spends $11.50 in API costs. The workflow that was economically irrational at $5,000 per audit is economically trivial at $0.23.

How Ghost Pro Users Actually Use It

Ghost Pro subscribers — who pay $99/month for the full feature set including PDF reports, multi-pass analysis, and complete severity coverage — typically run 10–20 scans per month. At $0.23 average per scan, that's $2–$5 in monthly API costs on top of the subscription.

The practical patterns we see:

At project kickoff: Run a baseline scan before any work begins. This is the map you use to scope the engagement accurately. It's also the document you bring to the kickoff meeting instead of showing up with nothing but a checklist of questions.

Before a platform upgrade: Run a scan specifically scoped to the components that will be affected by the upgrade path. Understand what will break, what needs to be refactored first, and where the integration risks are before you're in the middle of the migration.

After major extension updates: Third-party extension updates can introduce new integration risks, change API contracts, or alter the configuration surface area. A post-update scan catches these before they cause problems in production.

As a client deliverable: Some agencies include a Ghost Architect triage report as a standard part of their onboarding process. The client gets a PDF of their codebase's current state as part of the engagement kickoff. It demonstrates rigor, it surfaces findings that justify additional scope, and it creates a baseline for measuring improvement over the course of the engagement.

Before presenting to a new client: Running a scan before a sales conversation gives you specific, accurate information about the client's codebase instead of general observations. You can walk into the meeting and say "we found three Critical findings in your current extension stack" — which is a very different conversation starter than "we'd need to do a review before we can give you a real scope."

Transparency as a Feature

Ghost Architect prints the exact API cost of every scan in the terminal output. This is intentional. There are no hidden costs, no usage-based billing surprises, no black-box infrastructure charges. You know exactly what each scan costs before it runs (from the estimate) and exactly what it cost after it runs (from the output).

For agencies, this matters in a specific way: each developer runs Ghost with their own Anthropic API key. That means each developer's API usage is visible to them individually. There's no aggregated billing that obscures individual usage. A developer running 30 scans in a month can see exactly what that cost. An agency managing team usage can see it too, if they choose to centralize the API key. The cost structure is transparent at every level.

The Real Cost Question

The question about cost that actually matters isn't "how much does a scan cost?" It's "what is the cost of not knowing what's in your codebase?"

A security breach on a Magento store averages hundreds of thousands of dollars in direct costs — forensics, remediation, notification, regulatory response, reputational damage — before you count the indirect costs of customer loss and churn. A migration project that discovers an unknown integration three weeks in typically adds 30–50% to the timeline and budget. A client relationship that ends because a launch went badly due to something that was findable in the codebase is worth years of recurring revenue.

Against those numbers, $0.23 per scan — or $99/month for unlimited scans — is not a cost question. It's an ROI question. And the math is obvious.

The teams that build regular codebase triage into their workflow — not as a one-time audit, but as a standing practice — are the ones that stop being surprised by their codebases. That's the actual value. The $0.23 is just how little it costs to get there.


Run your first scan for less than a quarter.

Ghost Open is free — bring your own Anthropic API key and see exactly what your scan costs. Ghost Pro is $99/month for the full feature set including PDF reports.

Try Ghost Open Free → See All Plans