← All projects
Project record1 mention
Originally shared on Hacker News

Costura

Self-hosted AI spend attribution tool that pulls actual costs from each provider's billing API so price changes and new models are picked up automatically, including splitting Anthropic costs by token usage.

Last shared
01 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. Costura

    Self-hosted AI spend attribution tool that pulls actual costs from each provider's billing API so price changes and new models are picked up automatically, including splitting Anthropic costs by token usage.

    Posted by @0set0set · Original source ↗

    Story title · @0set0set · · Source ↗

    Show HN: Self-hosted AI spend attribution

    Submitted URL · @0set0set · · Source ↗

    https://demo.costura.ai/overview

    Source text · @0set0set · · Source ↗

    Nope, Costura doesnt calculate token prices. It pulls actual costs from each provider billing API, so price changes and new models are picked up automatically

    Source text · @0set0set · · Source ↗

    Anthropic is a bit tricky since costs arent reported per API key, so I split them based on token usage. Anything unmatched stays as 'unallocated' to keep totals accurate

    Source text · @0set0set · · Source ↗

    I only maintain a small catalog for model metadata. Unknown models still get tracked as 'Other'