Retrieve a per-model cost and usage breakdown for the authenticated user, including request counts, token usage, total cost, and provider information for every model used.
models object contains:
openai, anthropic, google, deepseek)Enter your API key (starts with 'ek-')
Success
Total API spend across all models (in credits/USD)
12.847
Map of model IDs to their usage statistics
{
"gpt-4o": {
"requests": 342,
"input_tokens": 128450,
"output_tokens": 67230,
"total_cost": 4.215,
"owned_by": "openai"
},
"claude-sonnet-4-20250514": {
"requests": 156,
"input_tokens": 89200,
"output_tokens": 45100,
"total_cost": 3.628,
"owned_by": "anthropic"
}
}
ISO timestamp of the last usage update
"2026-03-02T15:30:00Z"