ospalabs
See where it goes · New

Which part of your product costs the most?

Search, summaries, the chat assistant, the nightly job: each has a different cost and a different value. One header lets you see them separately.

  1. 01

    Any label

    Up to 64 characters of letters, digits and . _ : @ = / + -. feature=search, team=growth, job/nightly.

  2. 02

    Alongside customers

    Combine with x-fuse-user to see cost per feature and per customer.

  3. 03

    In the export

    The tag is a column in the CSV, ready for your own reporting.

app.ts
await client.chat.completions.create(
  { model: "gpt-4.1-mini", messages },
  { headers: { "x-fuse-tag": "feature=search" } },
);

Questions

What happens with an invalid tag?
The request gets 400 invalid_tag, so typos show up immediately instead of silently splitting your data.