Stop paying for expensive AI coding tools! In this video, I will show you exactly how to get free AI in VS Code using 9router. We will walk through the entire setup process, from installation to configuring it directly with GitHub Copilot so you can start writing code faster today.
and this is the json config file you can add :
[
{
"name": "9Router",
"vendor": "customendpoint",
"apiKey": "${input:chat.lm.secret.1ba64164}",
"apiType": "chat-completions",
"models": [
{
"id": "All-in-free",
"name": "combo/All-in-free",
"url": "http://localhost:20128/v1/chat/completions#models.ai.azure.com",
"toolCalling": true,
"vision": true,
"maxInputTokens": 128000,
"maxOutputTokens": 16000
}
]
},
{
"name": "9Router",
"vendor": "customendpoint",
"apiKey": "${input:chat.lm.secret.1ba64164}",
"apiType": "chat-completions",
"models": [
{
"id": "Gemini",
"name": "combo/Gemini",
"url": "http://localhost:20128/v1/chat/completions#models.ai.azure.com",
"toolCalling": true,
"vision": true,
"maxInputTokens": 128000,
"maxOutputTokens": 16000
}
]
}
]
dont forget to replace the id of modal,