Use AuraRoute models in VS Code Copilot
Copilot Chat in VS Code can call your own provider. Add AuraRoute once from the model picker, and Aura Auto, DeepSeek Flash and the rest show up next to Copilot's models, in Ask and Agent mode.
Flow
- Create an AuraRoute key — Dashboard → API keys. Copy az_live_… once.
- Open the model picker — In the Chat view, click the model name under the message box, then the + button.
- Add Models → OpenAI — Language Models opens. Click Add Models and pick OpenAI: AuraRoute speaks the OpenAI API.
- Answer three prompts — A name (AuraRoute), your az_live_… key, and true or false for zero retention.
- List the models — In chatLanguageModels.json, point each model at https://auraroute.dev/api/chat/completions.
- Pick Aura Auto and chat — Your requests now go to AuraRoute and show up under Usage in your dashboard.
1. Create a key
Create a free account, then open API keys and create one. Copy the az_live_… value. It is shown once.
2. Open the model picker in Chat
Open the Chat view: the chat icon in the title bar, or Ctrl+Alt+I (⌃⌘I on macOS). Under the message box is the name of the current model. Click it, then click + at the top of the list.
3. Add a provider: OpenAI
The Language Models editor opens. Click Add Models. VS Code lists the providers it knows: Anthropic, Azure, Google, OpenAI, OpenRouter, xAI, Ollama and a custom endpoint. Pick OpenAI. AuraRoute is OpenAI-compatible, so that is all it needs.
4. Name, key, zero retention
- Name: AuraRoute (any name works; it is the group title in the model list). Press Enter.
- API key: paste your az_live_… key and press Enter. VS Code stores it in its secret storage, not in a settings file.
- Zero retention enabled: type true or false and press Enter. The provider is added.
5. List the models in chatLanguageModels.json
VS Code saves providers in chatLanguageModels.json. Open it from the gear next to AuraRoute in Language Models, and make the AuraRoute entry list the models you want. Copy the whole block, or only the models you use:
[
{
"name": "AuraRoute",
"vendor": "customendpoint",
"apiKey": "${input:chat.lm.secret.xxxxxxx}",
"apiType": "chat-completions",
"models": [
{
"id": "AuraAuto",
"name": "Aura Auto",
"url": "https://auraroute.dev/api/chat/completions",
"toolCalling": true,
"vision": true,
"maxInputTokens": 984000,
"maxOutputTokens": 16000
},
{
"id": "deepseek-flash",
"name": "DeepSeek Flash (latest)",
"url": "https://auraroute.dev/api/chat/completions",
"toolCalling": true,
"vision": true,
"maxInputTokens": 984000,
"maxOutputTokens": 16000
},
{
"id": "gpt-4.1-mini",
"name": "GPT-4.1 mini",
"url": "https://auraroute.dev/api/chat/completions",
"toolCalling": true,
"vision": true,
"maxInputTokens": 128000,
"maxOutputTokens": 16000
},
{
"id": "grok-4.7",
"name": "Grok 4.7",
"url": "https://auraroute.dev/api/chat/completions",
"toolCalling": true,
"vision": true,
"maxInputTokens": 128000,
"maxOutputTokens": 16000
}
]
}
]
Keep the apiKey line VS Code wrote for you. It points to the key you entered in step 4, and the id after secret. is different on every machine. If the file has other providers (Copilot, for example), leave them as they are.
Where the file lives: Windows %APPDATA%\Code\User\, macOS ~/Library/Application Support/Code/User/, Linux ~/.config/Code/User/.
6. Pick a model and start
Open the model picker again and choose Aura Auto (or any AuraRoute model). It works in Ask and Agent mode, with tools and images. Every request appears under Usage in your dashboard.
Token limits
maxInputTokens and maxOutputTokens tell VS Code how much it may send and ask for. Each model's context size and output limit is on its page in the model catalog; use those numbers, or lower ones.