Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>OpenRouter PeekNew to Visual Studio Code? Get it now.
OpenRouter Peek

OpenRouter Peek

Dosenfutter

|
1 install
| (0) | Free
OpenRouter usage and costs at a glance
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

OpenRouter Peek

OpenRouter Peek is a Visual Studio Code extension that lets you check your OpenRouter balance, spending, and recent activity without leaving your editor.

Your remaining balance and today's spending appear in the status bar. Hover for a quick overview, or click the status bar to open the Details sidebar with model costs and recent request information. Costs are shown in US dollars.

The extension uses one OpenRouter API key at a time and stores it securely through Visual Studio Code.

What it shows

Status bar

The status bar shows your remaining balance and how much you have spent today. If a value is not available or is still loading, the extension indicates that rather than showing a made-up amount. Older information is marked when it may no longer be current.

Click the status bar to open the Details sidebar.

Hover

Hover over the status bar for a quick view of recent spending and your balance. You can optionally show a Models by cost section in the hover. It is hidden by default and can be turned on in the extension's settings.

The two hover captures below both use the dark theme. The full view includes Models by cost; the compact view leaves that section out.

Dark-theme full hover showing the last-hour cost bars, balance table, and Models by cost list

Dark-theme compact hover showing the last-hour cost bars and balance values without Models by cost

Sidebar Details

The Details sidebar includes balance information, Models by cost, and up to ten recent requests when that information is available. You can choose to view model costs for the past day, month, or year. The year view covers the latest 365 days; it is not a lifetime total.

Use the refresh button to update the information, the key button to add or change your OpenRouter key, and the settings button to adjust the extension.

Details sidebar showing balance cards, model costs for the past month, and recent requests

Installation and setup

  1. Open the Extensions view in Visual Studio Code and search for OpenRouter Peek. The extension will be available in the VS Code Marketplace; if it is not listed yet, check again later.
  2. Open the Command Palette and run OpenRouter Peek: Set API Key, then enter your OpenRouter API key. You can also use the key button in the Details sidebar.
  3. Select the OpenRouter Peek status-bar item to view your information and open the Details sidebar.

To change your key, run OpenRouter Peek: Set API Key again. To remove it, run OpenRouter Peek: Remove API Key and confirm. Removing the key clears the information currently shown by the extension. You can also use the refresh button for an immediate update.

OpenRouter Peek follows the language selected in Visual Studio Code. It is available in 15 VS Code languages; if your language is not included, the extension uses English.

Access and settings

An OpenRouter API key is required. Your balance is shown when OpenRouter allows access to it. Model costs and recent requests require a Management API key. If your key cannot access those details, the extension says so and continues to show any available balance information.

In the extension's settings, you can:

  • show or hide Models by cost in the hover (hidden by default);
  • choose automatic updates every 1, 5, 10, or 30 minutes. The default is 5 minutes.

Use the refresh button whenever you want an immediate update.

What to know

  • Today shows spending since the start of your local day. Last 24h shows spending over the most recent 24 hours, so the amounts can differ.
  • One OpenRouter account can be viewed at a time.

Privacy

Your API key is stored securely by Visual Studio Code and is not included in logs. OpenRouter Peek retrieves account and usage information, but never your prompts or model responses.

Issues

For bug reports and feature requests, use the GitHub issue tracker.

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