The short answer
Copilot can drive a local model now, and that deserves saying out loud. What it will not do locally is the thing you use most: inline completions still need a GitHub account and an internet connection.
Pick Copilot when
You live in GitHub, you want pull-request and issue integration, and sending code to a cloud service is not a problem where you work.
Pick Onyx Code when
You want autocomplete, codebase search and agent edits to keep working with no account and no network, and you want privacy controls any developer can commit to the repository, on any tier.
Either is fine when
You only ever use AI chat, you are happy to install and run Ollama yourself, and your organisation already pays for Copilot.
Copilot can use a local model. Here is what you lose when you do
VS Code’s own documentation is clear that a locally hosted model works without a GitHub account, without a Copilot plan and without an internet connection. If someone tells you Copilot is cloud-only, they are out of date, and we are not going to pretend otherwise on this page. One caveat on timing: the documentation places that no-account path in VS Code’s Local harness, which VS Code 1.146 (November 2026) deprecated for removal in February 2027. In the Copilot harness, the default for new sessions, local models sit behind a setting that is off by default.
The same documentation is equally clear about the limits. Semantic search, inline suggestions and anything that relies on embeddings require a GitHub account and internet connectivity. In practice that means the local-model path covers chat, while autocomplete and semantic codebase search still need an account and a connection: the two features most developers use most often.
In Onyx Code, autocomplete, next-edit prediction, codebase indexing, retrieval and the agent all run against the local engine. There is no feature that quietly needs an account, because there is no account.
Feature comparison
The Copilot column describes Copilot in VS Code, its most common home. Where the answer differs between the cloud path and the bring-your-own local-model path, both are given.
| Question | Onyx Code | GitHub Copilot |
|---|---|---|
| Where does inference run | On your machine, engine bundled, model downloaded once | GitHub’s servers, or a local runtime you install and manage yourself |
| Inline autocomplete without an account or network | Yes, plus next-edit prediction | No. Inline suggestions need a GitHub account and connectivity |
| Codebase semantic search offline | Local index and local embeddings | Semantic search requires an account and connectivity |
| Setup to first local chat | Install the app and download a model, in minutes | Install a runtime, choose and pull a model, configure it |
| Hard switch that blocks the editor's own outbound traffic | Air-Gap Mode, three-layer enforcement, Free | No editor-level equivalent |
| Exclude paths from every AI feature | .onyxnoai in the repo, honoured by chat, index, autocomplete and agents alike, though a shell command you allow can still read a file indirectly | Content exclusion on Business and Enterprise, set by repository admins or organisation and enterprise owners. Covers agents through Copilot tools, but GitHub says it may miss indirect file access and is not a security boundary |
| Audit log of AI activity | AI Activity Log (metadata, no content) plus audit-PDF export, Free | Debug logs in Preview; no audit export |
| Secret redaction before a model sees the prompt | Prompt sanitizer on every send, Free | Not provided |
| Agent mode | Ask and Edit-auto on Free. Plan, Auto and worktree sandboxing are Pro, all on the local model | Strong agent on frontier models, and deep GitHub integration |
| Pull request and issue integration | Not a GitHub product. Commit and PR text drafted locally | Native, and the reason many teams buy it |
| Pricing | Free tier forever, Pro $39 once for three machines | Free tier capped at 2000 completions a month, Pro $10, Pro+ $39, Max $100, Business $19 a seat, Enterprise $39 a seat |
What GitHub Copilot does better
Copilot is the default for a reason, and several of those reasons are things we do not do at all.
- It lives where your work lives. Pull request summaries, review comments, issues, the CLI and the web. If your team runs on GitHub, that integration is worth more than any single editor feature.
- Frontier model quality. On hard reasoning, a large hosted model beats a model running on your laptop. Onyx Code takes no cloud API key and does not pretend the gap is not there; on Pro, chat can use a larger model on a machine you run, as an External Server.
- You keep Microsoft’s extension marketplace. Copilot is an extension inside real VS Code, so nothing about your setup changes. Every VS Code fork, Onyx Code included, has to use Open VSX instead.
- Organisation-wide policy. Seat management, enterprise controls and exclusions set centrally by owners. Our licence is a one-time personal one today.
- It is already approved. If your employer has cleared Copilot, using it costs you no paperwork. That is a real advantage and we are not going to argue with it.
Who should switch
- You tried the local-model route in VS Code, and found that losing autocomplete and codebase search made it not worth it.
- Your organisation has not approved Copilot, and the reason is that code would leave the network.
- You need path exclusions on any tier, in a file any developer can commit, rather than a setting for repository admins or organisation owners.
- You have to evidence when and how an AI tool was used. An Activity Log you can export as a PDF is a shorter conversation than a vendor policy document.
- You work disconnected often enough that a tool which quietly stops helping is worse than no tool.
- You are paying a monthly subscription for autocomplete you could be running on a GPU you already own.
Questions people ask before switching
Can I keep Copilot and use Onyx Code too?
Yes, and for many people that is the sensible answer. Keep Copilot in VS Code for GitHub work, and use Onyx Code for the repositories that are not allowed to reach a cloud service. Your settings import on first run.
Is this another VS Code fork that falls behind?
It is a fork of VS Code OSS, rebased on upstream releases. The version extensions see is tracked separately from the product version, so an extension that asks for a given VS Code version gets a truthful answer.
What about my extensions?
Open VSX carries most of the popular ones. Microsoft’s marketplace is not licensed for forks, so this applies to Cursor, Devin Desktop (formerly Windsurf) and every other fork as well. The first-run wizard lists by name which of your extensions are missing, and there is an install-from-VSIX path.
Do I need a GitHub account?
No. Onyx Code has no account at all on the Free tier. A Pro licence is activated with a code and an email confirmation, and works on three machines.
Is the local model good enough to replace Copilot completions?
For fill-in-the-middle completion and next-edit prediction, current small code models are good and, running locally, usually faster than a round trip. For hard multi-step reasoning they are not a frontier model. Onyx Code takes no cloud API key; on Pro, chat can use a larger model on a server you run.
Autocomplete that does not need an account
Download, let the wizard fetch a model, open a folder, start typing. None of it asks you to sign in.
Free tier, no account, no sign-up, no telemetry. macOS, Windows and Linux.