Skip to content
| Marketplace
Sign in
Visual Studio Code>Machine Learning>Swobu — LLM Router for VS Code, Claude Code & CodexNew to Visual Studio Code? Get it now.
Swobu — LLM Router for VS Code, Claude Code & Codex

Swobu — LLM Router for VS Code, Claude Code & Codex

Swobu

|
5 installs
| (0) | Free
Use VS Code Agent with your own model providers—no Copilot plan required for BYOK. Route OpenRouter, Ollama and more with fallback; also connect Claude Code & Codex.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Swobu — LLM Router for VS Code, Claude Code & Codex

Use VS Code Agent with your own model providers. Keep the client. Swap the backend.

Put OpenRouter, Ollama, Bedrock, Azure, local models or other capacity behind one stable Swobu route. Change providers or fail over without changing the model selected in VS Code.

VS Code BYOK supports Agent/chat without a GitHub Copilot plan. Inline completions and semantic-search features are separate.

Native in VS Code

Swobu routes appear in Chat and Agent as native models. Open Manage Language Models, choose Swobu, and select a route such as code.

Models contributed through a LanguageModelChatProvider can also be consumed by other VS Code extensions through the Language Model API.

One route, multiple clients

VS Code      → Swobu route
Claude Code  → same Swobu
Codex        → same Swobu

Why Swobu

Direct provider configuration couples the client to capacity. Swobu keeps the client-facing route stable and moves provider selection, balancing and fallback underneath it.

The code route stays selected while Swobu recovers through another target.

Get started

  1. Install Swobu for VS Code and run Swobu: Set Up.
  2. Create a Swobu route with your model capacity.
  3. Select the route in Manage Language Models and give Agent a task.

Popular setups

  • VS Code Agent with Ollama or another local model
  • VS Code Agent with OpenRouter
  • Connect Claude Code through Swobu
  • Connect Codex through Swobu
  • Keep a route available with provider fallback

Trust

  • The extension source is open.
  • Provider credentials remain in Swobu.
  • The VSIX contains no Swobu executable.
  • Request content exists transiently in extension memory but is not independently persisted or logged by the extension.

See Privacy and Security.

FAQ

Do I need a Copilot plan?

No. VS Code supports BYOK models in Agent and chat without a GitHub Copilot plan. Inline completions and semantic-search features are separate.

Can I use local models?

Yes. Add Ollama, LM Studio, vLLM, llama.cpp or another compatible local endpoint to a Swobu route, then select that route in VS Code.

Does this replace Claude Code or Codex?

No. The extension can connect their official clients to the same Swobu installation and routes.

Where are provider keys stored?

In Swobu, not this extension. The extension talks to your ordinary Swobu runtime.

Can it work offline with local capacity?

Yes, when the selected Swobu route uses reachable local capacity. VS Code or other extensions may still use their own online services.

For VS Code extension authors

Swobu routes are normal VS Code language models.

const models = await vscode.lm.selectChatModels({
  vendor: "swobu"
});

Extensions using the standard Language Model API can consume the user's Swobu routes instead of implementing another provider stack.

Languages

English · 简体中文 · 日本語 · Português · Bahasa Indonesia · 한국어 · Español · Deutsch · Français · Русский · Українська

Support and license

Report an issue with your VS Code version, platform and error message. Omit credentials and private request content.

Extension source is MIT licensed. Swobu is installed and licensed separately. Swobu is not affiliated with Microsoft, Anthropic or OpenAI.

Using Swobu successfully? A Marketplace rating helps other developers judge it.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft