Summary
When creating traces with the estimated cost does not appear even if we support the model that's used.
Reproduction
- Start Opencode with the Braintrust plugin installed (docs).
- Type /connect to add a Provider e.g. Anthropic.
- Select a model that Braintrust supports pricing for e.g. Claude Opus 4.1.
- Enter a prompt e.g. "Tell me a story".
- Navigate to Braintrust.
- Open the project that your BRAINTRUST_PROJECT env var is set to.
- Navigate to Logs.
- Open the latest Trace that was just added from Opencode.
- Take note of the metrics associated with it.
Expected:
The Estimated Cost metric should be shown.
Actual:
There is no Estimated Cost.
Summary
When creating traces with the estimated cost does not appear even if we support the model that's used.
Reproduction
Expected:
The Estimated Cost metric should be shown.
Actual:
There is no Estimated Cost.