Admin: get cost usage¶
Retrieve your account's cost and usage programmatically.
Not available yet
Mango Inference does not expose a public cost/usage endpoint today. The
only paths served under https://api.mangoboost.io/v1 are /v1/models,
/v1/chat/completions, and /v1/messages. See the
API reference. This page is a placeholder for the admin
API and will be filled in when that endpoint ships.
What to use instead¶
| You want | Use |
|---|---|
| Spend and usage for the account | The console. See Usage and cost breakdown. |
| Remaining balance | The console. See Credits and balance. |
| Per-request token counts | The usage object on every API response. See Chat Completions. |
Per-request usage is the one of these you can collect programmatically today:
log usage alongside x-request-id from each response and you can reconstruct
consumption per key, model, or feature without an admin API.
If a cost/usage endpoint is a blocker for you, say so in a Support request or at support@mangoboost.io. That is what prioritizes it.