Skip to content
| Marketplace
Sign in
Visual Studio Code>Machine Learning>RouterBaseNew to Visual Studio Code? Get it now.
RouterBase

RouterBase

RouterBase

| (0) | Free
Configure RouterBase as an OpenAI-compatible API gateway from VS Code.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

RouterBase for VS Code

RouterBase is an OpenAI-compatible API gateway for working with multiple AI models through one base URL.

This extension helps VS Code users start a RouterBase integration without leaving the editor.

Features

  • Open the RouterBase docs from the command palette.
  • Create a .env.routerbase template with RouterBase defaults.
  • Create a small OpenAI SDK example that points at RouterBase.

Commands

  • RouterBase: Open Docs
  • RouterBase: Create .env Template
  • RouterBase: Create OpenAI SDK Example

Links

  • RouterBase
  • RouterBase docs
  • Chat completions API

Example

import OpenAI from "openai";

const client = new OpenAI({
  apiKey: process.env.ROUTERBASE_API_KEY,
  baseURL: "https://routerbase.com/v1"
});
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft