Authentication
This endpoint requires a Bearer token:Response
Array of usage entries, most recent first.
Example
cURL
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
GET /v1/payments/usage — returns your inference usage history. Each entry includes model, token counts, cost in micro-USD, and a timestamp.
Authorization: Bearer eigeninference-...
Show entry fields
X-Inference-Job-ID header returned on streaming responses.curl https://api.darkbloom.dev/v1/payments/usage \
-H "Authorization: Bearer eigeninference-..."
{
"usage": [
{
"request_id": "a3f1c2e7-84bb-4d9a-91f3-2b7e6d4a0c18",
"model": "qwen3.5-27b-claude-opus-8bit",
"prompt_tokens": 14,
"completion_tokens": 87,
"cost_micro_usd": 72,
"timestamp": "2025-04-30T14:22:07Z"
},
{
"request_id": "b7d3e9f1-21cc-4a8b-85e2-9c4d1a7f3b22",
"model": "mlx-community/gemma-4-26b-a4b-it-8bit",
"prompt_tokens": 32,
"completion_tokens": 210,
"cost_micro_usd": 44,
"timestamp": "2025-04-30T13:05:41Z"
}
]
}
Was this page helpful?