Usage Tracking
Monitor token consumption and infrastructure costs.
SkyKoi tracks usage across multiple dimensions. Token usage is the primary cost driver.
Metrics Tracked
- •Input tokens — Tokens sent to Claude Opus 4.6 via Bedrock (workspace context + conversation history + tool results)
- •Output tokens — Tokens generated by the model (responses + tool calls)
- •API calls — SkyKoi platform API requests
- •Compute hours — EC2 instance running time
Checking Usage
View usage in the Dashboard → Usage page or via the billing API:
bash
curl https://api.skykoi.com/v1/billing/usage \
-H "Authorization: Bearer sk_live_your_api_key"json
{
"data": [
{ "type": "TOKEN", "label": "Tokens", "used": 2450000, "limit": 10000000, "percentage": 24.5 },
{ "type": "API_CALL", "label": "API Calls", "used": 450, "limit": 10000, "percentage": 4.5 },
{ "type": "COMPUTE_HOURS", "label": "Compute", "used": 720, "limit": null, "percentage": null }
],
"period": { "start": "2026-02-01", "end": "2026-02-28" },
"plan": "PRO"
}