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.

Hosted (Best Performance)

For the highest quality autocomplete suggestions, we recommend 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
  2. Add Codestral to your assistant on Continue Hub
  3. Add MISTRAL_API_KEY as a User Secret on Continue Hub here
  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 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
  2. Add Mercury Coder Small to your assistant on Continue Hub
  3. Add INCEPTION_API_KEY as a User Secret on Continue Hub here
  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. This model provides good suggestions while keeping your code completely private. Quick Setup:
  1. Install Ollama
  2. Add Qwen 2.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 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.

Model Compatibility

To see a complete list of models and their capabilities, visit our Model Capabilities guide.