Bring your own keys
No VdevAI account required
Section titled “No VdevAI account required”BYOK and local workflows are account-free. Provider keys are stored in VS Code SecretStorage, backed by the operating system keychain where available. Keys are not sent to the webview or to VdevAI Cloud.
Supported providers
Section titled “Supported providers”VdevAI supports Groq, Gemini, OpenRouter, DeepSeek, Anthropic, OpenAI-compatible endpoints and more. The provider list in Settings is the source of truth for the current build.
Add a key
Section titled “Add a key”- Open VdevAI → Settings → AI Key Rotation.
- Add a provider key and give it a label.
- Drag keys to set the order. The first key is tried first.
- Select a model and run Save & test.
You can add as many BYOK keys as you need; the current free tier does not impose a key cap. Keys are stored in VS Code SecretStorage and are never exposed to the webview.
How rotation behaves
Section titled “How rotation behaves”- Keys are tried in your chosen order.
- A
429, quota error, timeout, or transient5xxputs that key on a short cooldown and moves to the next healthy key. The default cooldown is 60 seconds for a 429 and 15 seconds for a transient failure. - Rotation happens before the response starts streaming. If a failure happens after streaming has begun, VdevAI retries the turn with the next key rather than mixing two answers in one response.
- If every key is cooling down, VdevAI retries the key whose cooldown expires soonest instead of dead-ending.
- Your provider still enforces its own quota. Rotation does not make a provider’s free tier unlimited; it lets you pool several keys/endpoints so one exhausted key does not stop the task.
Local models
Section titled “Local models”Use an OpenAI-compatible local endpoint such as Ollama:
Base URL: http://localhost:11434/v1Model: qwen2.5:3bAPI key: ollamaLocal models are best for machines with enough RAM/VRAM. Start with a small tool-capable model and increase it if your hardware allows. Ollama can sit at the end of the key chain as a local fallback.
Hosted fallback
Section titled “Hosted fallback”If you use VdevAI Cloud and a budget is exhausted, the extension can fall back to your BYOK / local rotation. The fallback only works when you have at least one local key or model configured; you remain in control of that chain.