New New: Meridian, the company website and growth platform, and Feilun, the AI growth platform View products →

LLM API cost allocation and budget control

AI & cloud platforms For: Engineering and finance teams using LLMs on several clouds Products: TokenTally

Bring the API keys spread over several Alibaba Cloud Model Studio and Tencent Cloud TokenHub accounts together, allocate costs to departments, set budgets and hear about cost anomalies the same day.

The challenge

  • Support, marketing, engineering and data teams each request API keys, spread over several cloud accounts and workspaces.
  • Clouds bill by product, so finance cannot allocate costs to departments and projects.
  • A leaked or misused key is often only noticed when the bill arrives at month end.

The solution

Deploy TokenTally with read-only cloud keys:

  • One view: metadata syncs every 5 minutes and bills every 60 minutes; key-level costs from both clouds are calculated the same way and match the bills.
  • Cost allocation: give keys a cost center and an owner, pivot cost center × model and export.
  • Budgets and alerts: monthly total, department and key budgets; cost anomalies are judged against the average list price of the previous 7 days and reported the same day.
  • Governance: automatically finds keys that are deleted but still billed, over-privileged or idle.

The value

  • What every key, model and department spends, on one page.
  • Daily, weekly and monthly reports are sent automatically with a sign-in-free read-only interactive report, so owners can check any time.
  • Read-only permissions and local storage: nothing in your clouds is changed.

Customer story (example)

Customer: a 40-person AI application company where support, marketing and engineering all call large models.

The problem: Alibaba Cloud Model Studio and Tencent Cloud TokenHub each had several accounts and dozens of API keys, so a key whose usage had soared only showed up on the month-end bill, and finance could not split costs by department.

What they did: both clouds' accounts were connected to TokenTally with read-only keys, every key got a cost center and an owner, and departments got monthly budgets; cost anomaly alerts and daily reports go to the team's notification channel.

  • Spending per department and model is visible every day.
  • Unusual usage is caught the same day instead of on the month-end bill.
  • Finance exports the cost allocation by cost center at month end.

Example: the customer and details are compiled from typical customer needs to show how the product is used, and do not describe a real customer.