--- title: "Recommended Models for Autocomplete in Continue" description: "Choose the best autocomplete model for Continue, including hosted high-performance options, fast speed/quality tradeoffs, and local privacy-first models." sidebarTitle: "Recommended Autocomplete Models" --- Setting up the right model for autocomplete is crucial for a smooth coding experience. Here are our top recommendations: For a complete comparison of all autocomplete models, see our [comprehensive model recommendations](/customization/models#recommended-models). ## Recommended Models for Autocomplete in Continue ### Hosted (Best Performance) For the highest quality autocomplete suggestions, we recommend **[Codestral](https://hub.continue.dev/mistral/codestral)** from Mistral. This model is specifically designed for code completion and offers excellent performance across multiple programming languages. **Codestral Quick Setup:** 1. Get your API key from [Mistral AI](https://console.mistral.ai) 2. Add [Codestral](https://hub.continue.dev/mistral/codestral) to your assistant on Continue Hub 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) 4. Click `Reload config` in the assistant selector in the Continue IDE extension ### Hosted (Best Speed/Quality Tradeoff) For fast, quality autocomplete suggestions, we recommend **[Mercury Coder Small](https://hub.continue.dev/inceptionlabs/mercury-coder-small)** from Inception. This model is specifically designed for code completion and is particularly fast because it is a diffusion model. **Mercury Coder Small Quick Setup:** 1. Get your API key from [Inception](https://platform.inceptionlabs.ai/) 2. Add [Mercury Coder Small](https://hub.continue.dev/inceptionlabs/mercury-coder-small) to your assistant on Continue Hub 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) 4. Click `Reload config` in the assistant selector in the Continue IDE extension ### Local (Offline / Privacy First) For a fully local autocomplete experience, we recommend **[Qwen 2.5 Coder 1.5B](https://hub.continue.dev/ollama/qwen2.5-coder-1.5b)**. This model provides good suggestions while keeping your code completely private. **Quick Setup:** 1. Install [Ollama](https://ollama.ai/) 2. Add [Qwen 2.5 Coder 1.5B](https://hub.continue.dev/ollama/qwen2.5-coder-1.5b) to your assistant on Continue Hub 3. Click `Reload config` in the assistant selector in the Continue IDE extension ## Next Edit Model For proactive code prediction that anticipates your next edit, Continue supports specialized [Next Edit](/features/edit/next-edit) models: **Supported Next Edit model:** - `mercury-coder-nextedit`: Primary model optimized for next edit prediction Next Edit automatically activates when you have a compatible model configured for autocomplete and the appropriate access permissions. ## Need Help? 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). ## Model Compatibility To see a complete list of models and their capabilities, visit our [Model Capabilities guide](/customize/deep-dives/model-capabilities).