On this page
What it is
AI cost, or FinOps for AI, is the practice of measuring, attributing and capping what you spend on calls to AI models, by key, person, model and project, instead of getting a single unowned total on the provider invoice. It covers budgets with alerts, blocking before the spend happens and savings recommendations that a person accepts or rejects.
How AIUBY approaches it
At AIUBY, every model call goes through the AI Gateway and becomes a usage row with the workspace, the key, the provider, the model, input and output tokens, latency and cost. No column stores the prompt or the response text.
The Gateway decides before calling the provider and denies when configuration is missing: without prepaid credit, without a workspace budget or with a rule exceeded, the call does not go out. Budgets and rules alert at 50, 80 and 100% of the amount.
Cost Management combines that usage with cloud costs (AWS, GCP, OpenAI and Anthropic through their cost APIs) and recommends savings, such as an oversized model or a bloated prompt, always with human approval.
Blog articles
Documentation
The documentation and the glossary are in Portuguese for now.
Products and pages
Glossary terms
Frequently asked questions
- What does AIUBY record for each AI call?
- The workspace, the calling key, the provider, the model, input and output tokens, latency and cost. The prompt and response text are not stored: metering knows how much it cost, not what was said.
- Can spending go over the budget?
- The Gateway decides before calling the provider. Without prepaid credit the response is 402 insufficient_credit, without a workspace budget it is 403 budget_not_configured and, with a rule exceeded, 429 budget_exceeded.
- Do savings recommendations switch the model on their own?
- No. A model switch is flagged as depending on evaluation and only applies after the owner accepts it. After acceptance, the platform compares cost per call before and after, and realized savings can come out negative.
- Are cloud costs included in the same view?
- Yes. Cost Management reads AWS and GCP billing, OpenAI and Anthropic costs through each cost API, or a FOCUS CSV. Only usage that goes through the AI Gateway is metered call by call.