- 01
One header
Send x-fuse-user with any id you like (or OpenAI's user field). Use an opaque id, not an email.
- 02
Same cap, applied separately
Set a daily and/or monthly cap per customer. Each id gets its own window.
- 03
Top spenders
The Usage panel ranks customers by spend, with requests and refusals.
app.ts
await client.chat.completions.create(
{ model: "gpt-4.1-mini", messages },
{ headers: { "x-fuse-user": account.id } },
);