OpenRouter PeekOpenRouter 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 showsStatus barThe 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. HoverHover 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.
Sidebar DetailsThe 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.
Installation and setup
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 settingsAn 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:
Use the refresh button whenever you want an immediate update. What to know
PrivacyYour 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. IssuesFor bug reports and feature requests, use the GitHub issue tracker. |


