Skip to content

For AI agents: every API docs page in one plain-text file is at /docs/llms-full.txt, and the documentation index is at /llms.txt. This page is available as Markdown at https://diffio.ai/docs/overview/administration/billing.md, and every docs URL returns Markdown when requested with Accept: text/markdown.

API billing: credits, charges and invoices

Every API account starts with a one time $5 credit. After that you add credit, $5 to $100 at a time, and usage is paid from it. Credit does not expire.

  1. $5Starter creditno payment method needed
  2. $25Add credit$5 to $100 at a time
  3. $15Usagededucted per second
  4. $10Credit leftdoes not expire
Add $25 after the starter credit and use $15 of it: $10 of credit is left. At $0 the API returns 402 until you add credit.

Starter credit and adding credit

Billable seconds per result (rates per model: API pricing, Models)
Media lengthBilledRule
30 s60 s60 second minimum
80 s80 swhole seconds
80.2 s81 srounded up

How does API billing start?

Every API account starts with a one time $5 usage credit, so you can create a key and run generations without a payment method.

Usage is based on the source audio or video duration for each result, rounded up to the next whole second, with a minimum billable duration of 60 seconds per result.

Example: restoring 30 seconds of media bills 60 seconds. From 80 seconds, it bills 80 seconds; from 80.2 seconds, it bills 81 seconds. Each additional result from the same media is metered separately. The model rate is applied to the billable seconds. See the API pricing page for current model rates.

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.

Add credit on the Billing page, $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.

What are the benefits of the Developer tier?

The Developer tier is prepaid, usage based pricing for developers and teams.

  • A $5 starter credit
  • Credit that does not expire
  • Optional automatic top-up
  • Audit logs with 7 day retention

How do I downgrade or cancel?

App and API billing are separate. For your app subscription, open Profile and select Manage app billing. Review the available changes and their effective dates in the billing portal before confirming.

API credit has no subscription to cancel: you pay only for the credit you add. To stop automatic top-up, turn it off on the Billing page.

Understanding the Diffio billing model

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

  • You add $25 of credit.
  • You use $15 of it.
  • $10 of credit is left for later.

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).

Invoices, billing info, and credits

How can I view my current usage and spending in near real time?

Open the Usage page to see your remaining credit and your recent usage, one line per generation.

Where can I find my past invoices and payment history?

Receipts for credit purchases and automatic top-ups are in the billing portal: open the Billing page and select Invoices and receipts. The Billing page also lists your recent credit activity. For app subscription billing, open Profile and select Manage app billing.

Can I change my billing info and payment method?

For API billing, open Billing and select Invoices and receipts: the billing portal is where you update or remove the payment method saved for automatic top-up. For app subscription billing, select Manage app billing on Profile.

What payment methods do you accept?

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

Who charges my card, and is tax added?

API credit and new app subscriptions are sold through Link, Stripe's merchant of record. Link appears with Diffio AI on your card statement and emails your receipts and invoices.

Where your location requires sales tax, VAT, or GST, Link adds it at checkout, on top of the credit or the listed price. Subscriptions and API payment methods set up before November 10, 2026 are billed by Diffio AI directly, as before.

Are there promotional credits or trial offers?

Every new API account receives a one time $5 usage credit. No payment method is needed to use it.

Common billing questions and troubleshooting

What do the 402 billing errors mean?

  1. 402 insufficient_creditYour credit is used up, or cannot cover the file.Add credit on the Billing page; access resumes as soon as the payment completes.

Accounts with card billing: three other 402 codes

  1. 402 needs_payment_methodThe credit is used up, or cannot cover the file, and no payment method is saved.Add a payment method on the Billing page; access resumes once it is saved.
  2. 402 payment_failedA charge failed.Open the billing portal from the Billing page, select Update payment method under Current subscription and choose a card: the open invoice is paid and access resumes. Adding a card under Payment methods alone does not change the card that is charged.
  3. 402 usage_limit_reached$100 of usage is waiting to be billed.Nothing to do: it is charged to your payment method within minutes, and the API continues once that payment completes.

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.

What if I believe there is an error in my bill?

Check your Usage and Billing pages first. If you still believe there is an issue, contact support at support@diffio.ai.

What happens if my payment fails?

A credit purchase that fails at checkout adds no credit. If an automatic top-up payment fails, automatic top-up stops and the Billing page says why; the credit you have left keeps working. Update the payment method in the billing portal, then turn automatic top-up back on.

How is an account with card billing charged?

Accounts that added a card before prepaid credit keep card billing until it is cancelled. After the starter credit, the saved payment method is charged each time unpaid usage reaches $10, and usage below $10 is invoiced at the end of the billing month.

API invoices and receipts, including the charges made each time your usage reached $10, are in the billing portal: open the Billing page and select Manage billing. Accounts with a payment method saved before November 10, 2026 see their invoices on the Billing page itself.

To cancel API card billing, open Billing and select Manage billing, then select Cancel subscription in the billing portal. Billing ends at the end of your billing month, and the account goes back to having no payment method. If the portal shows no Cancel subscription (payment methods saved before November 10, 2026), contact support@diffio.ai.

If a charge fails, new API generations return HTTP 402 with the code payment_failed. Open the billing portal from the Billing page, select Update payment method under Current subscription and choose a card: the open invoice is paid and API access resumes. Adding a card under Payment methods alone does not change the card that is charged. If card billing has already ended and its last invoice is unpaid, select Pay invoice on the Billing page instead. We will email you if an invoice is unpaid.

What should I do if my billing question is not answered here?

Contact our support team at support@diffio.ai.

Report an issue with this page