Skip to content
| Marketplace
Sign in
Visual Studio Code>Machine Learning>NextCode AINew to Visual Studio Code? Get it now.
NextCode AI

NextCode AI

Shivam Kalangan

|
1 install
| (0) | Free
AI code completion where you choose where your code goes: a local model on your machine, or your own API key with Gemini, Claude or OpenAI.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

NextCode

AI code completion for VS Code where you choose where your code goes.

  • Local mode (default): a model runs on your own computer through Ollama. Your code never leaves your machine.
  • Cloud mode (opt-in): the code around your cursor is sent to a provider you choose (Gemini, Claude, OpenAI, or any OpenAI-compatible API), using your own API key, after you give explicit consent.

Full details, results report and roadmap: Click me

Requirements

  • VS Code 1.146 or newer.
  • Local mode: Ollama. NextCode can guide you through the setup.
  • Cloud mode: an API key from your chosen provider.

Quick start

  1. Install NextCode.
  2. Run NextCode: Choose Mode from the Command Palette (Ctrl+Shift+P).
  3. Local: NextCode checks for Ollama, offers to download the model, and shows a progress bar. Cloud: pick a provider and model, read and accept the consent dialog, then paste your API key.
  4. Start typing. Suggestions appear as grey ghost text. Press Tab to accept, Ctrl+Right to accept one word, Esc to dismiss.

The status bar shows the active mode: NextCode (local), NextCode (cloud: Gemini), or NextCode off. Click it to pause or resume.

Commands

Command What it does
NextCode: Choose Mode Switch between local and cloud
NextCode: Set Up Local Mode Detect Ollama and download the model
NextCode: Set Up Cloud Provider Choose provider, model, consent and key
NextCode: Set API Key Replace your stored key
NextCode: Withdraw Cloud Consent Remove consent and all stored keys
NextCode: Toggle Completions Pause or resume suggestions
NextCode: Show Stats / Export Stats (CSV) View local latency and acceptance numbers

Key settings

Setting Default Meaning
nextcode.mode local local or cloud
nextcode.model qwen2.5-coder:1.5b Local model name
nextcode.multiLine auto off forces single-line suggestions
nextcode.cloud.provider gemini gemini, anthropic, openai or openai-compatible
nextcode.cloud.model (empty) Model name for your cloud provider
nextcode.metrics.enabled true Local metrics (no code is stored)

Privacy

  • In local mode, requests only go to localhost.
  • In cloud mode, the code near your cursor goes to the provider you chose, and that provider's terms apply. NextCode shows a consent dialog first and skips .env files, key files and text that looks like a secret. This filter is pattern-based and is not a guarantee.
  • API keys live in VS Code's secret storage. You can withdraw consent at any time.
  • Metrics stay on your machine and contain no source code.

Known limitations

  • Local mode on a CPU takes seconds per suggestion. A GPU is faster.
  • Model names change often, so you may need to set a valid one for your provider.
  • Gemini is the most tested cloud provider.

Links

Website · GitHub · Issues

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft