API · Reliability

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.

What happens when a provider fails

What happens when the provider running a job fails
SetupWhen the provider failsThe model you getWhat you pay
One provider, called directlyThe request errors; you retry, wait or build a second integrationThe same model, once it is backPer that provider's terms
A router that picks a similar modelIt may answer with another modelPossibly a different modelThat other model's price
RevanaThe job moves to another route for the same model by itselfAlways the model you namedOnly the route that delivers; $0 if every route fails

Routes per model

Each model runs on one or more provider routes. The job starts on the first route and moves down the list only when a route fails, so most jobs never see a fallback at all. The model pages show each model's route count.

Provider routes for popular models on Revana, November 2026
モデル種類ルート最低価格
Seedance 2.5video7$0.09 a second
Kling 3.0video3$0.09 a second
Wan 3.0video3$0.045 a second
Nano Banana Proimage3$0.04 an image
GPT Image 2image4$0.03 an image
Veo 3.1video2$0.20 a second
Suno V6music1$0.08 a job

How a fallback is billed

  1. The price is held. When you submit, Revana holds the price of the job from your balance, never more than your max_cost_usd when you set it.
  2. Failed routes cost nothing. A route that errors, refuses or stalls past its deadline is not charged, and the job moves on.
  3. You pay for what is delivered. The finished job shows the exact charge in cost_usd, and whatever was held above it goes back to your balance. If every route fails, the whole hold goes back.
A capped job with an Idempotency-Key
# 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
}'

What you no longer build

Retry loops per provider

No second SDK, no circuit breaker and no status-page polling: one call, and the fallback happens server-side.

Model-swap surprises

Your prompt was tuned for one model; Revana never answers with another. A failure is a clear failure, at $0.

Double charges on retry

An Idempotency-Key makes a resend after a timeout return the same job instead of a second one.

Hand-written spend caps

max_cost_usd on each request is the most that request can ever cost, whichever route runs it.

Every model, its routes and its price are on the models page and the pricing page; the same key also runs the language models and the music and voice models. See also one AI API for video, image, music and chat models.

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.

Fallback you do not have to build

Create a free Revana key and every multi-route model fails over by itself, with one job id and one charge.