πŸ€– AI Tools
Β· 4 min read
Last updated on

Continue.dev Complete Guide β€” The Open-Source AI Coding Assistant (2026)


Continue.dev is an open-source AI coding assistant for VS Code and JetBrains with 25K+ GitHub stars. It’s the best free alternative to GitHub Copilot and Cursor β€” with one critical advantage: you choose your own models.

Use Claude, GPT, Gemini, local models via Ollama, or any API through OpenRouter. No vendor lock-in, no subscription required.

Features

  • Chat β€” Ask questions, debug, generate code without leaving the IDE
  • Autocomplete β€” Inline code suggestions as you type (like Copilot)
  • Edit β€” Select code and describe changes in natural language
  • Agent β€” Make substantial multi-file changes to your codebase
  • Custom rules β€” Define coding standards, prompts, and workflows
  • 50+ model support β€” Any provider, including self-hosted

Installation

VS Code

Search β€œContinue” in the Extensions marketplace, or:

code --install-extension continue.continue

JetBrains

Search β€œContinue” in the JetBrains Marketplace.

Configuration

After installing, open the Continue config: Cmd/Ctrl+Shift+P β†’ β€œContinue: Open config.json”

With OpenRouter (easiest β€” access all models)

{
  "models": [
    {
      "provider": "openrouter",
      "model": "anthropic/claude-opus-4.6",
      "apiKey": "your-openrouter-key",
      "title": "Claude Opus"
    },
    {
      "provider": "openrouter",
      "model": "deepseek/deepseek-chat",
      "apiKey": "your-openrouter-key",
      "title": "DeepSeek (cheap)"
    }
  ],
  "tabAutocompleteModel": {
    "provider": "openrouter",
    "model": "mistralai/codestral-latest",
    "apiKey": "your-openrouter-key",
    "title": "Codestral Autocomplete"
  }
}

With Ollama (free, private, local)

{
  "models": [
    {
      "provider": "ollama",
      "model": "qwen3.5:27b",
      "title": "Qwen 3.5 27B (local)"
    }
  ],
  "tabAutocompleteModel": {
    "provider": "ollama",
    "model": "codestral:22b",
    "title": "Codestral (local)"
  }
}

Run Ollama first: ollama pull qwen3.5:27b && ollama pull codestral:22b

With direct provider APIs

{
  "models": [
    {
      "provider": "anthropic",
      "model": "claude-3-opus-20240229",
      "apiKey": "your-anthropic-key",
      "title": "Claude Opus"
    },
    {
      "provider": "openai",
      "model": "gpt-5.4",
      "apiKey": "your-openai-key",
      "title": "GPT-5.4"
    }
  ]
}

The best Continue.dev setup uses two models:

  1. Chat/Agent model: A powerful model for complex tasks β€” Claude Opus via API or Qwen 3.5 27B locally
  2. Autocomplete model: A fast, specialized model β€” Codestral locally via Ollama

This gives you Cursor-level functionality for free (if using local models) or at API cost (much cheaper than Cursor Pro).

Custom rules

Create .continue/rules/ in your project:

<!-- .continue/rules/typescript.md -->
- Use TypeScript strict mode
- Prefer `const` over `let`
- Use functional components with hooks
- Add JSDoc to all exported functions
- Use Zod for runtime validation

Rules are automatically included in every prompt, ensuring consistent code style.

Continue.dev vs Cursor vs GitHub Copilot

FeatureContinue.devCursorGitHub Copilot
PriceFree (BYOK)$20/mo$10/mo
Model choiceAny modelMulti-modelMulti-model
Local modelsβœ… Ollama❌❌
Open sourceβœ… Apache 2.0❌❌
Autocompleteβœ…βœ… (better)βœ…
Agent modeβœ…βœ… (better)βœ…
IDE supportVS Code, JetBrainsVS Code forkVS Code, JetBrains, Xcode
PrivacyFull controlCloud-dependentCloud-dependent

Choose Continue.dev when: You want free/open-source, model flexibility, local models, or full privacy control.

Choose Cursor when: You want the best AI coding experience and don’t mind paying $20/month.

Choose Copilot when: You want the safest enterprise option with broad IDE support.

Tips

  1. Use Codestral for autocomplete β€” it’s purpose-built for FIM and runs fast locally
  2. Use a powerful model for chat β€” Claude Opus or GPT-5.4 for complex reasoning
  3. Set up custom rules per project β€” consistency matters more than model quality
  4. Use @codebase in chat β€” references your entire project for context-aware answers
  5. Try the agent mode for multi-file changes β€” it’s improved significantly in 2026

Bottom line

Continue.dev is the best free AI coding assistant. It won’t match Cursor’s polish or Copilot’s seamless integration, but it gives you something neither can: complete control over your models, your data, and your costs. For developers who value open source and privacy, it’s the clear choice.

FAQ

Is Continue.dev free?

Yes, Continue.dev is completely free and open-source under the Apache 2.0 license. You bring your own model β€” either local (free) or via API keys (pay per usage to the provider).

Does it work with Ollama?

Yes, Continue.dev has first-class Ollama integration for both chat and autocomplete. You can configure any Ollama model in your config.json and get fully private, free AI coding assistance.

How does it compare to Copilot?

Continue.dev gives you full control over models and data privacy, while Copilot offers a more seamless out-of-the-box experience. Copilot is easier to set up but locks you into GitHub’s ecosystem and pricing; Continue.dev is free but requires more configuration.

Can I use it in JetBrains?

Yes, Continue.dev supports both VS Code and JetBrains IDEs (IntelliJ, PyCharm, WebStorm, etc.). The JetBrains plugin offers the same core features including chat, autocomplete, and inline editing.

Related: How to Replace GitHub Copilot for Free Β· Ollama Complete Guide Β· Best Free AI Coding Assistant 2026