> ## Documentation Index
> Fetch the complete documentation index at: https://docs.1788.love/llms.txt
> Use this file to discover all available pages before exploring further.

# Billing

> How per-second, per-request, and per-token billing work, pre-authorization, settlement, and refunds

> [!NOTE]
>
> **Key points for AI agents**
>
> * Live unit prices are published on the [1788 Price List](https://1788.love/pricing) in CNY.
> * Video has three billing modes: per second (`rate × generated seconds`), per request (fixed per task), and per token (settled by actual usage).
> * Funds are pre-authorized at submission and refunded in full if a task fails, is canceled, or times out.

## Video

| Mode | Formula | Reference video | Finalized when |
| - | - | - | - |
| Per second | Resolution rate × `duration` | Not billed extra | On submission |
| Per request | Fixed price by resolution (independent of duration) | Not billed extra | On submission |
| Per token | Rate per 1M tokens × actual usage (rates differ by resolution and whether reference video is included) | Included in token usage | Estimated pre-hold on submission; reconciled to actual upstream usage on completion |

Check [Seedance overview](https://docs.1788.love/en/video/seedance/overview.md) and the [Price List](https://1788.love/pricing) to see which billing mode applies to each route.

For token-billed models, longer outputs, higher resolutions, and longer/higher-res reference videos consume more tokens. Pass an accurate `reference_video_duration` when attaching reference videos so the pre-hold matches closely; final settlement always follows actual usage.

## Images

Billed per request (one image per request), priced by model and resolution tier (`1K` / `2K` / `4K`). Submit multiple requests concurrently when you need multiple images.

## Large Language Models

Billed per token with separate input and output rates. See the [Price List](https://1788.love/pricing).

## Failures and refunds

* Parameter validation errors: rejected immediately with no charge.
* Generation failure, content moderation rejection, upstream timeout, or cancellation: pre-authorized amount is refunded in full.
* Insufficient balance: rejected at creation; top up your account first.

## Checking usage

Sign in to the [1788 Console](https://1788.love) and open the Logs page to filter every request and charge by time, model, or API key.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.