Your keys, safely stored.
API keys live in VS Code’s secret storage, not in your code or settings files.
Local on your machine. Or a cloud provider you choose. Same effortless suggestions. You stay in control.
Open source. Your own API key. No hidden detours.
Six languages. One familiar feeling.
Simulated demo, not the real model.
0 languages · inline completion
Good suggestions shouldn’t come at the cost of control.
Your editor talks to a model running on your own machine. No code leaves it.
Just enough context. Just when you need it.
Write code as usual. NextCode waits quietly in the background.
A suggestion completes the line you’re on.
A fresh line or the end of a block opener may get a multi-line suggestion.
Control is built into the request—not buried in the fine print.
API keys live in VS Code’s secret storage, not in your code or settings files.
Consent is bound to a specific provider and host. Change either, and consent is required again.
Withdraw cloud consent whenever you want. Your next request respects that choice.
The cloud privacy filter skips .env and key files, and checks for secret-looking text.
Errors never pop up while you’re typing. No interruption for a failed suggestion.
The secret filter is pattern-based, not a guarantee. Review what you share and avoid sending sensitive code.
Add the extension from the VS Code Marketplace.
Run the Ollama installer once on your machine.
NextCode detects Ollama and downloads the model with a progress bar.
Guided setup preview
Local mode requires running the Ollama installer once.
Fill-in-the-middle · served by Ollama
NextCode uses pre-trained models. No model training has been done.
Draft results from November 2026. Same functions. Same missing code. An honest look at what comes back.
We take real functions from the CodeSearchNet test split, hide a piece, and ask each provider to fill it in. Each language has 50 line tasks and 50 block tasks, selected in a fixed random order (seed 42). Every provider gets the same tasks across Python, Java, JavaScript, Go, Ruby, and PHP.
Complete the rest of one line.
Fill in 2–4 missing lines.
Exact match with 95% Wilson confidence intervals · First-line match · Edit similarity · Empty rate · Latency p50 & p95
A correct answer written differently still counts as wrong. Read exact match alongside edit similarity and first-line match.
Each cell targets 50 tasks, so only large differences are reliable. The 95% confidence interval shows uncertainty, not a guarantee; most language differences fall within overlapping intervals.
Local latency reflects a CPU-only laptop, not the model’s full potential. Cloud latency includes automatic retry waits and varies with server load, so compare p50 and p95 with that context in mind.
The local model is capped at 48 tokens for block tasks, which can cut longer blocks short. Gemini’s block response limit is 400 tokens.
CodeSearchNet is public GitHub code from 2019 under various licences, including older code such as Python 2. This evaluation uses the unofficial claudios/code_search_net parquet re-upload; raw samples are not redistributed.
The next questions we want to answer. Built in the open.
Start with BM25 retrieval, then explore CodeBERT embeddings to bring relevant repository context into suggestions.
Measure how suggestion quality and latency change as a repository grows.
Use tree-sitter to trim suggestions at meaningful syntax boundaries.
Tune completion behavior independently for each programming language.
Explore request caps and spend controls for cloud completion.
Explore lightweight fine-tuning as future research. No model training has been done.
Explore a managed service with sign-in that does not require a user-provided API key.
Explore hosted GPU inference to reduce local CPU latency.
Bring the same explicit control over code sharing to JetBrains editors.
Statuses are provisional until confirmed by the maintainer.
In Local mode, no. In Cloud mode, code around your cursor goes to your chosen third-party provider only after explicit consent.
No. Ollama can run locally on a CPU, but suggestions may take seconds. A compatible GPU can help. Cloud mode runs at your provider.
Not for Local mode. Cloud mode requires your own key for your chosen provider, and provider charges may apply.
The simulated demo and report cover Python, JavaScript, Java, Go, Ruby, and PHP. Suggestions depend on the selected pre-trained model.
Update NextCode through VS Code’s Extensions panel. Check the GitHub changelog for changes and model configuration updates.