AI CODE COMPLETION. ON YOUR TERMS.

Code completion where you decidewhere your code goes.

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.

hello.pyNextCode
# Your next line, without the interruption.
AI suggestion
mainNextCode · LocalUTF-8 py
LESS FRICTION. MORE FLOW.
01 / GIVE IT A SPIN

A little less typing. A little more flow.

Six languages. One familiar feeling.

Simulated demo, not the real model.

utils.pyNextCode
def greet(name: str) -> str: return f"Hello, {name}!"
mainNextCode · LocalUTF-8 py
A suggestion, right where you need it.
02 / YOUR CODE. YOUR CALL.

Two modes. One clear boundary.

Good suggestions shouldn’t come at the cost of control.

Your editor
Ollama on localhost
Your code stays here

Your editor talks to a model running on your own machine. No code leaves it.

03 / BEHIND THE GHOST TEXT

From a keystroke to your next line.

Just enough context. Just when you need it.

01

You type.

Write code as usual. NextCode waits quietly in the background.

completion.pyNextCode
# Fill in the middle def greet(name: str) -> str: print(greet("world"))
mainNextCode · LocalUTF-8 py

Mid-line → one line

A suggestion completes the line you’re on.

Fresh line → several lines

A fresh line or the end of a block opener may get a multi-line suggestion.

04 / PRIVACY IS A SETTING YOU OWN

Nothing behind your back.

Control is built into the request—not buried in the fine print.

Your keys, safely stored.

API keys live in VS Code’s secret storage, not in your code or settings files.

Consent has boundaries.

Consent is bound to a specific provider and host. Change either, and consent is required again.

Change your mind anytime.

Withdraw cloud consent whenever you want. Your next request respects that choice.

Secrets get a second look.

The cloud privacy filter skips .env and key files, and checks for secret-looking text.

Stay in your flow.

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.

05 / SMALL SETUP. BIG DIFFERENCE.

Set up in minutes.

01

Install NextCode

Add the extension from the VS Code Marketplace.

02

Choose Local mode

Run the Ollama installer once on your machine.

03

Let the guided setup take over

NextCode detects Ollama and downloads the model with a progress bar.

Qwen2.5-Coder 1.5B

Guided setup preview

Guided setup preview0%

Local mode requires running the Ollama installer once.

06 / PICK YOUR ENGINE

Different models. The same control.

Qwen2.5-Coder 1.5B

Fill-in-the-middle · served by Ollama

GeminiClaudeOpenAIOpenAI-compatible

NextCode uses pre-trained models. No model training has been done.

07 / THE CODESEARCHNET REPORT

Less hype. More evidence.

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.

LINE TASK

Complete the rest of one line.

BLOCK TASK

Fill in 2–4 missing lines.

Exact match with 95% Wilson confidence intervals · First-line match · Edit similarity · Empty rate · Latency p50 & p95

How to read this

Exact match is a tough grader.

A correct answer written differently still counts as wrong. Read exact match alongside edit similarity and first-line match.

Small samples mean wide intervals.

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 and cloud latency are different stories.

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.

Block results have an output-limit constraint.

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.

The dataset has history.

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.

08 / WHAT COMES NEXT

A direction, not a promise.

The next questions we want to answer. Built in the open.

01Repository retrievalPlanned

Start with BM25 retrieval, then explore CodeBERT embeddings to bring relevant repository context into suggestions.

02Codebase-size benchmarkPlanned

Measure how suggestion quality and latency change as a repository grows.

03Block-aware trimmingPlanned

Use tree-sitter to trim suggestions at meaningful syntax boundaries.

04Per-language settingsPlanned

Tune completion behavior independently for each programming language.

05Cloud request & spend controlsPlanned

Explore request caps and spend controls for cloud completion.

06LoRA fine-tuningPlanned

Explore lightweight fine-tuning as future research. No model training has been done.

07Hosted backend with sign-inPlanned

Explore a managed service with sign-in that does not require a user-provided API key.

08Hosted GPU backendPlanned

Explore hosted GPU inference to reduce local CPU latency.

09JetBrains supportPlanned

Bring the same explicit control over code sharing to JetBrains editors.

Statuses are provisional until confirmed by the maintainer.

09 / THE FINE PRINT, UP FRONT

Still early. Still honest.

  • CPU-only local mode takes seconds per suggestion.
  • VS Code’s API cannot report rejections or partial accepts.
  • Model names change; you may need to set a valid one.
  • Claude and OpenAI paths are less tested than Gemini.
  • Early benchmark results use small samples.
10 / A FEW GOOD QUESTIONS

Before you hit Tab.

Does my code leave my machine?

In Local mode, no. In Cloud mode, code around your cursor goes to your chosen third-party provider only after explicit consent.

Do I need a GPU?

No. Ollama can run locally on a CPU, but suggestions may take seconds. A compatible GPU can help. Cloud mode runs at your provider.

Do I need an API key?

Not for Local mode. Cloud mode requires your own key for your chosen provider, and provider charges may apply.

Which languages work?

The simulated demo and report cover Python, JavaScript, Java, Go, Ruby, and PHP. Suggestions depend on the selected pre-trained model.

How do I update?

Update NextCode through VS Code’s Extensions panel. Check the GitHub changelog for changes and model configuration updates.