> For Diffio's key facts and every Markdown page, see [llms.txt](https://diffio.ai/llms.txt). This page is also available as HTML at https://diffio.ai/api-pricing/.

Diffio API pricing: Flash $5/hour, Pro $10/hour of audio or video, billed per second with a 60-second minimum and a $5 starter credit.

# Diffio API pricing, billed per second

Per second of audio or video, 60-second minimum per generation, and a $5 starter credit.

[Read docs](https://diffio.ai/docs/overview/introduction/)

- Diffio 4.7 Flash $5 per hour
- Diffio 4.7 Pro $10 per hour
- Starter credit $5 once, no card

Estimate a recording

Source length 45 min

- Flash $3.75
- Pro $7.50

Per second, rounded up to the whole second. The $5 credit covers your first $5. Rates updated November 3, 2026.

## API model rates

| Detail | [Diffio 4.7 Flash](https://diffio.ai/api-model-cards/#model-diffio-4.7-flash) | [Diffio 4.7 Pro](https://diffio.ai/api-model-cards/#model-diffio-4.7-pro) |
| --- | --- | --- |
| Best for | Everyday restoration and quick turnaround. | Difficult recordings you want to hear beside Flash. |
| Price per second | $0.001389 | $0.002778 |
| Model ID | `diffio-4.7-flash` | `diffio-4.7-pro` |

**Retired models**

Retired model IDs such as `diffio-2.0` and `diffio-3.5` run on the current hosted model of the same tier (`substituted: true`) and bill the lower of the retired model's last list price and the serving model's rate ($5/hr on Flash, $10/hr on Pro instead of $16/hr). See [retired models](https://diffio.ai/docs/overview/models/#retired-models).

## How API billing works

1. **$5 credit.** Every account starts with it, no card needed.
2. **Per second.** Rounded up, 60-second minimum per generation.
3. **Add credit.** $5 to $100 at a time. It does not expire.
4. **Top up.** Optional: refill automatically when the balance runs low.

**All billing rules**

- Usage is the source audio or video duration of each generation, rounded up to the next whole second.
- Each generation bills at least 60 seconds; every further generation of the same media is metered separately.
- Every API account starts with a one-time $5 usage credit, with no payment method needed.
- After the credit, you add prepaid credit, $5 to $100 at a time, and usage is paid from it. Credit does not expire.
- Automatic top-up is optional: it adds credit from your saved payment method when the balance falls below your threshold.
- Credit is sold through Link, Stripe's merchant of record, which adds tax at checkout where it applies.
- API billing is separate from the web app plans.

## Worked cost examples

| Source length | Billed | Flash | Pro |
| --- | --- | --- | --- |
| 30 s | 1 min | $0.08 | $0.17 |
| 1 min 20 s | 1 min 20 s | $0.11 | $0.22 |
| 10 min | 10 min | $0.83 | $1.67 |
| 45 min | 45 min | $3.75 | $7.50 |

Costs are computed from the rates above and rounded to the cent.

## API pricing questions

### What happens when my $5 credit runs out?

When your credit is used up, new API generations return `HTTP 402` with the code `insufficient_credit` until you add credit. A generation is also refused when your remaining credit cannot cover it: a file longer than the credit allows returns the same 402 with the estimated cost and your remaining credit. Add credit from [Developer billing settings](https://diffio.ai/developers/billing/), $5 to $100 at a time. Checkout accepts credit and debit cards and shows any other payment method available in your country. API access resumes as soon as the payment completes.

### How does the billing cycle work?

There is no billing cycle. Each generation is deducted from your credit when it is billed, and you add credit when you need it, $5 to $100 per purchase. Credit does not expire. Example: add $25 and use $15 of it, and $10 of credit is left for later.

**3 more API pricing questions**

### When is payment withdrawn from my account?

Only when you add credit, or when automatic top-up adds it for you. Automatic top-up is off until you turn it on. When it is on and your balance falls below your threshold ($25 unless you change it), your saved payment method is charged your top-up amount ($25 unless you change it, $5 to $100).

### What payment methods do you accept?

Checkout accepts credit and debit cards, including Visa, MasterCard, American Express, and Discover, and shows any other payment method available in your country.

### How are refunds handled?

Fees are non-refundable except where the law requires otherwise or where we agree in writing (section 7.4 of the [terms of service](https://diffio.ai/terms/#fees-billing-and-refunds)). If something went wrong with a generation or a charge, contact [support@diffio.ai](mailto:support@diffio.ai).

- [Developer quickstart Your first restoration in a few lines](https://diffio.ai/docs/developers/quick-start/)
- [Billing guide](https://diffio.ai/docs/overview/administration/billing/)
- [The API overview](https://diffio.ai/api-overview/)
- [Speech enhancement API comparison](https://diffio.ai/speech-enhancement-api-comparison/)
- [Available model cards](https://diffio.ai/api-model-cards/)

## Start shipping audio restoration today

Generate an API key, review the docs, and run your first restoration on the $5 starter credit.

[Read docs](https://diffio.ai/docs/overview/introduction/)
