W&B Weave

Beta

Send traces to W&B Weave

Weights & Biases Weave is an observability platform for tracking and evaluating LLM applications.

Step 1: Get your W&B API key

In W&B, go to your User Settings and copy your API key.

Step 2: Enable Broadcast in OpenRouter

Go to Settings > Broadcast and toggle Enable Broadcast.

Enable Broadcast

Step 3: Configure W&B Weave

Click the edit icon next to W&B Weave and enter:

  • Api Key: Your W&B API key
  • Entity: Your W&B username or team name
  • Project: The project name where traces will be logged
  • Base Url (optional): Default is https://trace.wandb.ai

W&B Weave Configuration

Step 4: Test and save

Click Test Connection to verify the setup. The configuration only saves if the test passes.

W&B Weave Configured

Step 5: Send a test trace

Make an API request through OpenRouter and view the trace in W&B Weave.

W&B Weave Trace