Skip to main content

Budget & Cost Control

FleetQ gives you full control over AI spending. Set team-level and project-level budgets, receive alerts before limits are hit, and rely on the platform to automatically pause runaway experiments.

Scenario: A startup sets a €50/month team budget. When 80% is consumed (€40), the team owner receives an email and in-app notification. At 100%, all new experiments and project runs are blocked until the budget is increased or the month resets.

Credit system

1

credit = $0.001 USD

Credits are the internal unit of AI spend. Token costs are converted to credits at inference time using provider-specific pricing tables.

Budget reservations

Before an experiment stage runs, FleetQ reserves the estimated cost with a 1.5× safety multiplier. This prevents overspend when token estimates are imprecise (e.g. when the model generates more output than expected).

After the stage completes, the actual cost is settled — the reservation is released and the exact amount is charged. The difference is returned to your balance.

Reservations use SELECT FOR UPDATE (pessimistic locking) to prevent concurrent experiments from overclaiming the same budget allocation.

Usage counters

In addition to credit-based budgets, FleetQ enforces monthly usage limits for your plan:

Runs

Total experiment and project runs per month.

Outbound sends

Emails, Slack messages, and webhook deliveries per month.

Counters are stored in Redis with atomic Lua increments — preventing TOCTOU races where two concurrent requests both read the counter before either increments it.

Spend alerts

FleetQ checks usage every hour and sends alerts at:

80% threshold

Warning notification. Runs continue but you should review your budget.

100% threshold

Critical notification. New runs are blocked. Increase budget to resume.

Plan structural limits

Beyond credit budgets, plans enforce hard caps on the number of entities you can create. Enterprise plans have custom limits negotiated per team.

Viewing your budget

Check current spend, forecasts, and usage counters via the API:

bash
GET https://fleetq.169.58.89.204.sslip.io/api/v1/budget
Authorization: Bearer YOUR_TOKEN