
Microsoft has added a real-time token counter and spending alerts to Visual Studio Code to help developers monitor GitHub Copilot usage under its new consumption-based pricing model, which launched in June 2026.
The feature, released June 17 in VS Code 1.125, lets users set spending thresholds and receive notifications before costs escalate unexpectedly.
What happened
Microsoft has added a feature to Visual Studio Code that displays the number of tokens consumed by GitHub Copilot, along with alerts when usage approaches or reaches a preset spending threshold.
Why it matters
GitHub Copilot switched to consumption-based pricing in June 2026, charging users based on tokens used for AI chat and agent features. The new display helps developers avoid unexpected costs by monitoring usage as they work.
What to watch
The feature became available on June 17 with Visual Studio Code 1.125.
Ask the AI about this article →
GitHub Copilot's transition to consumption-based pricing in June 2026 shifted the cost model from a flat subscription to variable charges tied to actual token usage for AI chat and agent operations. This change created a new challenge for developers: managing spend without real-time visibility into what they were consuming. Microsoft's response—embedding a consumption tracker and threshold-alert system directly into Visual Studio Code—addresses this friction by giving users continuous feedback on their usage patterns as they work.
The placement of this feature in the IDE itself is significant: rather than asking users to check a separate dashboard or wait for a monthly invoice, the alerts appear in the environment where the consumption happens. This design allows developers to make immediate decisions about their usage—pause an expensive operation, switch approaches, or adjust their preset spending limits—before costs spiral beyond budget.
For example, today's edition would include:
AI-summarized, only the topics you pick — one digest a day via Email, Slack, or Discord.
Free · takes 30 seconds · unsubscribe anytimeWhat is AIToday? →
Ask AI anything about this article. Q&As are published on this page for other readers too.
OpenClaw creator Peter Steinberger and co-developers announced OpenClaw 2.0 over the weekend, describing it as…

AI coding has moved through three stages—prompt engineering, context engineering, and now harness engineering—…

Workday is integrating its AI agents with Google Cloud's Gemini Enterprise, letting employees start tasks like…
Over the last two years, writing code syntax has become much easier, with tools like Cursor, Claude Code, and…

Meta released Pocket, a mobile app that lets users create interactive games and 'gizmos' by typing text prompt…

Z.ai, a Beijing-based AI startup, made public the details of its latest model on Friday
