21:01
2026-06-04
dev.to
large-language-models
Per-project LLM cost attribution with OTel spans: the wiring
A developer built a cost-attribution system for LLM usage by tagging every gateway span with `team.id`, `project.id`, and `feature.id` alongside OpenInference token-count attributes, shipping those spโฆ