Diffio API pricing
Diffio API pricing, billed per second
Per second of audio or video, 60-second minimum per generation, and a $5 starter credit.
- Diffio 4.7 Flash$5 per hour
- Diffio 4.7 Pro$10 per hour
- Starter credit$5 once, no card
Estimate a recording
- Flash$3.75
- Pro$7.50
Per second, rounded up to the whole second. The $5 credit covers your first $5. Rates updated .
API model rates
| Detail | Diffio 4.7 Flash | 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.
How API billing works
- $5 credit. Every account starts with it, no card needed.
- Per second. Rounded up, 60-second minimum per generation.
- Add credit. $5 to $100 at a time. It does not expire.
- 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, $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). If something went wrong with a generation or a charge, contact support@diffio.ai.
Start shipping audio restoration today
Generate an API key, review the docs, and run your first restoration on the $5 starter credit.