Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>OpenRouter Usage StatusNew to Visual Studio Code? Get it now.
OpenRouter Usage Status

OpenRouter Usage Status

Mickhat

|
13 installs
| (0) | Free
Show your OpenRouter credit usage in the status bar
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

OpenRouter Usage for Trae/VS Code

This extension allows you to track your OpenRouter credit usage directly from the status bar.

Features

  • Real-time Usage Tracking: Shows your remaining OpenRouter credits in the status bar.
  • Auto-Refresh: Automatically updates usage every 5 minutes (configurable).
  • Easy Configuration: Set your API key via a command.

How to Use

  1. Install the extension.
  2. Run the command OpenRouter: Set API Key (or openrouter-usage.setApiKey) from the Command Palette (Ctrl+Shift+P / Cmd+Shift+P).
  3. Enter your OpenRouter API Key. You can get one from openrouter.ai/keys.
  4. The status bar will update to show your remaining credits.

Configuration

You can configure the following settings in your settings.json:

  • openrouterUsage.apiKey: Your OpenRouter API Key.
  • openrouterUsage.refreshInterval: Interval in seconds to refresh usage data (default: 300 seconds / 5 minutes).

Debugging

If you encounter issues, you can view logs by running the command OpenRouter Usage: Show Logs or checking the "OpenRouter Usage" output channel.

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