
CodeCompanion.nvim
Neovim plugin for coding with LLMs and agents: chat, inline edits, code review of agent changes and MCP tools.
AI Coding AssistantsFreeverified Listed on Open source
Is CodeCompanion.nvim free?
Yes, CodeCompanion.nvim has a free plan. What you get: Free Neovim plugin; use Copilot Free, your own LLM key or a local model. Watch out: defaults to GitHub Copilot, so set another adapter if you don't have Copilot. Verified on codecompanion.olimorris.dev.
Free plan at a glance
- Includes
- Free Neovim plugin; use Copilot Free, your own LLM key or a local model
Free and open source under Apache-2.0. Model use depends on what you connect: a Copilot plan (Free and Student included), your own API key, or a local model with no key.
- Duration
- Free forever
- Commercial use
- Allowed on the free plan
How to get it free
Self-host- Install codecompanion.nvim with plenary.nvim using vim.pack, lazy.nvim or packer
- Choose an adapter: Copilot sign-in, an API key, a local Ollama model or an agent
- Run :CodeCompanionChat in a project file
Good to know
- Defaults to GitHub Copilot, so set another adapter if you don't have Copilot
codecompanion.olimorris.dev, Checked Source
Overview
CodeCompanion.nvim is a Neovim plugin, open source under Apache-2.0, with an LLM chat buffer and inline edits. It runs agents such as Claude Code and Codex over the Agent Client Protocol. It defaults to GitHub Copilot, including Copilot Free, and also works with API keys or local Ollama models.
Key features
- Chat buffer for talking to an LLM or an agent about your code
- Inline edits that write the LLM's response into the buffer, shown as a diff first
- Agents such as Claude Code, Codex, Gemini CLI and OpenCode over the Agent Client Protocol
- Code review to accept, revert or comment on each change an agent made
- Tools, MCP servers, editor context such as LSP diagnostics, and a prompt library
- Images and PDFs as input, and several chats open at once
Best for
- Tasks
- Write code with AI
- People
- Neovim users who want Copilot Chat-style AI in their editor, Developers who run Claude Code or Codex and want them inside Neovim, Developers who keep code local with Ollama
Limitations
- Uses GitHub Copilot by default, so without Copilot you set up an API key, local model or agent
- Small local models are slower and less reliable at tool calling
- Needs Neovim 0.12 or later and plenary.nvim
Screenshot

FAQ
- Is CodeCompanion.nvim free?
- Yes. CodeCompanion.nvim has a free plan. That's from codecompanion.olimorris.dev, checked on October 24, 2026.
- How do I get CodeCompanion.nvim for free?
- Install codecompanion.nvim with plenary.nvim using vim.pack, lazy.nvim or packer. Then choose an adapter: Copilot sign-in, an API key, a local Ollama model or an agent. Finally, run :CodeCompanionChat in a project file. Start at codecompanion.olimorris.dev/installation. We last checked these steps on October 24, 2026.
- Do I need an account to use CodeCompanion.nvim for free?
- Not for the free option: the free way to use CodeCompanion.nvim is to host it yourself. To start, install codecompanion.nvim with plenary.nvim using vim.pack, lazy.nvim or packer (checked October 24, 2026).
- What's the catch with CodeCompanion.nvim's free plan?
- One thing to know: Defaults to GitHub Copilot, so set another adapter if you don't have Copilot (checked October 24, 2026).
- What are free alternatives to CodeCompanion.nvim?
- GitHub Copilot, Kilo Code and Zed all have free plans. We checked their free offers between November 16, 2026 and November 17, 2026.
- Does CodeCompanion work with GitHub Copilot Free?
- Yes. If you have Copilot Free or Student, there is nothing to configure beyond signing in. On those plans the model is auto, which lets Copilot pick.Source: codecompanion.olimorris.dev/guides/choosing-an-adapter
- Can CodeCompanion run local models?
- Yes. It ships with an Ollama adapter, and a local model keeps your code on your machine and needs no API key. It can also reach llama.cpp and LM Studio through openai_compatible.Source: codecompanion.olimorris.dev/guides/running-local-models
- Can I use Claude Code or Codex in CodeCompanion?
- Yes. Agents such as Claude Code and Codex connect over the Agent Client Protocol and work in the chat buffer; they can bill against an existing subscription such as Claude Pro.Source: codecompanion.olimorris.dev/guides/choosing-an-adapter
Free alternatives

GitHub Copilot
AI pair programmer with chat, completions, and PR assistance in major IDEs.
Free forever, 2,000 completions a month plus limited chat and agent use

Kilo Code
Open-source AI coding agent for VS Code and JetBrains.
Free forever, Open-source extension, pay only for model usage

Zed
High-performance code editor with built-in AI agent.
Free forever, The editor, with AI through your own API keys or external agents

What The Diff
AI-generated pull request descriptions.
Free forever

Keploy
Open-source AI test generation for APIs.
Free forever, Open source
More free AI Coding Assistants tools
- Macroscope

Free credits, One-time $100 free usage, plus 1,000 free Agent credits a month
- Qwen Code

Free forever, Run it with your own API key or a local model
- Google Antigravity

Free forever, 'Available at no charge' for developers
- Void

Free forever, Open-source Cursor alternative, bring your own models
- Graphite

Free forever, Free Hobby plan for personal repos
- Sourcery

Free forever, Free for open-source projects
Sources
- Free offer
- Verified on codecompanion.olimorris.dev
- Page content
Checked against
- codecompanion.olimorris.dev
- github.com/olimorris/codecompanion.nvim
- codecompanion.olimorris.dev/installation
- codecompanion.olimorris.dev/getting-started
- codecompanion.olimorris.dev/guides/choosing-an-adapter
- codecompanion.olimorris.dev/guides/running-local-models
- github.com/olimorris/codecompanion.nvim/blob/main/LICENSE
Added by our team. We check that a free option exists and record the date; signing up is between you and CodeCompanion.nvim, so read their privacy policy and terms first.
Is this your tool? Claim it · Promote it