ChatGPT.nvim
Neovim plugin for chat, code edits and actions over the OpenAI API.
Overview
ChatGPT.nvim provides an interactive chat window, edit-with-instructions mode and predefined actions such as docstrings or test generation. It uses your OpenAI key, which can be loaded from an environment variable or a shell command, and accepts compatible endpoints.
- Interactive chat window
- Edit with instructions
- Custom actions
- Key from shell command
Our verdict
What we like
- Polished UI for Neovim
- Popular and stable
Watch out for
- OpenAI-oriented
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 ChatGPT.nvim
Grade B
Your key is stored on your device and requests go directly to the provider.
- Key storage40/40
Key stays on your device; requests go direct to the provider.
- Auditable code25/25
Open source: anyone can verify how keys are handled.
- Self-hosting8/15
Runs as a local app, but not as a self-hosted service.
- Offline option0/10
Cloud providers only.
- Provider choice4/10
2 provider options, which lets you pick the provider whose data terms you trust.
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.
ChatGPT.nvim FAQ
- Does ChatGPT.nvim support bring your own key?
- Yes. ChatGPT.nvim accepts your own API key from OpenAI and OpenAI-compatible. Usage is billed by the provider at its API rates.
- Where does ChatGPT.nvim store my API key?
- On your device. Requests go directly from ChatGPT.nvim to the provider. Its BYOK Tools Key Safety Score is 77/100.
- Is ChatGPT.nvim free?
- Open source: Free & open source. API usage is billed separately by your model provider.
- Is ChatGPT.nvim open source?
- Yes. The source code is at https://github.com/jackMort/ChatGPT.nvim.
- Can ChatGPT.nvim run local models?
- No. ChatGPT.nvim works with cloud providers only.
- Which platforms does ChatGPT.nvim support?
- CLI.
Community reviews
No reviews yet.
Alternatives to ChatGPT.nvim
All coding agents & ides →Aider
Coding Agents & IDEs
AI pair programming in your terminal with git-aware edits.
OpenCode
Coding Agents & IDEs
Open-source terminal coding agent that works with any provider.
Goose
Coding Agents & IDEs
Extensible open-source AI agent from Block for coding and beyond.
OpenAI Codex CLI
Coding Agents & IDEs
OpenAI lightweight open-source coding agent for the terminal.
OpenHands
Coding Agents & IDEs
Open-source autonomous software engineering agent platform.
gptel
Coding Agents & IDEs
Simple, provider-agnostic LLM client for Emacs.