The best AI extensions for VS Code in 2026 are GitHub Copilot (built in), Claude Code, OpenAI's Codex, and the open-source agents Cline, Kilo Code and Continue. This comparison covers what each one does, what it costs as of November 2026, where your code goes, and which popular extensions were shut down or changed this year.
- GitHub Copilot ships with VS Code and has a free tier with 2,000 inline completions a month; paid plans run from $10 to $100 a month and are billed in GitHub AI Credits.
- Claude Code's extension needs a paid Claude plan or a Console account; Codex's extension works with any ChatGPT plan, including Free, or an API key.
- Cline, Kilo Code and Continue are open source and let you bring your own model, including local models, so you pay the provider directly.
- Gemini Code Assist for individuals stopped serving requests on June 18, 2026, Amazon Q Developer closed new signups in May 2026, and Roo Code's repository is archived.
- Copilot Free, Pro, Pro+ and Max use interaction data for training unless you opt out; check the training setting of every tool before you point it at work code.
What are the best AI extensions for VS Code in 2026?
The best AI extensions for VS Code in 2026 are GitHub Copilot for built-in completions and chat, Claude Code and Codex for full coding agents from the two largest model labs, and Cline, Kilo Code and Continue if you want open source with your own choice of model. A common setup is Copilot for completions plus one agent.
Several extensions that still top older "best of" lists no longer accept new users, and Copilot moved to credit-based billing. Every price and status below was checked against the vendor's own page as of November 2026.
| Extension | Type | Cheapest way in | Models | Open source |
|---|---|---|---|---|
| GitHub Copilot | Completions, chat, agents | Free tier | Many vendors via GitHub, or your own key | Client is, in the VS Code repo (MIT) |
| Claude Code | Agent | Claude Pro, $20/month | Claude | No |
| Codex | Agent | ChatGPT Free | OpenAI | CLI is (Apache 2.0) |
| Cline | Agent | Free extension, you pay the model | Any, including local | Yes (Apache 2.0) |
| Kilo Code | Agent, completions | Free extension, you pay the model | 500+ via Kilo, or your own key | Yes (MIT) |
| Continue | Agent, chat, completions | Free extension, you pay the model | Any, including local | Yes (Apache 2.0) |
If you are also weighing editors built around AI rather than extensions, see our Cursor guide and the wider list of AI coding assistants.
GitHub Copilot: the built-in default
GitHub Copilot is the AI that ships with VS Code: inline suggestions, a Chat view with local agents, and an Agents window for tasks across projects. You sign in with a GitHub account to use it.
According to the VS Code docs, you can also run the Claude or Codex agent inside VS Code, bring your own API key or a local model, and connect tools through MCP servers. Cloud sessions, which keep working while your machine is offline, are marked experimental.
Copilot bills usage in GitHub AI Credits (1 credit equals $0.01). Paid individual plans include a base allotment plus a "flex" allotment. As of November 2026, the plans page lists:
| Plan | Price | Monthly AI Credits | Notes |
|---|---|---|---|
| Free | $0 | Limited allowance | 2,000 inline completions a month, auto model selection only |
| Pro | $10/month | 1,500 | Unlimited completions, coding agent and code review |
| Pro+ | $39/month | 7,000 | Premium models, delegation to third-party agents (preview) |
| Max | $100/month | 20,000 | Priority access to premium models |
| Business | $19/seat/month | 1,900 per user | Admin policies, no training on your data |
| Enterprise | $39/seat/month | 3,900 per user | Priority access to premium models |
Verified students get Copilot Student for free. Pick Copilot when you want completions as you type and a capable agent without managing API keys. For a head-to-head with Anthropic's agent, read GitHub Copilot vs Claude Code.
Claude Code for VS Code: Anthropic's agent in a panel
The Claude Code extension puts Anthropic's coding agent in a VS Code side panel with inline diffs, plan mode and checkpoints. It bundles the same agent as the Claude Code CLI and shares conversation history with it.
What the extension docs list as requirements and features, as of November 2026:
- Requirements: VS Code 1.94.0 or later, and any paid Claude plan (Pro, Max, Ultra, Team or Enterprise) or a Claude Console account. It does not run in VS Code's Restricted Mode.
- Inline diffs: in Manual mode, each proposed edit opens side by side and waits for your approval.
- Plan mode: the plan opens as a Markdown document you can comment on before Claude starts.
- @-mentions:
Alt+K(Option+Kon Mac) inserts a reference to the selected lines, such as@file.ts#5-10. - Checkpoints: fork the conversation or rewind code to any earlier message.
- Several sessions in tabs or windows, with searchable history.
claude --resumein a terminal continues a conversation started in the extension.
The extension bundles its own copy of Claude Code, but it does not put claude on your shell PATH. Install the CLI separately if you also want it in the terminal. Claude Pro costs $20 a month ($17 a month billed annually) on Claude's pricing page; Free accounts don't include Claude Code.
Codex: OpenAI's agent for VS Code and its forks
The Codex extension brings OpenAI's coding agent into VS Code, Cursor and Windsurf, and lets you run a task locally or hand a longer one to Codex in the cloud and pick up the result later. You sign in with a ChatGPT account or an OpenAI API key.
On OpenAI's Codex pricing page, every ChatGPT plan includes Codex as of November 2026: Free ($0, for quick tasks), Go ($8 a month), Plus ($20), Pro (from $100) and Business ($25 per user monthly, or $20 billed annually). Higher plans raise the usage limits. With an API key you pay API rates and lose the cloud features, such as GitHub code review and Slack.
Codex is the natural choice if your team already pays for ChatGPT. The Codex vs Claude Code comparison covers how the two agents differ in practice.
Cline, Kilo Code and Continue: open source with your own model
Cline, Kilo Code and Continue are open-source VS Code extensions that work with almost any model provider, including local models, so you choose the model and pay its provider directly. They suit developers who want control over cost, data or model choice.
- Cline (Apache 2.0) is an agent with Plan and Act modes: it explores and proposes a strategy, then executes after you switch to Act. Every file edit and command needs your approval, and checkpoints let you undo. Beyond your own API keys, Cline offers usage billing with some free models and a $9.99 a month ClinePass subscription. It also runs in JetBrains IDEs and as a CLI.
- Kilo Code (MIT) ships Code, Plan, Ask and Debug agents plus autocomplete. Its README says you can pick from more than 500 models at the provider's price with no markup, or use your own keys.
- Continue (Apache 2.0) offers Agent, Chat, Edit and Autocomplete modes in VS Code and JetBrains, with guides for Ollama, self-hosted models and running without internet access.
The trade-off is setup. You pick a model, manage keys, and watch API spend yourself, because a long agent session on a frontier model can cost more than a monthly subscription. Our guide to running an LLM locally covers the local side.

Which VS Code AI extensions were discontinued or changed in 2026?
Three extensions that older lists still recommend changed status in 2026: Gemini Code Assist for individuals, Amazon Q Developer and Roo Code. If one of them is in your setup, plan a move.
| Extension | What changed | Where to go |
|---|---|---|
| Gemini Code Assist (individuals, Google AI Pro and Ultra) | Stopped serving requests on June 18, 2026 | Google recommends its Antigravity products; Standard and Enterprise editions follow a separate schedule |
| Amazon Q Developer | New signups ended May 15, 2026; IDE plugins reach end of support April 30, 2027 | AWS recommends Kiro, its IDE and CLI |
| Roo Code | GitHub repository archived (read-only), last update May 2026 | Cline or Kilo Code, which work in a similar way |
Sources: Google's deprecation notice and the AWS announcement. An archived extension keeps working until something breaks, but it gets no security fixes, which matters for a tool that runs commands on your machine.
How much do VS Code AI extensions cost?
Expect $0 to $20 a month for everyday use and $100 or more for heavy agent work, either as a subscription or as API spend. Subscriptions give predictable bills; bring-your-own-key gives exact control and exact exposure.
| Budget | Good fit |
|---|---|
| $0 | Copilot Free, Codex on ChatGPT Free, or an open-source extension with a local model |
| About $10 | Copilot Pro |
| About $20 | Claude Pro (Claude Code) or ChatGPT Plus (Codex) |
| $39 to $100 | Copilot Pro+ or Max, or Claude Max, for daily agent use |
| Variable | Cline, Kilo Code or Continue with paid API keys |
Prices are from the vendors' pages as of November 2026 and exclude tax. Usage limits on every subscription change often, so check the plan page before you buy a year.
Where does your code go, and is it used for training?
Every cloud-model extension sends the code it reads to a model provider, so the real privacy question is whether that provider may train on it and how long it keeps it. The answer depends on your plan, not the extension.
| Tool and plan | Training on your code by default |
|---|---|
| Copilot Free, Pro, Pro+, Max | Yes since April 24, 2026, unless you opt out |
| Copilot Business, Enterprise | No |
| Claude Code on Free, Pro, Max, Ultra | Only if you allow it in privacy settings |
| Claude Code on Team, Enterprise, API | No, under commercial terms |
| Open-source extension with a local model | Code stays on your machine |
| Open-source extension with your API key | Depends on that provider's API terms |
GitHub's policy update covers inputs, outputs, code snippets and context around your cursor. To opt out, open github.com/settings/copilot and turn off model training under Privacy. Anthropic's data usage page explains the Claude settings and that consumer data is kept 30 days if you don't allow training and 5 years if you do. For company code, read our guide to AI privacy at work before you install anything.
Agents run commands with your user's permissions. Keep approvals on for shell commands in repositories you don't trust, and don't install an agent extension in a workspace that holds production credentials.
How do you choose and install an AI extension for VS Code?
Start with Copilot Free for completions, add one agent that matches the AI subscription you already pay for, and only then try open-source options. Run each for a week on real work before you judge it.
- Decide what you need: completions as you type, an agent that edits many files, or both.
- Check your company's rules on which providers and plans may see code.
- Sign in to GitHub in VS Code if you want Copilot completions.
- Install one agent from the Extensions view (
Ctrl+Shift+X, orCmd+Shift+Xon Mac), or from a terminal:
# Pick one agent; the IDs are the Marketplace / Open VSX identifierscode --install-extension anthropic.claude-codecode --install-extension openai.chatgptcode --install-extension saoudrizwan.claude-devcode --install-extension kilocode.Kilo-Codecode --install-extension Continue.continue- Turn off inline completions in every extension except one, so suggestions don't collide.
- Add a project instructions file the agent reads (CLAUDE.md for Claude Code, AGENTS.md for Codex) with build, test and style commands.
- Give the agent a small, testable task first and review the diff line by line.
How to pick your VS Code AI setup today
Use this checklist to finish in an afternoon:
- Remove any extension that is discontinued or archived (Gemini Code Assist for individuals, Amazon Q Developer, Roo Code).
- Set Copilot's training preference at github.com/settings/copilot.
- Choose one agent: Claude Code if you pay for Claude, Codex if you pay for ChatGPT, Cline or Kilo Code if you want your own keys.
- Keep one completion provider active.
- Write the project instructions file and commit it.
- Track a week of spend before upgrading a plan.
Extensions run only while VS Code is open and your computer is awake. For long tasks you want finished in the morning, Orkio runs Claude Code and Codex on an always-on, isolated cloud box: you hand off the task from your phone or the web and review the pull request later.
Frequently asked questions
What is the best free AI extension for VS Code?
GitHub Copilot Free is the simplest start: it is built into VS Code and includes 2,000 inline completions a month plus limited chat and agent use. Codex also works on the ChatGPT Free plan for quick tasks. Cline, Kilo Code and Continue are free extensions, but you pay for the model unless you run a local one.
Can I use Claude in VS Code without Claude Code?
Yes. GitHub Copilot offers Claude models in its model picker on paid plans, and open-source extensions like Cline, Kilo Code and Continue can call Claude with your own Anthropic API key. Claude Code's own extension gives you Anthropic's agent with plan mode, checkpoints and the same settings as the Claude Code CLI.
Can I run two AI extensions in VS Code at the same time?
You can install several, but turn on inline completions in only one of them, or suggestions will fight each other. For agents, avoid letting two of them edit the same files at once; give each its own branch or git worktree.
Do AI extensions work in Cursor, Windsurf or other VS Code forks?
Most do. Claude Code, Codex, Cline, Kilo Code and Continue publish to Open VSX, the registry most forks use, and Claude Code and Codex document fork support. GitHub Copilot is built for VS Code itself and is not on Open VSX.
Which VS Code AI extension is best for private code?
For code that must not leave your machine, use an open-source extension such as Continue, Cline or Kilo Code with a local model. For cloud models, use a business plan whose terms exclude training, such as Copilot Business or Enterprise or Claude Team or Enterprise, and confirm the settings with your security team.
SOURCES
- GitHub Docs: Plans for GitHub Copilot
- GitHub Docs: Managing Copilot policies as an individual subscriber
- VS Code docs: AI in Visual Studio Code
- Claude Code docs: Use Claude Code in VS Code
- Claude Code docs: Data usage
- OpenAI: Codex pricing
- Google: Gemini Code Assist consumer accounts deprecation
- AWS DevOps Blog: Amazon Q Developer end of support announcement


