# An AI API with automatic fallback that never swaps your model

> Revana falls back automatically: when the provider running your job fails, the same job goes to another provider route for the same model, and you get one job and one charge. The model you named never changes, a job that fails on every route costs nothing, and the charge never goes past the amount held when you submitted or your `max_cost_usd`. Prices as of 2026-11-22.

- Page: https://revana.si/ai-api-fallback

## What happens when a provider fails

- The job moves to another provider route for the same model; the model is never swapped.
- Failed routes cost nothing; if every route fails the job costs $0.
- The charge is the delivering route's price, never above the hold or max_cost_usd.

## Routes (November 2026)

| Model | Routes |
|---|---|
| Seedance 2.5 | 7 |
| Kling 3.0 | 3 |
| Wan 3.0 | 3 |
| Nano Banana Pro | 3 |
| GPT Image 2 | 4 |
| Veo 3.1 | 2 |
| Suno V6 | 1 |

## Request

```bash
# One Idempotency-Key per job, made once: resend with the same $KEY after a timeout, a 429 or a 5xx
KEY=$(uuidgen)
curl https://api.revana.si/v1/generations \
  -H "Authorization: Bearer $REVANA_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $KEY" \
  -d '{
  "model": "seedance-2.5",
  "input": {
    "prompt": "A paper boat drifting down a rainy city gutter, macro shot",
    "resolution": "480p",
    "duration": 5
  },
  "max_cost_usd": 0.45
}'
```

## FAQ

### What is automatic fallback in an AI API?

When the provider running your job fails, refuses or stalls, the API sends the same job to another provider without you resending it. On Revana the fallback always keeps the model you named: only the provider route changes.

### Will Revana ever answer with a different model?

No. You name the model and Revana never swaps it for a cheaper or similar one. If every route for that model fails, the job fails and costs nothing, and you decide what to do next.

### What do I pay when a backup route delivers?

The quote is the price of the first route. If a backup route delivers, the charge is that route's price, never more than the amount held when you submitted, and never more than max_cost_usd when you set it. Routes that failed cost nothing.

### How many routes does a model have?

It differs by model, and each model page shows it. Seedance 2.5 has 7 routes, Nano Banana Pro 3 and Suno V6 1. A model with one route does not fall back: if it fails, you pay nothing and can resend.

### How do I avoid paying twice if I retry?

Send an Idempotency-Key header with every job. Resending the same key after a timeout returns the same job and charges nothing more.

### Does fallback work for chat models too?

Chat requests are passed to the model you name and you pay for the tokens of the answer you get; a request that gets no answer costs nothing. The route counts on this page are for video, image, music and voice models.

