Product · Spend controls
Decide the spend up front.Trace every dollar after.
Set a budget, a concurrency limit and allowed models for each key. It stops at the limit and warns you when it's close. Every call is billed on its own, and one bill splits by key into teams and projects. No monthly fee; pay for what you use.
How to set it up
Three steps to a spending limit
- 01
One key per team
Give each team and each project its own key. Usage and cost are recorded against that key from then on.
- 02
Set the key's limits
Give each key its own budget and concurrency limit, and choose which models it may use.
- 03
Stop at the limit
You're warned when it's close. At the limit, the key's requests stop and nothing more is spent.
Compare
Going direct, and with Firmrock
- Each team has its own accounts, and the bills don't add up at month endOne bill. Each team and project uses its own key, and costs are split automatically.
- One runaway script burns the budget overnightEach key has its own budget and concurrency limit. It stops at the limit and warns you first.
- The bill shows a total, but not where the money wentEvery call is billed on its own, and each charge traces back to a key and a request.
- Errors and retries mean paying for failed calls tooFailed requests are free; you pay only for the call that succeeded.
Bill
One bill, split by key into teams
Each call's cost is recorded against the key that made it. Whichever team or project owns the key, that's where the cost goes.
- Platform team
- $1,284.20
- budget $2,000, 64% used
- Search project
- $967.35
- budget $1,000, nearly used, warned
- Support assistant
- $500.00
- budget $500, stopped at limit
- Data cleanup script
- $88.12
- limited to two models
- Failed requests
- $0.00
- free
Sample bill; team names and numbers are for illustration.
FAQ
About spend controls
What happens at the limit?
That key's requests stop and no further cost is incurred. Other keys keep working.
Am I warned before the limit?
Yes. You're warned when a key is close, so you can decide to raise it or let it stop.
What does the concurrency limit do?
It caps how many requests one key can have in flight at once. A script stuck in a loop can't go past it.
Can I restrict a key to certain models?
Yes. Each key has its own list of allowed models; anything else is refused.
Can I trace where each charge came from?
Yes. Every call is billed on its own, the bill traces to a key and a request, and usage and cost are in the record.
Is there a monthly fee?
No monthly fee; pay for what you use. Failed requests are free.
Start
Open a key and set its limit
One key per team, each with its own budget.