---
agent:
  instructions: "Search the site by keyword or question. The search API returns Markdown."
  endpoint: "https://platform.invideo.io/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://developers.cloudflare.com/ai-search/how-to/search-for-agents/"
---

# Billing and balance

> Add funds, check your prepaid balance, and see how requests are billed.

invideo Platform is **prepaid**: you add funds in advance and pay only for what you use. There is no subscription. Each **workspace** has a single balance in US dollars, shared by all of its API keys and the console's playground. Funds you add **never expire**.

## How a request is paid

1. When a request arrives, we set aside its estimated cost from your balance.
2. If your balance is $0 or less, or the available amount is less than that estimate, the request is declined with `402 insufficient_balance` and you are not charged.
3. When the request finishes, you are charged its exact price and any unused amount is released. Failed requests are free.

A request priced by its actual cost can end slightly above its estimate, so your balance can dip a little below $0. Your next top-up covers that amount first.

## Adding funds

Owners, admins and Billing members can add funds by card in the console under [Billing](/billing). The minimum and maximum amounts are shown when you add funds. Tax is added at checkout where applicable, and your balance receives the full dollar amount. Cards issued in India are charged in rupees at the day's exchange rate.

**Auto top-up** charges your saved card a set amount whenever your balance falls below a threshold you choose, up to a monthly limit you set. We email you a receipt for every charge. If a charge fails, auto top-up pauses until you add funds manually.

For larger amounts, or to pay by invoice with payment terms, contact us.

## Check the balance: GET /v1/balance

```bash
curl https://platform-api.invideo.io/v1/balance -H "Authorization: Bearer $INVIDEO_API_KEY"
```

```json
{
  "balance_usd": "42.10",
  "available_usd": "39.85",
  "held_usd": "2.25",
  "budgets": [
    { "scope": "workspace", "period": "month", "limit_usd": "100", "spent_usd": "57.9", "resets_at": "2026-12-01T00:00:00Z" }
  ]
}
```

- `balance_usd`: everything you have added, minus everything you have been charged.
- `available_usd`: your balance minus the amount set aside for running requests. A new request must fit within this amount.
- `held_usd`: the amount set aside for requests that are still running.
- `budgets`: each [spend limit](/docs/limits#spend-limits) that applies, with the amount spent in the current period.

All amounts are exact decimal strings.

## 402 insufficient_balance

```json
{
  "error": "insufficient_balance",
  "message": "Your balance is too low for this request. Add funds at https://platform.invideo.io/billing.",
  "balance_usd": "3.10",
  "available_usd": "1.25",
  "needed_usd": "2.40"
}
```

`needed_usd` is the amount this request needs to set aside. The LLM endpoints return the same `insufficient_balance` code with status 402, in their own error format (Anthropic, OpenAI or Gemini). Add funds, or wait for running requests to finish, then retry with the same `Idempotency-Key`.

## Refunds

A refund, or a card dispute you lose, deducts that amount from your balance. If you win a dispute, the amount is credited back.
