Supported LLMs
Chat and Prompts
Cody supports a variety of cutting-edge large language models for use in chat and prompts, allowing you to select the best model for your use case.
Newer versions of Sourcegraph Enterprise, starting from v5.6, it will be even easier to add support for new models and providers, see Model Configuration for more information.
Provider | Model | Free | Pro | Enterprise | ||||
---|---|---|---|---|---|---|---|---|
OpenAI | gpt-4 turbo | - | ✅ | ✅ | ||||
OpenAI | gpt-4o | - | ✅ | ✅ | ||||
OpenAI | gpt-4o-mini | ✅ | ✅ | ✅ | ||||
OpenAI | o3-mini-medium (experimental) | ✅ | ✅ | ✅ | ||||
OpenAI | o3-mini-high (experimental) | - | - | ✅ | ||||
OpenAI | o1 | - | ✅ | ✅ | ||||
Anthropic | claude-3.5 Haiku | ✅ | ✅ | ✅ | ||||
Anthropic | claude-3.5 Sonnet | ✅ | ✅ | ✅ | ||||
Google Gemini | 1.5 Pro | ✅ | ✅ | ✅ (beta) | ||||
Google Gemini | 2.0 Flash | ✅ | ✅ | ✅ | ||||
Google Gemini | 2.0 Flash-Lite Preview (experimental) | ✅ | ✅ | ✅ |
To use Claude 3 Sonnet models with Cody Enterprise, make sure you've upgraded your Sourcegraph instance to the latest version.
Autocomplete
Cody uses a set of models for autocomplete which are suited for the low latency use case.
Provider | Model | Free | Pro | Enterprise | ||||
---|---|---|---|---|---|---|---|---|
Fireworks.ai | DeepSeek-Coder-V2 | ✅ | ✅ | ✅ | ||||
Fireworks.ai | StarCoder | - | - | ✅ | ||||
Anthropic | claude Instant | - | - | ✅ | ||||
The default autocomplete model for Cody Free, Pro and Enterprise users is DeepSeek-Coder-V2.
The DeepSeek model used by Sourcegraph is hosted by Fireworks.ai, and is hosted as a single-tenant service in a US-based data center. For more information see our Cody FAQ.