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

# Pricing Overview

> Pay-as-you-go pricing and where to find live prices.

Services on XHuoAPI are **pay-as-you-go** — no monthly subscription fee.

## Billing currency

* The console displays prices in **USD** for reference
* Actual deductions happen in **Credits**
* The Credits ↔ USD ratio depends on which package you purchased

USD estimate:

$$
\text{USD} = \text{Credits} \times \frac{\text{package.price}}{\text{package.amount}}
$$

Common packages currently convert at roughly **\$0.095215 / Credit**.

## When is billing applied?

| Call type                          | When billed                                             |
| ---------------------------------- | ------------------------------------------------------- |
| Synchronous API (e.g. Chat)        | At response time, by token / character / count          |
| Async task (image / video / audio) | When the task finally reaches `success`                 |
| Task final state `failed`          | Generally not billed (check each service's detail page) |
| Upstream 5xx / gateway timeout     | Not billed                                              |

## Live prices

Pricing varies by service, model, and parameters (resolution, duration, token count). **The console is the single source of truth.**

<Steps>
  <Step title="Log in">
    Open [platform.xhuoapi.ai](https://api.xhuoapi.ai)
  </Step>

  <Step title="Pick a service">
    Choose your target (Midjourney, Suno, Claude, …) under **Services**
  </Step>

  <Step title="See pricing">
    Open the **Pricing** tab on the detail page
  </Step>
</Steps>

<Note>
  This documentation site previously tried to mirror per-category price tables, but model pricing changes too fast. To avoid misleading you, the docs now point only to the console as the live source.
</Note>

## Instance balance vs general balance

* **Instance balance** (Dedicated) — tied to an application created under a specific service; usable only for that service
* **General balance** — shared across all services
* Calls draw from the instance balance first. If the instance application has "Allow Use General Balance" enabled, it falls back to the general balance when the instance balance is exhausted.
* When fully consumed, the API returns `403 used_up` (not 402) — see [Response format](/en/concepts/responses).

## Discounts

Staking \$ACE tokens grants discount tiers. Refer to the console for the current rules and entry points.

## Related

<CardGroup cols={2}>
  <Card title="FAQ — Billing & quota" icon="circle-info" href="/en/faq/billing">
    Credits / USD math and common questions
  </Card>

  <Card title="Response format" icon="brackets-curly" href="/en/concepts/responses">
    Out-of-balance, moderation, and other error codes
  </Card>
</CardGroup>
