Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Copilot Cost GuardNew to Visual Studio Code? Get it now.
Copilot Cost Guard

Copilot Cost Guard

weller Tools

|
1 install
| (1) | Free
实时监控 GitHub Copilot 当前模型的费用倍率,防止忘记切回低倍率模型
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Copilot Cost Guard

Chinese documentation is available in README.zh-CN.md.

Copilot Cost Guard shows the current GitHub Copilot Chat model cost multiplier in the VS Code status bar, helping you notice when Copilot is using a higher-cost model.

Features

  • Show the current Copilot Chat model cost multiplier in the status bar.
  • Update automatically when the selected Copilot Chat model changes.
  • Warn when Copilot switches to a premium model.
  • Use status bar colors to make higher-cost models easier to notice.
Multiplier Icon Status bar color
0x Free Default
< 1x Green Default
1x Check Default
<= 2x Warning Warning background
> 2x Alert Error background

How It Works

Copilot Cost Guard reads VS Code's local global state database and uses the Copilot Chat model cache to infer the selected model and its cost multiplier.

It watches the database for changes and also polls periodically as a fallback. This extension does not call a GitHub Copilot API and does not access the Copilot webview DOM.

Configuration

Setting Type Default Description
copilotCostGuard.pollInterval number 3000 Polling interval in milliseconds. Minimum: 1000.
copilotCostGuard.warnOnPremiumModel boolean true Show a warning when switching to a premium model.

Limitations

  • Copilot does not provide an official API for reading the currently selected model.
  • The extension depends on VS Code and Copilot's internal persisted state, which may change across versions.
  • Some models, such as Auto, may not have a fixed multiplier.

Supported Environments

Environment Support
VS Code Yes
VS Code Insiders Yes
VSCodium Best effort
Cursor Best effort

License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft