Applies to:
Summary
Custom LLM models require registration in Braintrust’s model registry with pricing information to display cost estimates in the monitoring dashboard. The dashboard calculates costs from token metrics and registered model pricing rather than using customestimated_cost values directly.
Configuration Steps
Step 1: Register your custom model
Navigate to Configuration > AI providers > Custom providers and add your model with pricing information.Step 2: Set pricing information
Configure the following costs for your custom model:- Input cost per million tokens
- Output cost per million tokens
- Cache read/write costs (if using prompt caching)
Step 3: Update span metadata
Ensure your logged spans includemetadata.model matching the exact registered model name.