---
title: 'Abacus in VSCode'
url: 'https://niklas-stephan.de/en/wiki/projects/how-tos/abacus-in-vscode'
markdown: 'https://niklas-stephan.de/en/wiki/projects/how-tos/abacus-in-vscode.md'
lang: en
date: '2026-11-14'
description: "Abacus in VSCode Code completion and chat Instead of Abacus's botched VSCode fork, we can embed its language models directly in VSCode. :::warning API access is billed separately by Abacus and is NOT included in the monthly fee! ::: Generate and note an API key in the Abacus web UI. Install the pl…"
---

#  Abacus in VSCode 

## Code completion and chat

Instead of Abacus's botched VSCode fork, we can embed its language models directly in VSCode.

:::warning API access is billed separately by Abacus and is NOT included in the monthly fee! :::

1. Generate and note an API key in the Abacus web UI.
2. Install the plugin [***OAI Compatible Provider for Copilot***](https://marketplace.visualstudio.com/items?itemName=johnny-zhao.oai-compatible-copilot).
3. Open the VS Code settings and maintain the values for `oaicopilot.baseUrl` and `oaicopilot.models` there. Example:

```json
    <span class="hljs-string">"oaicopilot.baseUrl"</span>: <span class="hljs-string">"https://routellm.abacus.ai/v1"</span>,
    <span class="hljs-string">"oaicopilot.models"</span>: [
    {
      <span class="hljs-attr">"id"</span>: <span class="hljs-string">"meta-llama/Meta-Llama-3.1-8B-Instruct"</span>,
      <span class="hljs-attr">"owned_by"</span>: <span class="hljs-string">"abacus"</span>
    }
```

4. Open the GitHub Copilot chat interface.
5. Click on the model picker and select "Manage Models...".
6. Select the "OAI Compatible" provider.
7. Enter the API key.
8. Select the models.
9. Restart VSCode.

---

## Navigation

- Parent: [How-To's](https://niklas-stephan.de/en/wiki/projects/how-tos.md)
- Next: [GitHub Pages](https://niklas-stephan.de/en/wiki/projects/how-tos/github-pages.md)
