Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Veqen AI Cost LensNew to Visual Studio Code? Get it now.
Veqen AI Cost Lens

Veqen AI Cost Lens

Keyveve

| (0) | Free
See AI model prices as you code. Hover a model name or find the models in your project. No account or code uploads.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Veqen AI Cost Lens

See AI model prices as you code. Hover a model name to check its price, or find the models used across your project. Everything runs inside your editor. You do not need an account, and your code is never uploaded.

Hover a quoted model such as "openai/gpt-4o" or "gpt-4o" in Python, JavaScript, TypeScript, JSON or YAML. The extension shows the bundled price-book date and standard rates. When a bare model name matches several billing hosts, it shows the ambiguity rather than selecting a provider for you.

Run Veqen: Inventory Model References from the Command Palette to list recognized references and their locations in the output panel. The scan reads at most 200 supported source files, skips files larger than 500 KB and common dependency/build directories, and reports when it is partial. It does not execute project code or invoke a shell. It can operate in an untrusted or virtual workspace.

Limits

This is a model-reference inventory, not measured spend or an invoice. Dynamic identifiers, escaped strings and models absent from the snapshot are not recognized. Unknown rates remain unknown. Hovers show standard list rates; cache, batch, long-context, image variants, residency and negotiated pricing can differ. A retirement date is shown only when the book records it. The price book updates when the extension updates; the extension makes no background network requests.

Disable hovers with veqen.hoverEnabled. The documentation command opens the public Veqen documentation in your browser only when selected. It includes a fixed channel label and sends no source code, file paths or workspace identity.

Build and install the local package

From this directory, using Node.js 22:

npm ci --ignore-scripts
npm run prepare-data
npm test
npm run package

In VS Code choose Extensions: Install from VSIX… and select the generated file. Marketplace and Open VSX publication require the publisher account to own the Keyveve namespace; a generated VSIX is not evidence of a marketplace listing.

The price book comes from ../python/veqen/data/prices.json. Packaging copies the repository's reviewed snapshot and license notices; it never downloads a price book during editor use.

Packaging uses VSCE 3.7.1 with Azure Identity 4.13.0 and MSAL's UUID dependency pinned to 11.1.1 to avoid the affected MSAL 6.x authentication dependency and the older UUID buffer-bounds advisory. UUID 11 retains the CommonJS v4() API used here. These are build-only dependencies, excluded from the VSIX. Recheck these pins and npm audit when updating the packager.

Pricing rules · SDK and CLI · Report an issue

MIT licensed. See LICENSE and THIRD_PARTY_NOTICES in the package.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft