Providers and keys
Sirius talks to a provider’s API directly from your machine — there is no Sirius account and no relay. Eight hosted providers take a key; four local or self-hosted ones take none. You add them in the editor’s Language Models editor — Manage Models — where each one is a provider of its own.
| Provider | Key | Endpoint | Models |
|---|---|---|---|
| Anthropic | yes | https://api.anthropic.com, or a Base URL you give it |
discovered — the models your key can use, each with what it accepts; the current lineup until then |
| Google Gemini | yes | https://generativelanguage.googleapis.com, or a Base URL you give it |
discovered — the models your key can see |
| OpenAI | yes | https://api.openai.com/v1, or a Base URL you give it |
discovered |
| OpenRouter | yes | fixed | discovered |
| Groq | yes | fixed | discovered |
| DeepSeek | yes | fixed | discovered |
| Mistral | yes | fixed | discovered |
| xAI | yes | fixed | discovered |
| Ollama | no | found at http://localhost:11434 with nothing added; add another host |
discovered |
| LM Studio | optional | found at http://localhost:1234/v1 with nothing added; add another server |
discovered |
| llama.cpp / vLLM | optional | found at http://localhost:8080/v1 with nothing added; add another server |
discovered |
| OpenAI-compatible (custom) | optional | the Base URL you give it, with the /v1 suffix |
discovered |
Discovered means Sirius asks the server for its model list (/models, Anthropic’s
/v1/models, Ollama’s /api/tags), so what you see is what the endpoint offers. Anthropic’s
list also says what each model accepts — adaptive thinking or a thinking budget, which effort
levels, whether thinking can be turned off — and every request to it is shaped from that, so a
model released after your build of Sirius works as soon as it appears in the list. Every
provider except Anthropic, Gemini and Ollama is driven through the same OpenAI-compatible
chat-completions adapter.
Adding a provider
Section titled “Adding a provider”Open Manage Models — at the bottom of the chat’s model picker (open Other Models if it is folded), Chat: Manage Language Models in the Command Palette, or Sirius: Manage Models — and choose Add Models…. Pick the provider, give it a name (two of the same provider need different names), and paste the key into the password box; LM Studio, llama.cpp and the custom endpoint also ask for the server’s URL, and their key may be left empty. Sirius: Set API Key does the same from the Command Palette.
Sirius then checks the provider with one cheap request — listing its models, which costs nothing — and its models appear in the chat’s model picker. If the check fails, the provider shows as a red row in Manage Models saying which it was: rejected the API key (HTTP 401) — Google says it with HTTP 400, and Sirius reads that too — or did not answer at … for a server that is not running or a wrong URL. The same line goes to the Sirius AI output channel.
In Manage Models you can also:
- Configure a provider — a new key, another URL — or Delete it, key and all;
- add the same provider twice — two OpenAI-compatible servers, a second Ollama machine, a work and a personal key — each under its own name;
- Hide a model you never use, so the picker stays short;
- search and filter by provider, capability or visibility.
Where to get a key: Anthropic, Google, OpenAI, OpenRouter, Groq, DeepSeek, Mistral, xAI.
Where keys live
Section titled “Where keys live”The editor keeps a provider’s key in its secret storage, which encrypts it with the operating
system’s facility and keeps the result in the editor’s own database — never in a settings
file, never in chatLanguageModels.json (which holds only a reference to it), never in
Settings Sync:
- macOS — the Keychain.
- Windows — DPAPI, the user-account encryption built into Windows.
- Linux — libsecret (GNOME Keyring) or KWallet, whichever the desktop provides. On a
system with neither, the editor warns that no OS keyring could be identified and keeps
secrets in memory only, so keys do not survive a restart; its dialog offers a weaker,
file-based store (
--password-store=basic, written to~/.sirius/argv.json). Installgnome-keyringor run KWallet to keep keys properly. The Arch package listslibsecretandgnome-keyringas optional dependencies for exactly this reason.
Keys that used to be settings
Section titled “Keys that used to be settings”Early versions kept keys in sirius.ai.anthropic.apiKey, sirius.ai.gemini.apiKey and
sirius.ai.openai.apiKey. Those settings are deprecated. On every start, Sirius moves any
value it still finds there into the keyring, clears the setting, and from there into
Manage Models as above. Nothing to do by hand.
Local servers and your own endpoint
Section titled “Local servers and your own endpoint”- Ollama, LM Studio, llama.cpp on their usual ports need nothing added. Where Sirius looks
for them is a setting —
sirius.ai.ollama.endpoint,sirius.ai.lmstudio.baseUrl,sirius.ai.llamacpp.baseUrl— read from your user settings only, never from a project’s.vscode/settings.json; Tab completion uses the same Ollama and llama.cpp endpoints. Another machine or port is another provider in Manage Models. vLLM uses the llama.cpp entry. - OpenAI through an Azure deployment or a corporate proxy: give the OpenAI provider that Base URL.
- Anthropic or Gemini through a gateway or proxy that speaks the vendor’s own API: give
that provider its Base URL. The key still travels in the vendor’s own header (
x-api-key,x-goog-api-key), never in the URL. - Anything else OpenAI-compatible: add OpenAI-compatible (custom) with its
/v1URL — as many as you have, each with its own name and key.
OpenRouter requests carry the HTTP-Referer and X-Title headers OpenRouter asks apps to
send, identifying Sirius IDE as the client.
What a request contains
Section titled “What a request contains”The messages of the conversation, the context the editor attached (the active file and
selection, anything you added with the context controls, the rules files),
the results of tools the agent ran, and the request settings — sirius.ai.maxTokens,
sirius.ai.temperature, streaming on by default. It goes to the provider you picked and
nowhere else. The privacy statement is the binding version of that sentence.
Stopping a reply in Sirius’s chat — the Stop button — closes the connection to the provider, so a hosted model stops generating, and billing, there and then rather than when it would have finished on its own. (The editor itself lets go of a request once it has started, so a Sirius model used by another extension runs to its end.)