| 1 | --- |
| 2 | title: "Recommended Models for Autocomplete in Continue" |
| 3 | description: "Choose the best autocomplete model for Continue, including hosted high-performance options, fast speed/quality tradeoffs, and local privacy-first models." |
| 4 | sidebarTitle: "Recommended Autocomplete Models" |
| 5 | --- |
| 6 | |
| 7 | Setting up the right model for autocomplete is crucial for a smooth coding experience. Here are our top recommendations: |
| 8 | |
| 9 | ## Recommended Models for Autocomplete in Continue |
| 10 | |
| 11 | ### Hosted (Best Performance) |
| 12 | |
| 13 | For the highest quality autocomplete suggestions, we recommend **[Codestral](https://hub.continue.dev/mistral/codestral)** from Mistral. |
| 14 | |
| 15 | This model is specifically designed for code completion and offers excellent performance across multiple programming languages. |
| 16 | |
| 17 | **Codestral Quick Setup:** |
| 18 | |
| 19 | 1. Get your API key from [Mistral AI](https://console.mistral.ai) |
| 20 | 2. Add [Codestral](https://hub.continue.dev/mistral/codestral) to your assistant on Continue Hub |
| 21 | 3. Add `MISTRAL_API_KEY` as a [User Secret](https://docs.continue.dev/hub/secrets/secret-types#user-secrets) on Continue Hub [here](https://hub.continue.dev/settings/secrets) |
| 22 | 4. Click `Reload config` in the assistant selector in the Continue IDE extension |
| 23 | |
| 24 | ### Hosted (Best Speed/Quality Tradeoff) |
| 25 | |
| 26 | For fast, quality autocomplete suggestions, we recommend **[Mercury Coder Small](https://hub.continue.dev/inceptionlabs/mercury-coder-small)** from Inception Labs. |
| 27 | |
| 28 | This model is specifically designed for code completion and is particularly fast because it is a diffusion model. |
| 29 | |
| 30 | **Mercury Coder Small Quick Setup:** |
| 31 | |
| 32 | 1. Get your API key from [Inception Labs](https://platform.inceptionlabs.ai/) |
| 33 | 2. Add [Mercury Coder Small](https://hub.continue.dev/inceptionlabs/mercury-coder-small) to your assistant on Continue Hub |
| 34 | 3. Add `INCEPTION_API_KEY` as a [User Secret](https://docs.continue.dev/hub/secrets/secret-types#user-secrets) on Continue Hub [here](https://hub.continue.dev/settings/secrets) |
| 35 | 4. Click `Reload config` in the assistant selector in the Continue IDE extension |
| 36 | |
| 37 | ### Local (Offline / Privacy First) |
| 38 | |
| 39 | For a fully local autocomplete experience, we recommend **[Qwen 2.5 Coder 1.5B](https://hub.continue.dev/ollama/qwen2.5-coder-1.5b)**. |
| 40 | |
| 41 | This model provides good suggestions while keeping your code completely private. |
| 42 | |
| 43 | **Quick Setup:** |
| 44 | |
| 45 | 1. Install [Ollama](https://ollama.ai/) |
| 46 | 2. Add [Qwen 2.5 Coder 1.5B](https://hub.continue.dev/ollama/qwen2.5-coder-1.5b) to your assistant on Continue Hub |
| 47 | 3. Click `Reload config` in the assistant selector in the Continue IDE extension |
| 48 | |
| 49 | ## Next Edit Model |
| 50 | |
| 51 | For proactive code prediction that anticipates your next edit, Continue supports specialized [Next Edit](/features/edit/next-edit) models: |
| 52 | |
| 53 | **Supported Next Edit model:** |
| 54 | |
| 55 | - `mercury-coder-nextedit`: Primary model optimized for next edit prediction |
| 56 | |
| 57 | Next Edit automatically activates when you have a compatible model configured for autocomplete and the appropriate access permissions. |
| 58 | |
| 59 | ## Need Help? |
| 60 | |
| 61 | If you're not seeing any completions or need more detailed configuration options, check out our comprehensive [autocomplete deep dive guide](/customize/deep-dives/autocomplete). |
| 62 | |
| 63 | ## Model Compatibility |
| 64 | |
| 65 | To see a complete list of models and their capabilities, visit our [Model Capabilities guide](/customize/deep-dives/model-capabilities). |