Sourcegraph Cody vs GitHub Copilot

Copilot is an AI code assistant that offers autocomplete, chat, and commands. It has strong autocomplete performance using the OpenAI Codex model and offers in-IDE and mobile chat with GPT-4o. It also offers deep integration with the GitHub platform with Copilot Enterprise (for teams using GitHub Enterprise Cloud).

Unfortunately, Copilot is limited in how it uses code context. Copilot Enterprise can use code context from remote repositories, but it is limited to using code hosted in GitHub, specifically GitHub Enterprise Cloud (as Copilot Enterprise is not available for self-hosted GitHub). While Copilot offers the choice between multiple chat models, users are limited to a few models provided by GitHub directly. Enterprises can't host their own models, bring their own model keys, or connect to cloud providers like Amazon Bedrock and Azure OpenAI for a more private connection.

TL;DR: Copilot is a good choice for enterprises already using GitHub Enterprise Cloud and looking for a solution deeply embedded in the GitHub ecosystem. However, Cody is the better option for enterprises that want their AI solution to utilize context from a complete codebase spanning multiple code hosts or for enterprises that want to connect to self-hosted code hosts. Cody is also a better option for model flexibility: it allows teams to self-host models, bring their own model keys, or securely connect to LLMs via cloud provider services such as Amazon Bedrock.

vs
Cody Logo
GitHub Copilot Logo
FeaturesSourcegraph CodyGitHub Copilot
Autocomplete
Chat
Prompts
Custom prompts
Prompt sharing for teams
Inline edits
IDE supportSourcegraph CodyGitHub Copilot
Visual Studio Code
JetBrains
Visual Studio
Eclipse
Web browser
Mobile app
CLI
API
Other
LLM / ModelSourcegraph CodyGitHub Copilot
Chat model (default)Claude 3.5 SonnetGPT-4o
Choose your LLM
Bring your own LLM key
Self-hosted LLM support
Support for Amazon Bedrock, Azure OpenAI, and Google Coud Vertex AI
Context used for response personalizationSourcegraph CodyGitHub Copilot
Local code context
Remote code context from your entire codebase
Non-code context
Fine-tuned LLM
Deployment optionsSourcegraph CodyGitHub Copilot
Self-hosted
Cloud
PricingSourcegraph CodyGitHub Copilot
Free tier offered
Pro tier pricing for individuals$9 / user / month$10 / user / month
Enterprise tier pricing$19 / user / month$39 / user / month

Last updated: 2024-04-16

Get Cody, the AI coding assistant

Cody makes it easy to write, fix, and maintain code.