Braintrust

Beta
Send traces to Braintrust

Braintrust is an end-to-end platform for evaluating, monitoring, and improving LLM applications.

Step 1: Get your Braintrust API key and Project ID

In Braintrust, go to your Account Settings to create an API key, and find your Project ID in your project’s settings.

Step 2: Enable Broadcast in OpenRouter

Go to Settings > Broadcast and toggle Enable Broadcast.

Enable Broadcast

Step 3: Configure Braintrust

Click the edit icon next to Braintrust and enter:

  • Api Key: Your Braintrust API key
  • Project Id: Your Braintrust project ID
  • Base Url (optional): Default is https://api.braintrust.dev

Braintrust Configuration

Step 4: Test and save

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

Braintrust Configured

Step 5: Send a test trace

Make an API request through OpenRouter and view the trace in Braintrust.

Braintrust Trace