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

# Pricing

> How each kind of model is billed, what happens when a request fails, and where to check the cost of every call.

## Where to see prices

[Models & pricing](https://refillapi.com/pricing) lists every model with its current price in US dollars. The docs do not copy price numbers, so the pricing page is always the reference.

You pay as you go from a prepaid balance. There is no subscription and no monthly minimum.

## Billing units

| Unit | Models | How it is calculated |
| - | - | - |
| Tokens | Text models, Qwen ASR | Input and output tokens priced separately; some models have a lower price for cached input |
| Seconds | MAGI-2, MiniMax-H3, Wan video | Price per second × video length. MiniMax-H3 and Wan have one price per resolution tier. Reference videos are billed by their length on MiniMax-H3 and Wan 3.0 |
| Images | Qwen-Image 3.0, Z-Image Turbo, Wan 2.7 Image Pro | Price per image × images actually generated |
| Characters | Qwen TTS | Price per 10,000 characters × characters synthesized |

## When a request fails

* **Text:** you pay for the tokens the model actually used. Requests rejected before reaching the model (bad key, unknown model, invalid parameters) cost nothing.
* **Video:** the estimated cost is held when you submit the task. When the task finishes, the hold is settled against the actual length; a failed task is refunded in full automatically.
* **Image:** only successfully generated images are billed.

## Balance vs. key limits

Your wallet balance and the limit on each API key are separate. A key that is disabled, expired or has used up its own limit stops working even when the wallet still has credit — see [API keys](https://docs.refillapi.com/account/api-keys.md).

## Checking a charge

[Usage Logs](https://refillapi.com/usage-logs/common) show the model, time, token or second count, and the exact charge of every call. You can filter by key and export to CSV.


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