OpenViSTAI · Agents · Blockchain · Crypto
Menu
AI Developer Tools & SDKs

Llm.nvim

Llm.nvim is a Lua plugin for Neovim that provides commands to chat with hosted or local language models, process selected text and call user-defined AI tools.

Independent OpenViST project profile, based on linked sources.

Llm.nvim — Editor-centered LLM chat and selected-text handling
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use it when you want language-model interactions and task-specific AI actions in a Neovim workflow, with a hosted provider or a supported local model.

Who it is for

  • Neovim users who want model-assisted actions within their editor.
  • Developers who want to configure different models for custom editor tools.
  • Users who want to connect Neovim workflows to hosted providers or local models such as Ollama.

Documented uses

  • Open a chat interface in Neovim and interact with a configured model.
  • Send selected text for processing with a prompt.
  • Configure editor tools for code explanation or optimization, test generation, translation, docstrings and commit messages.
  • Use different configured models for different AI tools.
Before you choose

Requirements & limits

  • Requires Neovim plugin configuration, model endpoint details and a valid LLM_KEY environment variable.
  • The minimal setup lists plenary.nvim and nui.nvim as dependencies, with curl as a dependency.
  • Provider-specific configuration should be checked in the project examples; Cloudflare additionally requires an account and ACCOUNT environment variable.
  • fzf and render-markdown.nvim are optional, for specific preview, image-selection and Markdown-display functions.
  • The repository specifies the GPL-3.0 license.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Configure Llm.nvim with a model provider

Install the plugin and set its basic model configuration in Neovim.

Before you start

  • Neovim and a plugin manager such as lazy.nvim or Mini.deps
  • curl
  • plenary.nvim and nui.nvim
  • A valid provider API key exposed as the LLM_KEY environment variable

Steps

  1. Add Kurama622/llm.nvim through lazy.nvim or Mini.deps, declaring plenary.nvim and nui.nvim as dependencies.

  2. Set the plugin’s model URL, model name and API type in its setup configuration.

  3. Ensure LLM_KEY is valid and available in the shell environment used to launch Neovim.

  4. Consult the project examples for the chosen provider and any AI tools you want to configure.

Expected outcome

The plugin is configured with a model endpoint and credentials for use through its documented Neovim commands.

Guide limitations

  • The setup example does not establish that every provider uses identical configuration.
  • Cloudflare requires an additional account and ACCOUNT environment variable.
  • This is a configuration recipe, not a claim that the setup was executed or verified.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
13 November 2026
Original website title
Kurama622/llm.nvim · Official homepage title · retained in its source language