Sourcegraph Cody
Sourcegraph Cody is an open-source IDE plug-in for AI-assisted coding, built by Sourcegraph (released 2023-09). Sourcegraph Cody integrates with 4 verified models, including Claude Sonnet 4.6, Claude Opus 4.6, and Gemini 2.5 Pro. It's free and open source. It runs as an extension in VS Code and JetBrains IDEs, pairing editor context with chat, completions, multi-file edits, and code review workflows for daily development.
Overview
AI coding assistant with deep codebase search integration, capable of understanding and generating code across entire large-scale repositories using Sourcegraph's search infrastructure.
Best LLMs for this agent
Default model
Pricing and Provider Comparison
Hosted agents expose plan pricing. Bring-your-own-key agents pass the main cost through the model provider route you configure.
Agent access tiers
| Tier | Price | Includes |
|---|---|---|
| Free | Free | Basic AI coding features for individual hobbyists |
| Pro | $9/mo | Advanced AI and search capabilities |
| Enterprise Starter | $19/mo | Up to 50 developers, team features |
| Enterprise | $59/mo | 25+ developers, full security and scalability |
Provider routes for recommended models
| Model | Provider | Input / 1M | Output / 1M | Notes |
|---|---|---|---|---|
| Claude Sonnet 4.6 | Anthropic | $3.00 | $15.00 | Batch pricing listed; Cache reads listed |
| Claude Sonnet 4.6 | AWS Bedrock | $3 | $15 | Published token price |
| Claude Sonnet 4.6 | GCP Vertex AI | $3 | $15 | Published token price |
Featured Model Specs
| Model | Lab | Released | Context | Reasoning | Open source |
|---|---|---|---|---|---|
| Claude Sonnet 4.6 | Anthropic | 2026-02-17 | 1m | Yes | No |
| Claude Opus 4.6 | Anthropic | 2026-02-05 | 1m | Yes | No |
| Gemini 2.5 Pro | Google DeepMind | 2025-06-17 | 1m | No | No |
| GPT-4o (2024-11-20) | OpenAI | 2024-11-20 | 128k | No | No |
Model Compatibility Matrix
| Model | Lab | Default | Access tier | Notes |
|---|---|---|---|---|
| Claude Sonnet 4.6 | Anthropic | Yes | Free | Default model |
| Claude Opus 4.6 | Anthropic | No | Pro | — |
| Gemini 2.5 Pro | Google DeepMind | No | Pro | — |
| GPT-4o (2024-11-20) | OpenAI | No | Pro | — |
Underlying Models
Compare to Similar Harnesses
FAQ
What is Sourcegraph Cody?
Sourcegraph Cody is an open-source IDE plug-in for AI-assisted coding, built by Sourcegraph (released 2023-09). It runs as an extension in VS Code and JetBrains IDEs, pairing editor context with chat, completions, multi-file edits, and code review workflows for daily development. It is primarily used for pair programming, code review, and repository-aware edits inside an editor.
What models does Sourcegraph Cody support?
Sourcegraph Cody runs Claude Sonnet 4.6, Claude Opus 4.6, Gemini 2.5 Pro, GPT-4o (2024-11-20).
How much does Sourcegraph Cody cost?
Sourcegraph Cody is free and open source. You pay only for the underlying model API usage.
Is Sourcegraph Cody open source?
Yes, Sourcegraph Cody is open-source software.
What are alternatives to Sourcegraph Cody?
Alternatives include Zed, JetBrains AI Assistant, and Continue.
When was Sourcegraph Cody released?
Sourcegraph Cody was released in 2023-09.