Accessing usage logs
1
Open the console
Log in to console.flatkey.ai and click Usage in the left sidebar.
2
Set a date range
Use the date picker at the top to filter logs by day, week, month, or a custom range. The default view shows the last 7 days.
3
Filter by model or key
Use the Model and API Key dropdowns to focus on a specific model or key. This is useful for comparing costs between models or auditing a specific integration.
What each log entry shows
Understanding costs
Each request shows the actual cost charged, which reflects:- The model’s input and output price (at Flatkey’s discounted rate)
- Your current top-up bonus applied automatically
Monitoring your balance
Your current balance is shown at the top of the Usage page and in the Balance section. When balance drops below a threshold you set, you will receive an email alert. To configure alerts, go to Settings → Notifications.Balance is deducted in real time as requests complete. If a request fails on the provider side, the cost may still be partially deducted depending on how many tokens were processed before the failure.
Exporting logs
To export usage data:- Set your desired date range and filters.
- Click Export in the top-right corner.
- Choose CSV or JSON format.
- The file downloads to your browser.
High-usage alerts
To prevent runaway spend:- Set a monthly spend cap in Settings → Billing — requests are blocked once the cap is reached.
- Use Groups to set per-key or per-application quotas.