Skip to content

Commit 9c688f5

Browse files
authored
Merge pull request #7226 from continuedev/bdougie/recommend-models
docs: add recommended models section with best models by role
2 parents a5fc772 + 43118f4 commit 9c688f5

File tree

14 files changed

+252
-47
lines changed

14 files changed

+252
-47
lines changed

docs/customization/models.mdx

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,20 @@ description: "These blocks form the foundation of the entire assistant experienc
1212

1313
![Model Blocks Overview](/images/customization/images/model-blocks-overview-36c30e7e01928d7a9b5b26ff1639c34b.png)
1414

15+
## Recommended Models
16+
17+
### Best Models by Role
18+
19+
| Model role | Best open models | Best closed models | Notes |
20+
|:------------|:------------------|:-------------------|:--------|
21+
| Agent / Plan | Qwen 3 Coder (480B), Qwen 3 Coder (30B), Devstral (24B), GLM 4.5 (355B), GLM 4.5 Air (106B), Kimi K2 (1T), gpt-oss (120B), gpt-oss (20B) | [Claude Opus 4.1](https://hub.continue.dev/anthropic/claude-4-1-opus), [Claude Sonnet 4](https://hub.continue.dev/anthropic/claude-4-sonnet), [GPT-5](https://hub.continue.dev/openai/gpt-5), [Gemini 2.5 Pro](https://hub.continue.dev/google/gemini-2.5-pro) | Closed models are slightly better than open models |
22+
| Chat / Edit | Qwen 3 Coder (480B), Qwen 3 Coder (30B), gpt-oss (120B), gpt-oss (20B) | [Claude Opus 4.1](https://hub.continue.dev/anthropic/claude-4-1-opus), [Claude Sonnet 4](https://hub.continue.dev/anthropic/claude-4-sonnet), [GPT-5](https://hub.continue.dev/openai/gpt-5), [Gemini 2.5 Pro](https://hub.continue.dev/google/gemini-2.5-pro) | Closed and open models have pretty similar performance |
23+
| Autocomplete | [QwenCoder2.5 (1.5B)](https://hub.continue.dev/ollama/qwen2.5-coder-1.5b), QwenCoder2.5 (7B) | [Codestral](https://hub.continue.dev/mistral/codestral), Mercury Coder | Closed models are slightly better than open models |
24+
| Apply | N/A | [Relace Instant Apply](https://hub.continue.dev/relace/instant-apply), [Morph Fast Apply](https://hub.continue.dev/morphllm/morph-v2) | Open models are basically non-existent / not good enough for this model role |
25+
| Embed | N/A | [Voyage Code 3](https://hub.continue.dev/voyageai/voyage-code-3), [Morph Embeddings](https://hub.continue.dev/morphllm/morph-embedding-v2), Codestral Embed | Open models are basically non-existent / not good enough for this model role |
26+
| Rerank | zerank-1, zerank-1-small | rerank-2.5, Relace Code Rerank, [Morph Rerank](https://hub.continue.dev/morphllm/morph-rerank-v2) | Open models are beginning to emerge for this model role |
27+
| Next Edit | Zeta | Mercury Coder | Closed models are significantly better than open models |
28+
1529
## Learn More About Model Blocks
1630

1731
Continue supports [many model providers](/customize/model-providers/top-level/openai), including Anthropic, OpenAI, Gemini, Ollama, Amazon Bedrock, Azure, xAI, DeepSeek, and more. Models can have various roles like `chat`, `edit`, `apply`, `autocomplete`, `embed`, and `rerank`.

docs/customize/deep-dives/autocomplete.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ keywords: [autocomplete]
55
sidebarTitle: Autocomplete
66
---
77

8+
<Info>
9+
For a comprehensive comparison of all autocomplete models, see our [model recommendations table](/customization/models#recommended-models).
10+
</Info>
11+
812
## How to Set Up Autocomplete in Continue with Codestral (Recommended)
913

1014
If you want to have the best autocomplete experience, we recommend using Codestral, which is available through the [Mistral API](https://console.mistral.ai/). To do this, obtain an API key and add it to your config:

docs/customize/model-roles/00-intro.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ Models in Continue can be configured to be used for various roles in the extensi
1717

1818
These roles can be specified for a `config.yaml` model block using `roles`. See the [YAML Specification](/reference#models) for more details.
1919

20+
<Info>
21+
For recommendations on which models work best for each role, see our [comprehensive model recommendations](/customization/models#recommended-models).
22+
</Info>
23+
2024
## Selecting model roles
2125

2226
You can control which of the models in your assistant for a given role will be currently used for that role. Above the main input, click the 3 dots and then the cube icon to expand the `Models` section. Then you can use the dropdowns to select an active model for each role.

docs/customize/model-roles/apply.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ When editing code, Chat and Edit model output often doesn't clearly align with e
99

1010
## Recommended Apply models
1111

12+
<Info>
13+
For the latest Apply model recommendations, see our [comprehensive model recommendations](/customization/models#recommended-models).
14+
</Info>
15+
1216
We recommend [Morph Fast Apply](https://morphllm.com) or [Relace's Instant Apply model](https://hub.continue.dev/relace/instant-apply) for the fastest Apply experience. You can sign up for Morph's free tier [here](https://morphllm.com/dashboard) or get a Relace API key [here](https://app.relace.ai/settings/api-keys).
1317

1418
However, most Chat models can also be used for applying code changes. We recommend smaller/cheaper models for the task, such as Claude 3.5 Haiku.

docs/customize/model-roles/autocomplete.mdx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,11 @@ In Continue, autocomplete models are used to display inline [Autocomplete](../..
1212

1313
## Recommended Autocomplete models
1414

15-
Visit the [Autocomplete Deep Dive](../deep-dives/autocomplete) for recommended models and more details.
15+
<Info>
16+
See our [comprehensive model recommendations](/customization/models#recommended-models) for the best autocomplete models, including both open and closed options.
17+
</Info>
18+
19+
Visit the [Autocomplete Deep Dive](../deep-dives/autocomplete) for detailed setup instructions and configuration options.
1620

1721
## Prompt templating
1822

docs/customize/model-roles/chat.mdx

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,24 +11,28 @@ In Continue, these models are used for normal [Chat](../../features/chat/quick-s
1111

1212
## Recommended Chat models
1313

14+
<Info>
15+
For the latest and most comprehensive model recommendations, see our [model recommendations table](/customization/models#recommended-models).
16+
</Info>
17+
1418
## Best overall experience
1519

1620
For the best overall Chat experience, you will want to use a 400B+ parameter model or one of the frontier models.
1721

18-
### Claude Sonnet 3.7 from Anthropic
22+
### Claude Opus 4.1 and Claude Sonnet 4 from Anthropic
1923

20-
Our current top recommendation is Claude 3.7 Sonnet from [Anthropic](../model-providers/top-level/anthropic).
24+
Our current top recommendations are Claude Opus 4.1 and Claude Sonnet 4 from [Anthropic](../model-providers/top-level/anthropic).
2125

2226
<Tabs>
2327
<Tab title="Hub">
24-
View the [Claude 3.7 Sonnet model block](https://hub.continue.dev/anthropic/claude-3-7-sonnet) on the hub.
28+
View the [Claude Opus 4.1 model block](https://hub.continue.dev/anthropic/claude-4-1-opus) or [Claude Sonnet 4 model block](https://hub.continue.dev/anthropic/claude-4-sonnet) on the hub.
2529
</Tab>
2630
<Tab title="YAML">
2731
```yaml title="config.yaml"
2832
models:
29-
- name: Claude 3.7 Sonnet
33+
- name: Claude Opus 4.1
3034
provider: anthropic
31-
model: claude-3-7-sonnet-latest
35+
model: claude-4-1-opus
3236
apiKey: <YOUR_ANTHROPIC_API_KEY>
3337
```
3438
</Tab>
@@ -37,9 +41,9 @@ Our current top recommendation is Claude 3.7 Sonnet from [Anthropic](../model-pr
3741
{
3842
"models": [
3943
{
40-
"title": "Claude 3.5 Sonnet",
44+
"title": "Claude Opus 4.1",
4145
"provider": "anthropic",
42-
"model": "claude-3-5-sonnet-latest",
46+
"model": "claude-4-1-opus",
4347
"apiKey": "<YOUR_ANTHROPIC_API_KEY>"
4448
}
4549
]

docs/customize/model-roles/edit.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,10 @@ In Continue, you can add `edit` to a model's roles to specify that it can be use
4444

4545
Explore edit models in [the hub](https://hub.continue.dev/explore/models?roles=edit). Generally, our recommendations for Edit overlap with recommendations for Chat.
4646

47+
<Info>
48+
See our [comprehensive model recommendations](/customization/models#recommended-models) for the best models for Edit and Chat roles.
49+
</Info>
50+
4751
## Prompt templating
4852

4953
You can customize the prompt template used for editing code by setting the `promptTemplates.edit` property in your model configuration. Continue uses [Handlebars syntax](https://handlebarsjs.com/guide/) for templating.

docs/customize/model-roles/embeddings.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ You can add `embed` to a model's `roles` to specify that it can be used to embed
1919

2020
## Recommended embedding models
2121

22+
<Info>
23+
See our [comprehensive model recommendations](/customization/models#recommended-models) for the best embedding models comparison.
24+
</Info>
25+
2226
If you have the ability to use any model, we recommend `voyage-code-3`, which is listed below along with the rest of the options for embeddings models.
2327

2428
If you want to generate embeddings locally, we recommend using `nomic-embed-text` with [Ollama](../model-providers/top-level/ollama#embeddings-model).

docs/customize/model-roles/reranking.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ In Continue, rerankers are designated using the `rerank` role and used by [@Code
1111

1212
## Recommended reranking models
1313

14+
<Info>
15+
For a comparison of all reranking models including open and closed options, see our [comprehensive model recommendations](/customization/models#recommended-models).
16+
</Info>
17+
1418
If you have the ability to use any model, we recommend `rerank-2` by Voyage AI, which is listed below along with the rest of the options for rerankers.
1519

1620
### Voyage AI

docs/features/agent/model-setup.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ sidebarTitle: "Model Setup"
66

77
The models you set up for Chat mode will be used with Agent mode if the model supports tool calling. The recommended models and how to set them up can be found [here](/features/chat/model-setup).
88

9+
<Info>
10+
For the latest recommendations on the best models for Agent/Plan mode, see our [comprehensive model recommendations](/customization/models#recommended-models).
11+
</Info>
12+
913
## How System Message Tools Work
1014

1115
<Info>

0 commit comments

Comments
 (0)