Skip to main content

Track usage of your own API Key

Add a model using your own API key and costs

For models in the model library, you can use Airia’s Universal Key or your own API key. The Token Consumption Feed will allow you to track spend for both. To configure tracking Token Consumption with your own, follow these steps:

  1. Select the model you would like to add in the Model Library

  2. After configuring credentials, enter the input and output cost / unit according to your contract with the provider

  3. Select Add

API Key Usage

BYOK token consumption tracking

Based on the input and output cost / unit that you entered above the Token Consumption feed will help you manage the spend based on agent executions

Each time your key is used within the execution of an agent a new row will be added to the feed. The Total Spend column allows you to accurately report on the exact amount charged for the execution within an agent.