# Balance & usage — Dizo API

`GET https://api.dizo.ai/v1/billing`

Balance, this month's spend, cap, refill settings and per-key usage.

Agents should check this before large jobs and stop if spend is near the cap.

**Cost:** Free. Charged: never.
**MCP tool:** `dizo_balance` on https://mcp.dizo.ai/mcp

## Parameters
None.

## Example response
```json
{
  "balance_credits": 48211,
  "month": {
    "spent_usd": 640,
    "cap_usd": 2000,
    "credits_used": 51780
  },
  "auto_refill": {
    "enabled": true,
    "threshold_credits": 5000,
    "amount_usd": 500
  },
  "keys": [
    {
      "name": "sdr-agent",
      "month_credits_used": 9400,
      "month_cap_credits": 20000
    }
  ]
}
```

## cURL
```bash
curl https://api.dizo.ai/v1/billing \
  -H "Authorization: Bearer $DIZO_API_KEY"
```
