Display your New-API balance and usage in the VS Code status bar.
Features
Status bar carousel — cycles through customizable slides (balance, usage, requests, etc.)
Hover tooltip — full breakdown on hover
Auto refresh — configurable interval (default 60 min)
Click the status bar item to refresh manually
Installation
Install from the VS Code Marketplace(coming soon), or install the .vsix locally:
Extensions → ··· → Install from VSIX
Configuration
Get your credentials: In your New-API instance, go to Personal Settings → Security Settings → System Access Token. The token and your user ID are both shown on that page.
Setting
Default
Description
newapiStatus.baseUrl
—
Your New-API instance URL
newapiStatus.token
—
System access token
newapiStatus.userId
—
Your user ID
newapiStatus.refreshInterval
60
Data refresh interval (minutes)
newapiStatus.slideInterval
4
Carousel slide interval (seconds)
newapiStatus.slides
see below
Status bar display templates
Slide templates
Each slide is a string with optional VS Code icons and placeholders: