Skip to content
BYOK Tools

gp.nvim

Neovim plugin for ChatGPT-style sessions and code edits with many providers.

4.2 editor score•Coding Agents & IDEs•Free & open source

Overview

gp.nvim adds chat buffers, inline rewrites and custom hooks to Neovim. It supports OpenAI, Anthropic, Gemini, Copilot, Perplexity, Ollama and any OpenAI-compatible endpoint, and can read keys from a command such as a password manager.

  • Chat buffers as files
  • Inline rewrite and append
  • Custom agents
  • Secret command for keys

Our verdict

What we like

  • Keys never in plain config
  • Highly scriptable

Watch out for

  • Neovim only

Works with these providers

Keys from these providers work in this app. Usage is billed by the provider at its list price.

BYOK Key Safety Score

Key handling in gp.nvim

How we score
93/ 100

Grade A

Your key is stored on your device and requests go directly to the provider.

  • Key storage

    Key stays on your device; requests go direct to the provider.

    40/40
  • Auditable code

    Open source: anyone can verify how keys are handled.

    25/25
  • Self-hosting

    Runs as a local app, but not as a self-hosted service.

    8/15
  • Offline option

    Supports local models, so no key is needed at all for private work.

    10/10
  • Provider choice

    7 provider options, which lets you pick the provider whose data terms you trust.

    10/10

Whatever the score, give each app its own key, set a monthly spend limit with your provider, and revoke keys you no longer use. Read the key-safety checklist.

gp.nvim FAQ

Does gp.nvim support bring your own key?
Yes. gp.nvim accepts your own API key from OpenAI, Anthropic, Google Gemini, Perplexity, Ollama, Azure OpenAI and OpenAI-compatible. Usage is billed by the provider at its API rates.
Where does gp.nvim store my API key?
On your device. Requests go directly from gp.nvim to the provider. Its BYOK Tools Key Safety Score is 93/100.
Is gp.nvim free?
Open source: Free & open source. API usage is billed separately by your model provider.
Is gp.nvim open source?
Yes. The source code is at https://github.com/Robitx/gp.nvim.
Can gp.nvim run local models?
Yes. It can connect to local runtimes such as Ollama or LM Studio, so no API key is needed for private or offline use.
Which platforms does gp.nvim support?
CLI.

Community reviews

No reviews yet.