Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>FrugalRouterNew to Visual Studio Code? Get it now.
FrugalRouter

FrugalRouter

FrugalRouter

|
1 install
| (1) | Free
Automatically route to the cheapest OpenRouter provider for coding agents
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

SlimPrompt

A VS Code extension that intercepts OpenRouter requests from coding agents (Cline, Continue.dev, Roo Code) and displays them for analysis.

Features

  • 🚀 Automatic Detection: Detects installed coding agents (Cline, Continue.dev, Roo Code)
  • 🔧 Auto-Configuration: Automatically configures agents to route through local proxy
  • 📡 Request Interception: Intercepts all OpenRouter API requests
  • 📊 Request Logging: Displays intercepted requests in VS Code output channel

How It Works

  1. Extension starts a local HTTP proxy server on localhost:8545
  2. Detects installed coding agents (Cline, Continue.dev, Roo Code)
  3. Prompts user to enable optimization
  4. Modifies agent settings to point to local proxy
  5. Proxy intercepts requests, logs them, and forwards to OpenRouter

Installation

  1. Clone this repository
  2. Run npm install
  3. Run npm run compile
  4. Press F5 to launch extension in a new VS Code window

Usage

  1. Install the extension
  2. Extension will automatically detect coding agents on startup
  3. When prompted, click "Yes" to enable request interception
  4. Use your coding agent normally - all OpenRouter requests will be intercepted
  5. View intercepted requests in the "SlimPrompt Intercepted" output channel

Supported Agents

  • Cline: Automatically configures cline.baseUrl and cline.apiProvider
  • Continue.dev: Modifies ~/.continue/config.json
  • Roo Code: Configures roo.openRouterBaseUrl

Development

npm install
npm run compile
npm run watch  # For development with auto-compilation

License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft