Monitor Real-Time Token Costs with /stats Command
Use the /stats command to monitor your daily AI budget and token spend.
Keep track of your AI development costs in real-time by using the /stats slash command to view daily token expenditure.
The Scenario
You are working on a large codebase and want to monitor your API costs and token usage to avoid unexpected billing.
Before & after
Users have to log into their cloud provider's console, navigate to billing sections, and filter by API keys to estimate usage, often taking 5–10 minutes.
Run the /stats command to see a breakdown of your daily token consumption and associated costs directly in your terminal. This takes about 10 seconds to check.
The Prompt
/stats
The /stats command provides immediate transparency into your daily token spend, helping you manage budget and understand the cost-efficiency of different models.
Source
Qwen Code Blog: AI Coding Updates and Guides | Qwen Code Docs"/stats shows your daily token spend, /voice lets you speak instead of type"
