llmSpend.refreshInterval: Auto-refresh interval in seconds (default: 300, 0 to disable)
llmSpend.defaultPeriod: Default time period (today/week/month, default: month)
Usage
Set API Key: On first use, you'll be prompted to enter your LiteLLM API key
View Spend: Click the LLM Spend icon in the activity bar to open the sidebar
Refresh: Use the refresh command or wait for auto-refresh
Change Period: Select different time periods in the sidebar
Commands
LLM Spend: Refresh Data - Manually refresh spend data
LLM Spend: Open Sidebar - Open the spend dashboard
LLM Spend: Configure Settings - Open extension settings
Development
# Install dependencies
npm install
# Compile
npm run compile
# Watch mode
npm run watch
# Run tests
npm test
# Lint
npm run lint
# Format
npm run format
PolyForm Noncommercial License 1.0.0 - see LICENSE file for details.
This software is free for noncommercial use, including forking, studying, modifying, and contributing via pull requests. Commercial use requires a separate license from the copyright holder.