Use Xantly with Void Editor

Void is the OSS alternative to Cursor, same editor fork, every API call goes to whatever provider you configure. Works with Xantly via env vars or the OpenAI Compatible settings.

Void is the open-source alternative to Cursor, same editor fork, but every API call goes to whatever provider you configure. That includes Xantly. Since Void is still in beta, this guide will be refined as their settings surface stabilizes, but the core pattern (env vars + custom base URL) is stable.

Prerequisites

Setup via settings

  1. Open Void settings (Cmd+, macOS / Ctrl+, Linux).
  2. Search for "AI Provider" → OpenAI Compatible.
  3. Configure:
FieldValue
Base URLhttps://api.xantly.com/v1
API Keyxantly_sk_...
Default Modelxantly/auto-quality
  1. Save, reload the window.

Setup via env vars

Void reads standard OpenAI env vars if no UI override is present:

export OPENAI_API_BASE=https://api.xantly.com/v1
export OPENAI_API_KEY=xantly_sk_...
export OPENAI_MODEL=xantly/auto-quality

Drop these in your ~/.zshrc / ~/.bashrc. If you launch Void from Spotlight/Finder on macOS, you may need to set them via launchctl or a login shell wrapper (see Claude Code doc gotchas).

Using Void's AI features

All route through Xantly once the base URL is set.

Model choice

Model IDWhen
xantly/auto-qualityAgent mode, Cmd+K complex edits, default.
xantly/auto-valueChat panel daily use.
xantly/auto-speedTab autocomplete (if you're OK paying for it; usually prefer local Ollama for autocomplete).
anthropic/claude-sonnet-4.6Long-context refactors.
openai/gpt-5.4Structured output.

Don't put tab autocomplete on any Xantly tier if you can run Ollama locally, autocomplete fires per keystroke and burns tokens fast. See the Ollama bridge guide.

Verify

Open Void, Cmd+L → send:

Reply with just the word "pong".

Check your Xantly dashboard, call logged with routed-to model + cost.

What you get

Gotchas

Beta stability. Void changes fast. If a setting moved between releases, check their GitHub readme or Discord. The patterns here are intentionally generic (env vars + OpenAI-compatible base URL).

/v1 suffix. Include it.

Tab autocomplete cost. Void's Tab fires a lot. Either point it at Ollama locally or set a daily USD cap on your Xantly key (Dashboard → API Keys → Daily Budget).

Custom headers. If Void doesn't yet expose custom-header config, you can't set X-Xantly-Memory-Mode per-request from the editor. Memory is still available through the default API behavior; cross-session recall requires the explicit header.

Model list caching. After adding new models to your Xantly catalog, restart Void to refresh.

Next steps