Sourcegraph pricing, limits and verdict

Enterprise code search and AI Deep Search for multi-repo codebases. Its Cody assistant is being retired in January 2027.

Best for
Engineering leaders at scale-ups/enterprise
Not for
Solo developers

Should you use Sourcegraph?

Sourcegraph fits engineering teams whose codebase spans 100 or more repositories and need AI answers grounded in how the whole system fits together. Sold enterprise-only through direct sales. Its Cody assistant is going away in January 2027, so current Cody users should plan a move; individual developers should look at Amp Inc. instead.

Deep Search and a code graph of every repository give people and coding agents context across the whole codebase.

Also for

  • Engineering organisations with codebases spread across many repositories
  • Platform and DevOps teams that run coding agents against a shared code index
Show 2 more
  • Companies with compliance requirements that need a self-hosted or single-tenant deployment
  • Current Cody customers planning a move before the January 2027 end of life

Also not for

  • Hobby projects

Main trade-off

Enterprise pricing and complexity limit adoption in SMB segment.

Sourcegraph pricing

Sourcegraph is enterprise-only and sold through direct sales. As of October 2026 its pricing page lists one Enterprise plan with a $16,000-a-year minimum annual contract that scales with team size and includes credits for AI features; the flat $59-per-user-per-month Cody Enterprise rate it quoted through mid-2026 is no longer published, and Cody, the product that rate belonged to, ends in January 2027. The Free, Pro, and Enterprise Starter plans no longer exist, and individual developers are pointed to Amp, now the independent company Amp Inc. Self-serve rivals publish per-seat prices instead, so check GitHub Copilot before booking a sales call.

What each plan includes

Compare the plans feature by feature (19 rows)
FeatureEnterprise
Deep Search (AI-powered)✓
Code Search✓
Symbol search✓
Code navigation✓
Code insights✓
Code monitoring✓
Batch changes✓
MCP server✓
GraphQL and REST APIs✓
CLI✓
Single-tenant cloud✓
Self-hosted✓
Enterprise admin and security✓
Credits for AI features✓
Org-wide credit pooling✓
24x5 support✓
Customer success managerOptional
Premium supportOptional
Volume credit bucketsAdd-on

What Sourcegraph does

Founded in 2013, Sourcegraph is an enterprise code intelligence platform that indexes codebases spanning hundreds of repositories, giving AI coding agents whole-codebase context through Deep Search and its MCP server. Its Cody assistant is scheduled to be retired in January 2027, while the platform continues separately from Amp, the coding agent it originally built.

  • Deep Search

    Agentic, natural-language search across the whole codebase that retrieves and reasons over real code rather than matching text, and the lead AI feature on the Enterprise plan.

  • MCP Server for Coding Agents

    A Model Context Protocol server that gives agents like Claude Code, Cursor, and Codex file- and line-level context from Sourcegraph's index; the Code Finder tool reached general availability August 20, 2026, and since November 16 the default endpoint exposes every tool, Deep Search and code navigation included.

  • Code Navigation

    Jump-to-definition, find references, and IDE-like browsing across any branch or pull request, extended on October 5, 2026 to the Compare page so reviewers get definitions and references inside a diff.

  • Agentic Batch Changes

    AI-assisted code changes applied across many repositories at once, announced September 14, 2026; it has since gained context filters (October 19), connectors to outside MCP servers (November 2), and merge requests that wait for a click on Allow (November 9).

  • Enterprise Deployment Flexibility

    Single-tenant cloud or fully self-hosted deployment with enterprise admin and security controls, plus automatic failover that reroutes Claude requests around provider outages on both Cloud and self-hosted instances.

Works with

  • GitHub
  • GitLab
  • Bitbucket

Capabilities

  • Code search
  • Code intelligence
  • AI assistant
  • Cody

Strengths and limits

Strengths

  • Sourcegraph says Deep Search and its MCP server give coding agents context from every repository in an instance, where an editor sees the open project.
  • Self-hosted and single-tenant deployment options keep code and chat history inside a regulated organization's own infrastructure.
  • Works alongside third-party coding agents (Claude Code, Cursor, Codex) instead of locking teams into one assistant.

Limits

  • No self-serve or free plan, and no public per-seat price since the pricing page moved to a custom annual-contract model; every deal starts with a sales call.
  • Closed-source since the core repository went private in August 2024, so teams cannot audit the code they run on-premises.
  • Enterprise-only pricing puts it out of reach for individual developers and small teams, who are pointed to the now-independent Amp Inc. instead.
  • Cody, its AI assistant with IDE extensions and APIs, is being retired in January 2027, and Sourcegraph says the suggested replacement paths do not match every Cody capability.

How Hokai rates it

  • Ease of use6.5 / 10
  • Features8.0 / 10
  • Value for money5.0 / 10
  • Support8.5 / 10

Sourcegraph alternatives

ToolPrice fromFree planRuns onRating
Sourcegraph This pageQuoteNoWeb3.9
CursorCursor is an editor you can buy self-serve; Sourcegraph is sold through its sales team, and its pricing page lists Cursor as an agent it works with.$8/moYesWeb · iOS · Mac · Windows4.4
WindsurfWindsurf is an editor you can start on today; Sourcegraph begins with a call to its sales team.$20/moYesMac · Windows3.9
TabnineTabnine prices its plans per month on its own site; Sourcegraph quotes an annual contract only.$39/moNoWeb · Mac · Windows4.0

Also compared

  • Claude CodeClaude Code is a terminal coding agent; Sourcegraph's pricing page lists it as an agent Sourcegraph works with, through the MCP server.

Sourcegraph facts

Deployment
Cloud · Self-hosted · On-premise
Compliance
SOC 2 · ISO 27001
Works offline
No
Minimum skill level
Advanced
Price band
Enterprise pricing
Languages
English
Maker founded
2013
Total funding
$248M
Training-data policy
Enterprise code is not used to train LLM models unless finetuning features are explicitly enabled; partner LLMs do not retain input or output beyond the time needed to generate responses (Sourcegraph Model Provider docs).
Training
Documentation · API Reference · Video Tutorials · Direct Enterprise Support

Data and privacy

Proprietary / closed-source (core repository made private August 2024)

What changed

  • Breaking change Sourcegraph announces Cody reaches end of life on January 31, 2027 source
  • New feature Sourcegraph's Agentic Batch Changes reaches public beta source

Questions about Sourcegraph

What does a Sourcegraph Enterprise contract cost?

Sourcegraph's public pricing page lists a single Enterprise tier that begins at $16,000 a year, scaling with team size and bundling credits for AI features like Deep Search and Agentic Batch Changes. That replaces the flat $59-per-user-per-month Cody Enterprise rate the company quoted through mid-2026, and the site publishes no per-seat figure. There is no self-serve checkout at any price, since the old Free, Pro, and Enterprise Starter tiers are gone for good.

Is there a free version of Sourcegraph?

No. Sourcegraph retired Cody Free, Cody Pro, and Enterprise Starter on July 23, 2025, and it has no free or self-serve plan today. Individuals and small teams who relied on the free tier are pointed toward Amp, the AI coding agent Sourcegraph built in-house and later spun out as the independent company Amp Inc. Evaluating Sourcegraph now means starting a sales conversation, not signing up with a card.

Which tools compete with Sourcegraph in 2026?

Cursor, Windsurf and Tabnine are listed in the alternatives table above with published monthly prices, and GitHub Copilot is the other self-serve option. Sourcegraph is the only one of the four sold solely through a sales call on an annual contract. Its own pitch for that premium, per its pricing page, is code understanding across every repository in an instance through Deep Search and its MCP server.

How is Sourcegraph different from Cursor?

Sourcegraph's pricing page, read on November 18, 2026, lists Cursor among the agents Sourcegraph works with, so the two are not exclusive choices. Cursor is an editor and coding agent you can buy self-serve; Sourcegraph is a code search platform sold on a minimum annual contract. Its Cody announcement calls the platform retrieval infrastructure for coding agents rather than an agent of its own.

Is Sourcegraph Cody being shut down?

Yes. Sourcegraph announced on November 9, 2026 that Cody, including its IDE integrations and APIs, reaches end of life on January 31, 2027. The company says Deep Search and its MCP integrations can cover many Cody workflows through coding agents such as Claude Code and Cursor, though not every capability maps one for one. Cody customers are asked to contact their Sourcegraph account team, and the code search platform itself continues.

About Sourcegraph

Sourcegraph was founded in 2013 by Quinn Slack and Beyang Liu to make large codebases searchable, and it has raised roughly $248 million across five funding rounds. In July 2025 it discontinued its free and Pro self-serve plans to concentrate on Sourcegraph Enterprise, and in December 2025 it split from its AI coding agent: Dan Adler became Sourcegraph's CEO while Slack and Liu moved to the independent Amp Inc.

Read the full background

On 9 November 2026 Adler announced that Sourcegraph Cody, the AI assistant with IDE extensions and APIs that the company introduced in early 2023, reaches end of life on 31 January 2027. Sourcegraph points teams toward Deep Search and its MCP integrations for code understanding and says they do not replace every Cody capability, and it asks Cody customers to contact their account team. The platform itself carries on.

As of November 2026 the product is one Enterprise plan built around Code Search, AI-powered Deep Search, Agentic Batch Changes, Code Insights and an MCP server. The MCP server lets outside coding agents pull file- and line-level context from the index instead of guessing from the open file, and Sourcegraph's pricing page names Claude Code, Cursor, Codex and Amp among the agents it works with; our own entries for Claude Code and for the OpenAI Codex agent cover how those tools handle context on their own. The November changelog added connectors that let Agentic Batch Changes use outside MCP servers (2 November), merges that wait for a click on Allow plus hand-over of a thread to another user (9 November), and a default MCP endpoint that now exposes every Sourcegraph tool, Deep Search included (16 November). In October it added context filters that keep excluded repositories and files out of reach of Agentic Batch Changes.

Deployment is single-tenant cloud or self-hosted. Sourcegraph's Model Provider documentation says partner LLMs do not retain inputs or outputs beyond the time needed to generate a response, and that enterprise code is not used to train models unless finetuning features are explicitly enabled. Pricing starts with a minimum annual contract, so every evaluation begins with a sales conversation.

The other side of the argument is scope. A team with one or two repositories will usually be better served by an editor-centred product, and the obvious first look is Cursor, which sells self-serve. GitHub Copilot is the self-serve option for teams already hosted on GitHub. For private autocomplete, compare Tabnine; for agentic refactoring inside the editor, Windsurf. Where the codebase is large, Augment Code is a further name to put beside Sourcegraph. Anyone who cannot sign a five-figure annual contract should skip the Sourcegraph evaluation. For wider choices, read our roundup of the best AI code review tools and the agentic AI guide before booking a demo.

Sources and guides

More AI Tools on Hokai

  • SourceryAI code review for GitHub and GitLab pull requests, with security scanning and an IDE extension, free on public repositories.
  • ZedOpen-source code editor written in Rust, with built-in AI agents, edit prediction and live multiplayer editing, free for individuals.
  • GraphiteGitHub code review platform with stacked PRs, a merge queue and AI reviews, free for personal repos and owned by Cursor since a December 2025 deal.
  • DevinDevin is Cognition's autonomous AI software engineer that plans, codes, tests, and ships pull requests, with a Free plan and several paid tiers.
  • GitHub CopilotGitHub's AI coding assistant with agent mode, Copilot Fusion model routing and MCP support across 6 IDEs, plus a free plan with no credit card required.
  • TraeFree-to-start coding editor from a ByteDance team, built on VS Code with the SOLO autonomous agent and three paid plans, for macOS, Windows and web.