Neovim

Route Neovim AI plugin traffic through Axemere Gateway. The most popular Neovim AI plugins, including avante.nvim, codecompanion.nvim, and others, support custom base URLs.

Full guide coming soon. Most Neovim AI plugins read ANTHROPIC_BASE_URL or OPENAI_BASE_URL from the environment, or accept an endpoint option in their Lua config. The VS Code guide shows the general pattern.


How to Route Neovim AI Plugins Through Axemere

avante.nvim. Set the endpoint in your Lua config:

require('avante').setup({
  provider = 'claude',
  claude = {
    endpoint = 'https://us.gw.axemere.ai/proxy/anthropic/k/mvgc_k_your-key-here',
    api_key = 'unused',
    model = 'claude-sonnet-4-6',
  },
})

codecompanion.nvim. Set the URL adapter:

require('codecompanion').setup({
  adapters = {
    anthropic = function()
      return require('codecompanion.adapters').extend('anthropic', {
        env = {
          url = 'https://us.gw.axemere.ai/proxy/anthropic/k/mvgc_k_your-key-here',
          api_key = 'unused',
        },
      })
    end,
  },
})

Alternatively, set ANTHROPIC_BASE_URL in your shell before launching Neovim; most plugins pick it up automatically.


Prerequisites


Next Steps