Cody by Sourcegraph Review (2026): Pricing, Features & Honest Verdict

Reviewed by MakerStack · Published · 4 min read

TLDR

Cody by Sourcegraph is an AI coding assistant that actually understands your entire codebase, not just open files. Best for: developers working in large, complex codebases. Price: Free for individuals, $19/user/mo Pro. Rating: 7.6/10

What is Cody by Sourcegraph?

Cody is Sourcegraph’s AI coding assistant, and its defining feature is deep codebase awareness. While most AI coding tools only see your currently open files, Cody leverages Sourcegraph’s code intelligence platform to understand your entire repository. It knows your APIs, patterns, dependencies, and conventions.

This matters because the biggest limitation of AI coding tools is context. A tool that understands your entire codebase gives better suggestions than one working with a narrow window. Cody’s bet is that context quality beats model size, and in practice, this approach delivers surprisingly well.

Key Features

Codebase-Aware Autocomplete: Code completions informed by your full repository, not just open tabs. Cody understands your naming conventions, import patterns, and internal APIs. The suggestions feel more like they were written by someone who knows your project.

Multi-Model Support: Choose between Claude, GPT-4, Gemini, and other models for chat and completions. This flexibility means you are not locked into one provider’s quality ceiling, and you can switch models as the landscape evolves.

Context-Aware Chat: Ask Cody questions about your codebase and get answers grounded in actual code. “Where is authentication handled?” returns real file paths and code references, not generic explanations. This is where the Sourcegraph integration truly shines.

Commands: Pre-built and custom commands for common tasks like generating unit tests, explaining code, documenting functions, and finding security issues. Commands run against your codebase context, making outputs more relevant than generic AI responses.

IDE Extensions: Available for VS Code and JetBrains IDEs with deep integration into the editor experience. The extensions handle context gathering transparently, so you get the benefits of codebase awareness without manual setup.

Sourcegraph Integration: If your team uses Sourcegraph for code search and navigation, Cody inherits all that intelligence. The code graph, cross-references, and dependency information feed directly into Cody’s context engine.

Pricing

  • Free: Unlimited autocomplete, 200 chat messages/mo, community support. Works with public and private repos.
  • Pro ($9/mo): Unlimited everything, choice of LLM models, priority support.
  • Enterprise ($19/user/mo): Sourcegraph platform integration, RBAC, audit logs, custom model deployment, dedicated support.

The free tier is one of the most generous in the space. Unlimited autocomplete with no strings attached is rare. The Pro tier at $9/mo undercuts GitHub Copilot while offering model flexibility. Enterprise pricing aligns with competitors.

PlanPricePlan FeaturesBest For
FreeFreeUnlimited autocomplete, 200 chat messages/mo, community supportIndividual developers
Pro$9/moUnlimited everything, model choice, priority supportPower users wanting model flexibility
Enterprise$19/user/moSourcegraph integration, RBAC, audit logs, custom models, dedicated supportTeams using Sourcegraph platform

Who is Cody Best For?

Developers working in large, complex codebases get the most value. If your project has hundreds of files, custom frameworks, or internal libraries, Cody’s deep context makes a real difference compared to tools that only see your open editor tabs.

Teams already using Sourcegraph for code search have an obvious on-ramp. Cody slots in naturally and leverages existing code intelligence. For smaller projects or solo developers, the context advantage is less pronounced, and simpler tools may suffice.

Pros and Cons

Pros

  • Deep codebase understanding beyond just open files
  • Multi-model support lets you choose Claude, GPT, or Gemini
  • Generous free tier with unlimited autocomplete
  • Strong context-aware chat that references actual code
  • Pro tier undercuts competitors at $9/mo

Cons

  • Full codebase indexing requires Sourcegraph Enterprise for large repos
  • Initial context building can be slow on first setup
  • Autocomplete speed occasionally lags behind Copilot
  • Fewer IDE integrations than some competitors
  • Enterprise pricing requires Sourcegraph platform commitment

Alternatives

GitHub Copilot

The default choice for most developers. Copilot has broader IDE support, faster completions, and a more polished experience. It lacks Cody’s deep codebase context but compensates with strong general-purpose quality. At $10/mo individual, pricing is comparable.

Cursor

A full AI-first IDE that reimagines the coding experience. Cursor’s Composer feature for multi-file edits and its chat-driven workflow go beyond what extension-based tools offer. The tradeoff is switching your entire editor, which is a big ask for established workflows.

TabbyML

The self-hosted alternative. TabbyML runs entirely on your infrastructure with open-source models. It solves the privacy problem that Cody does not (unless you use Sourcegraph Enterprise on-prem). Quality depends on your hardware and model choice.

FAQ

Does Cody send my code to the cloud?

For the free and Pro tiers, code context is sent to Sourcegraph’s servers and the chosen LLM provider. Enterprise customers can deploy Sourcegraph on-premise for full data control. Sourcegraph states they do not use customer code for model training.

How is Cody different from just using ChatGPT or Claude directly?

The key difference is automatic context. Cody gathers relevant code from your entire codebase and includes it in prompts, so the AI understands your specific project. Manually copying code into a chat window cannot match this at scale.

Can I use Cody with private repositories?

Yes. All tiers support private repos. The free tier works with repos up to a certain size, while Pro and Enterprise handle larger codebases with full indexing capabilities.

Cody by Sourcegraph Pros & Cons

What We Like

  • Deep codebase understanding beyond just open files
  • Multi-model support lets you choose Claude, GPT, or Gemini
  • Generous free tier with unlimited autocomplete
  • Strong context-aware chat that references actual code
  • Pro tier undercuts competitors at $9/mo

What Could Be Better

  • Full codebase indexing requires Sourcegraph Enterprise for large repos
  • Initial context building can be slow on first setup
  • Autocomplete speed occasionally lags behind Copilot
  • Fewer IDE integrations than some competitors
  • Enterprise pricing requires Sourcegraph platform commitment

Cody by Sourcegraph FAQ

Does Cody send my code to the cloud?

For the free and Pro tiers, code context is sent to Sourcegraph's servers and the chosen LLM provider. Enterprise customers can deploy Sourcegraph on-premise for full data control. Sourcegraph states they do not use customer code for model training.

How is Cody different from just using ChatGPT or Claude directly?

The key difference is automatic context. Cody gathers relevant code from your entire codebase and includes it in prompts, so the AI understands your specific project. Manually copying code into a chat window cannot match this at scale.

Can I use Cody with private repositories?

Yes. All tiers support private repos. The free tier works with repos up to a certain size, while Pro and Enterprise handle larger codebases with full indexing capabilities.

What is Cody by Sourcegraph?

AI coding assistant that understands your entire codebase. Multi-model support (Claude, GPT, Gemini), context-aware chat, and unlimited free autocomplete.

How much does Cody by Sourcegraph cost?

Cody by Sourcegraph pricing starts at $9/mo. A free plan is available.

Is Cody by Sourcegraph worth it?

Cody by Sourcegraph carves out a clear niche as the AI coding assistant that actually understands your codebase. The context-aware approach delivers better results for complex projects, and the generous free tier plus competitive Pro pricing make it easy to try. If context quality matters more to you than raw speed, Cody deserves a serious look. We rate it 7.6/10.

Disclosure: MakerStack is funded by featured placement fees, sponsor slots and a small number of affiliate links. Nobody paid for this review. Where any of those does apply to a review, we say so on the page. The scoring criteria are the same in every case. See our editorial policy.

This review describes Cody by Sourcegraph as we tested it on March 20, 2026. Pricing, plans and features may have changed since. We don't update reviews on request; see our update policy.