/costs?tab=configuration) controls AI cost tracking backfills. It recalculates cost on existing LLM traces using the per-model prices stored under Manage models. Use it when a trace was ingested without cost, pricing changed and you want missing costs filled in, or you added a custom model after traffic already landed.
Open Monitor → Costs, then select Configuration. (/pricing redirects here.)
Auto Pricing
The Auto Pricing card schedules AI cost tracking for new LLM traces.1
Enable Auto Pricing
Toggle Enable Auto Pricing on.
2
Set the Cron Schedule
Enter a standard cron expression in Cron Schedule. Examples:
*/15 * * * *- every 15 minutes0 * * * *- every hour0 0 * * *- once a day at midnight
3
Save
Click Save (or Update if a config already exists). OpenLIT runs Auto Pricing on that schedule for the active database configuration.
0), looks up each span’s provider and model in Manage models, computes the cost from token counts, and writes it back onto the span. Spans that already have a non-zero cost are left alone - Auto Pricing is a backfill, not an overwrite of vendor-reported or previously set costs. Spans with missing provider/model/tokens, or a model that isn’t in Manage models, are skipped (not treated as failures).
Manual Pricing
The Manual Pricing card explains how to recalculate a single trace on demand:- Open any LLM request in Telemetry (Go to Traces jumps there).
- In the trace detail panel, find the Cost tile and click the refresh icon. The tooltip reads Recalculate cost using the model’s price in Manage Models - there is no separate labeled button text.
- A toast shows Cost updated with the new value.
Frequently asked questions
Why is a trace's cost missing or zero?
Why is a trace's cost missing or zero?
Usually the SDK didn’t send cost, or the model wasn’t in Manage models when the span was ingested. Add or fix the model, then recalculate manually or wait for the next Auto Pricing run.
Does Auto Pricing overwrite an existing cost?
Does Auto Pricing overwrite an existing cost?
No. Auto Pricing only fills in missing or zero-cost spans - it never overwrites a cost your SDK or an upstream vendor already set.
What happens to Auto Pricing after a restart?
What happens to Auto Pricing after a restart?
Active Auto Pricing schedules are restored automatically when OpenLIT starts again - you don’t need to re-enable them after a redeploy.
Analytics
See spend and Auto Pricing run history
Manage models
Edit LLM model pricing used for cost calculation

