Cybersecurity · head to head
HashiCorp Boundary vs Sourcegraph

HashiCorp Boundary
Cybersecurity
Identity-aware session broker for infrastructure access without distributing credentials
- From
- Free
- Free plan
- Yes

Sourcegraph
Developer Tools
Code search and intelligence platform for large codebases with Cody AI assistant
- From
- $16000/year
- Free plan
- No
The short version
- Sourcegraph is an enterprise code intelligence platform.
- HashiCorp Boundary is free; Sourcegraph starts at $16000/yr.
- Where Sourcegraph falls short: enterprise pricing starting at $16k annually creates significant barrier for small teams.
How do HashiCorp Boundary and Sourcegraph differ?
HashiCorp Boundary and Sourcegraph differ on starting price (Free against $16000/year), pricing model and free tier (Yes against No). Only the attributes on which HashiCorp Boundary and Sourcegraph actually diverge.
| Attribute | HashiCorp Boundary | Sourcegraph |
|---|---|---|
| Starting price | Free | $16000/year |
| Pricing model | Open source, no licence fee | Subscription |
| Free tier | Yes | No |
| Platforms | Linux, macOS, Windows, Web | Web, Self-hosted |
| Category | Cybersecurity | Developer Tools |
Not yet recorded: founded for HashiCorp Boundary.
Which features does each one have?
They share no listed features; 8 appear only for HashiCorp Boundary. 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 HashiCorp Boundary
- Identity-based access
- Just-in-time credentials
- Dynamic host catalogues
- Session recording
- Transparent sessions
- Multi-hop workers
- Audit logging
- Terraform provider
Only in Sourcegraph
Nothing recorded that HashiCorp Boundary does not also cover.
What is each one used for?
Sourcegraph is most often brought in for large-scale code migrations across hundreds of repositories. The jobs each tool is most often brought in to do.
HashiCorp Boundary
- A platform team replacing shared SSH keys and a bastion host so that leavers lose access the moment they are removed from the identity providernot Sourcegraph
- Granting contractors time-boxed database access without ever issuing them a credential they could keepnot Sourcegraph
- An estate where autoscaling replaces hosts continuously and a static access list is always out of datenot Sourcegraph
- Producing session recordings as evidence for an audit that requires proof of who touched production and what they rannot Sourcegraph
Sourcegraph
- Large-scale code migrations across hundreds of repositoriesnot HashiCorp Boundary
- Enterprise governance and code ownership trackingnot HashiCorp Boundary
- AI-assisted bug hunting and security pattern detectionnot HashiCorp Boundary
- Onboarding engineers into large unfamiliar codebasesnot HashiCorp Boundary
- Regulatory compliance and code audit trailsnot HashiCorp Boundary
Where do HashiCorp Boundary and Sourcegraph fall short?
Sourcegraph's most cited limit: enterprise pricing starting at $16k annually creates significant barrier for small teams. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.
HashiCorp Boundary
- HashiCorp was acquired by IBM in February 2025 and Enterprise licensing now runs through IBM Passport Advantage; IBM has already retired HCP Vault Secrets, so Boundary's roadmap depends on IBM portfolio decisions rather than HashiCorp's own product strategy
- Enterprise pricing is not published anywhere, and the features most organisations actually need for compliance, notably session recording, are Enterprise only, so the free community edition is rarely the version you end up buying
- It solves access to infrastructure, not to applications; browser-based internal tools, SaaS admin consoles and APIs need a separate control, so Boundary is one component of a zero-trust programme rather than the whole thing
- Running it yourself means operating controllers, worker nodes and a Postgres database in a highly available configuration, and if that control plane is down nobody can reach production, which makes it a new critical dependency
- It is materially easier to adopt if you already run Vault and Terraform; teams without that ecosystem face a steeper learning curve than a device-based mesh product like Tailscale, for a similar access outcome
Sourcegraph
- Enterprise pricing starting at $16k annually creates significant barrier for small teams
- No free tier or standard plan published; all options require custom sales engagement
- Complex enterprise-only positioning limits adoption compared to GitHub Copilot's pervasiveness
- Requires indexing entire codebase; not suitable for small or ephemeral projects
How much do HashiCorp Boundary and Sourcegraph cost?
HashiCorp Boundary is free to use; Sourcegraph starts at $16000/yr. Plan by plan below, from each vendor's own pricing page.
HashiCorp Boundary
Free- Boundary Community EditionFree
- MPL 2.0 open source
- Self-hosted controllers and workers
- Identity-based target access
- Boundary EnterpriseOn request
- Session recording and playback
- Multi-hop and transparent sessions
- Multi-tenancy via scopes
Sourcegraph
$16000/year- Enterprise$16,000/yr
- Scales with team size
- Credits for AI features per user
- Deep Search
Which should you pick?
Choose HashiCorp Boundary if
- You need identity-based access.
- You want to start without paying.
- You work on Linux, macOS, Windows, Web.
- You also want just-in-time credentials.
Questions people ask
- Is HashiCorp Boundary or Sourcegraph better?
- It depends on the job. HashiCorp Boundary fits a platform team replacing shared SSH keys and a bastion host so that leavers lose access the moment they are removed from the identity provider; Sourcegraph fits large-scale code migrations across hundreds of repositories. HashiCorp Boundary starts at Free and Sourcegraph at $16000/year.
- Which is cheaper, HashiCorp Boundary or Sourcegraph?
- HashiCorp Boundary has a free tier; the other does not. Paid plans start at Free for HashiCorp Boundary and $16000/year for Sourcegraph.
- Does HashiCorp Boundary or Sourcegraph run on more platforms?
- HashiCorp Boundary runs on Linux, macOS, Windows, Web. Sourcegraph runs on Web, Self-hosted.
- Can I use HashiCorp Boundary for free?
- Yes. HashiCorp Boundary has a free tier, so you can try it without paying. Sourcegraph starts at $16000/year.
- What is HashiCorp Boundary best used for?
- HashiCorp Boundary is most often used for a platform team replacing shared ssh keys and a bastion host so that leavers lose access the moment they are removed from the identity provider, granting contractors time-boxed database access without ever issuing them a credential they could keep, an estate where autoscaling replaces hosts continuously and a static access list is always out of date, producing session recordings as evidence for an audit that requires proof of who touched production and what they ran. Of those, a platform team replacing shared ssh keys and a bastion host so that leavers lose access the moment they are removed from the identity provider and granting contractors time-boxed database access without ever issuing them a credential they could keep are not what Sourcegraph is typically brought in for.
- What can HashiCorp Boundary do that Sourcegraph cannot?
- HashiCorp Boundary covers Identity-based access, Just-in-time credentials, Dynamic host catalogues, Session recording.
Answered from the vendors’ own pages
HashiCorp Boundary: Is Boundary open source?
The community edition is, under MPL 2.0. Boundary Enterprise is commercial and is now sold through IBM Passport Advantage.
Sourcegraph: How much does Sourcegraph cost?
Sourcegraph's pricing page lists a single Enterprise plan starting at $16K, which it describes as a minimum annual contract. The price includes credits for AI features and scales with team size. Volume pricing is available through sales.
SourceHashiCorp Boundary: Does it replace a VPN?
For infrastructure access, largely yes. It grants a session to a specific target rather than putting the user on a network, but it does not cover browser-based internal applications.
Sourcegraph: Does Sourcegraph have a free plan?
The pricing page lists only the Enterprise plan and a Contact sales button, with no free or self-serve tier shown. Its FAQ includes a question about a free trial, but the answer was not visible in the page text. Sourcegraph does offer a public code search across more than 1M public repositories.
SourceHashiCorp Boundary: What does Boundary Enterprise cost?
HashiCorp does not publish Boundary pricing. It is quoted, and since the IBM acquisition it is transacted on IBM licensing paper.
Sourcegraph: Can Sourcegraph be self-hosted?
Yes. The Enterprise plan includes single-tenant cloud, and the page also lists self-hosted as a deployment option. Enterprise admin and security controls are part of the plan.
SourceHashiCorp Boundary: Do I need Vault to use it?
No, but the just-in-time credential brokering that makes Boundary worthwhile depends on Vault or an equivalent secrets store.
Sourcegraph: How do Sourcegraph AI credits work?
Credits for AI features are included per user and can be pooled across the organisation. The pricing page states there is no monthly credit expiry, that purchased credit buckets roll over on renewal, and that larger volume credit buckets are an add-on.
SourceSourcegraph: Does Sourcegraph work with AI coding agents?
Sourcegraph offers a full MCP server, plus GraphQL and REST APIs and a CLI. The pricing page says it works with Claude Code, Cursor, Codex, Amp and more, giving agents context from the indexed codebase.
SourceRelated pages
More on HashiCorp Boundary
More on Sourcegraph
Other head to heads
- HashiCorp Boundary vs Teleport
- HashiCorp Boundary vs Okta
- HashiCorp Boundary vs Delinea
- HashiCorp Boundary vs Infisical
- HashiCorp Boundary vs Dashlane
- HashiCorp Boundary vs LastPass
- HashiCorp Boundary vs Zscaler Internet Access
- HashiCorp Boundary vs One Identity
- HashiCorp Boundary vs Microsoft Entra ID
- HashiCorp Boundary vs Saviynt
- HashiCorp Boundary vs Logto
- HashiCorp Boundary vs Netskope
- HashiCorp Boundary vs Wazuh
- HashiCorp Boundary vs WorkOS
- HashiCorp Boundary vs Yoti
- HashiCorp Boundary vs Bitdefender VPN
- HashiCorp Boundary vs Cosign
- HashiCorp Boundary vs Dahua Technology
- HashiCorp Boundary vs GitHub Copilot
- HashiCorp Boundary vs Cody
- HashiCorp Boundary vs Sweep
- HashiCorp Boundary vs Bazel
- HashiCorp Boundary vs Moonrepo
- HashiCorp Boundary vs Nixpacks
- HashiCorp Boundary vs Pieces for Developers
- HashiCorp Boundary vs Claude Code
- HashiCorp Boundary vs Harness
- HashiCorp Boundary vs Bitbucket
- HashiCorp Boundary vs Losant
- HashiCorp Boundary vs Nx Cloud
- HashiCorp Boundary vs Visual Studio
- HashiCorp Boundary vs Vite
- HashiCorp Boundary vs Webpack
- HashiCorp Boundary vs Blacksmith
- HashiCorp Boundary vs CLion
- HashiCorp Boundary vs Earthly
- Sourcegraph vs Teleport
- Sourcegraph vs Okta
- Sourcegraph vs Delinea
- Sourcegraph vs Infisical
- Sourcegraph vs Dashlane
- Sourcegraph vs LastPass
- Sourcegraph vs Zscaler Internet Access
- Sourcegraph vs One Identity
- Sourcegraph vs Microsoft Entra ID
- Sourcegraph vs Saviynt
- Sourcegraph vs Logto
- Sourcegraph vs Netskope
- Sourcegraph vs Wazuh
- Sourcegraph vs WorkOS
- Sourcegraph vs Yoti
- Sourcegraph vs Bitdefender VPN
- Sourcegraph vs Cosign
- Sourcegraph vs Dahua Technology
- Sourcegraph vs GitHub Copilot
- Sourcegraph vs Cody
- Sourcegraph vs Sweep
- Sourcegraph vs Bazel
- Sourcegraph vs Moonrepo
- Sourcegraph vs Nixpacks
- Sourcegraph vs Pieces for Developers
- Sourcegraph vs Claude Code
- Sourcegraph vs Harness
- Sourcegraph vs Bitbucket
- Sourcegraph vs Losant
- Sourcegraph vs Nx Cloud
- Sourcegraph vs Visual Studio
- Sourcegraph vs Vite
- Sourcegraph vs Webpack
- Sourcegraph vs Blacksmith
- Sourcegraph vs CLion
- Sourcegraph vs Earthly
