# Do I get my Gems back when a generation fails?

Source: https://www.mage.space/help/refunds/failed-generation-gems

> Yes. Mage refunds Gems automatically when a generation fails, times out, or is blocked by an outside provider. Cancelled generations are not refunded.

Yes. Whenever a Gem-paid generation fails, times out, or is refused by an outside model provider, Mage refunds those Gems automatically. You don’t need to contact support.

Refunded Gems return to the exact bucket they came from and keep their original expiration date.

## When Gems are refunded vs. kept

| What happened | Your Gems |
| --- | --- |
| Generation failed | Refunded automatically |
| Generation timed out | Refunded automatically |
| Blocked by outside model provider | Refunded automatically |
| Source video couldn’t be prepared | Refunded automatically |
| Not enough Gems in your balance | Nothing charged |
| You cancelled the generation | Not refunded |
| Finished output blocked by Mage content rules | Not refunded |

## Checking your refund

The failed generation card in **History** confirms that your Gems were refunded. You can also view every refund line item under [Settings](https://www.mage.space/settings) → **Gems**.

## Unlimited, API, and MCP

Unlimited generations don’t spend Gems, so just retry if one fails. API and MCP requests follow the same refund rules as the web app. See [API billing docs](https://docs.mage.space/api/billing).

## Common questions

### My generation failed, but I don’t see a refund. What should I do?

Click **Copy the run ID** on the failed card in History and email that ID to [mage@mage.space](mailto:mage@mage.space).

### Does retrying charge Gems again?

Yes. Each new generation is charged when it starts, and refunded if it fails.
