Monitor Claude Code token usage and costs directly from VS Code. The extension automatically instruments Claude Code sessions and streams events to your Weflayr dashboard.
Overview
Weflayr is an LLM observability platform. This extension hooks into Claude Code and sends token usage, latency, and cost data to your Weflayr account so you can track spending and usage across your team.
For full setup instructions and configuration options, see the documentation.
Setup
- Install the extension
- Open VS Code settings and search for Weflayr
- Set your
API Key(found in your Weflayr dashboard)
Configuration
| Setting | Description |
|---|---|
weflayr.apiKey |
Your Weflayr API key |
weflayr.baseUrl |
Weflayr API base URL. Optional — defaults to https://api.weflayr.com |
weflayr.dev.enabled |
Also send every event to the dev environment, in addition to the main one above |
weflayr.dev.apiKey |
Weflayr API key for the dev environment. Required when weflayr.dev.enabled is on |
weflayr.dev.baseUrl |
Weflayr dev API base URL. Optional — defaults to https://dev.api.weflayr.com |
Documentation
Full documentation: docs.weflayr.com/vscode