
Previously, AI credits were held at the agency account level. Duda's terms say credits are assigned to the account for its authorized users, and the Vibe page said client-controlled credits were coming soon, allowing agencies to give clients their own credits to manage and resell. The wallet API brings that feature to the API.
The update says API access comes with the Custom account plan. This post explains the limits and gaps in Duda's developer docs that the announcement leaves out, so you know what to check before building.
What is new
- Create a Vibe project from a prompt through the API, for example during client onboarding.
- Create a client wallet with a recurring monthly allowance, a one-time top-up, or both, then assign it to a client and add or remove credits.
- Webhooks at 80%, 95% and 100% of a wallet used. The three thresholds are fixed and cannot be configured.
- One client per wallet and one wallet per client, so a wallet cannot be shared.
- Pricing and selling of credits stays in your own product and checkout.
Taken from the official update: duda.co [1]
What the project-creation call needs
Duda suggests using the business details a client provides at signup in the call, so the first project is ready for the client.
Fact checked on 3 Dec 2026 against duda.co [1]
The developer reference lists an AI site generation endpoint, POST https://api.duda.co/api/async-tasks/v2/generate-site-with-ai. The endpoint runs Duda's AI planner using your prompt, then creates the site and its pages. The reference does not explicitly identify the result as a Vibe project, so confirm in the docs whether this is the call to use in your onboarding flow.
Fact checked on 3 Dec 2026 against developer.duda.co [8]
The endpoint requires two inputs: business_data, an object, and instructions, a string. Its page does not specify which fields business_data must include. Because the call is asynchronous, it appears under Async Site Tasks, and you check its progress using a task ID. Your system should wait for the task to finish before telling the client the project is ready.
Fact checked on 3 Dec 2026 against developer.duda.co [8], developer.duda.co [9]

How client wallets limit what each client can use
A client wallet sets a credit limit for one client. The client's usage still comes from your agency account's monthly AI credit allowance, making the wallet a cap on a portion of your pool rather than a separate supply of credits.
Fact checked on 3 Dec 2026 against duda.co [1]
A wallet can include a recurring allowance, a one-time top-up, or both. Neither balance can be negative, each can have no more than two decimal places, and each is capped at 99999999.99. The API supports one client per wallet and one wallet per client, so each client you want to limit needs a separate wallet.
Fact checked on 3 Dec 2026 against duda.co [1], developer.duda.co [3], developer.duda.co [4]
Duda's webhook documentation says a wallet that is 100% used has no credits left. It identifies the assigned wallet as the client's credit source and says clients without wallet access cannot start an AI action in the editor. It does not describe an automatic fallback to the agency's shared pool. The documentation does not clearly state what a client with an assigned but empty wallet can still do, so test this with a dummy client before selling credits.
Fact checked on 3 Dec 2026 against developer.duda.co [2], developer.duda.co [6], developer.duda.co [7]
Webhooks, credentials and the Custom plan
Client wallet webhooks trigger when a client has used 80%, 95% and 100% of the wallet. Duda's docs say these thresholds are fixed, so any reminder, upsell or lockout message must be built around those three points.
Fact checked on 3 Dec 2026 against developer.duda.co [2]
Find API credentials in the dashboard under Business Tools > API Access. The update states that API access comes with the Custom account plan.
Fact checked on 3 Dec 2026 against developer.duda.co [5], duda.co [1]
That plan detail affects how to interpret Duda's published credit numbers. The pricing page lists 150 monthly AI credits for the Basic, Team, Agency and White Label plans, and a custom allocation for Custom. Published Vibe projects add 20 credits to the recurring monthly allowance, but Duda's pricing FAQ excludes Custom or published projects bundled with the account plan from that addition. Therefore, the 150 figure is not the pool your wallets draw from if you are on Custom.
Fact checked on 3 Dec 2026 against duda.co [12]
Duda leaves the commercial details to you. You decide how to package and price AI credits, including paid top-ups through your own product and checkout.
Fact checked on 3 Dec 2026 against duda.co [1]
What the official notes do not say
- The update does not say whether the API stops you from setting wallet allowances that add up to more than your agency's own monthly credits.
- The update does not say which existing feature or workflow these APIs replace.
- It does not state a price for API access or for AI credits, so margins on resold top-ups cannot be worked out from it.
- Duda's developer docs do not explicitly state what a client can do when an assigned wallet reaches zero, beyond saying it has no credits remaining.
How it helps: a developer who maintains a client portal for an agency and now has to add per-client AI limits
The task. Create capped AI wallets for each client already in the portal
- Get API credentials in the dashboard under Business Tools > API Access, which needs the Custom account plan.
- Create one wallet for each client, because the API allows one client per wallet and one wallet per client.
- Set each recurring allowance and any one-time top-up as a non-negative number with at most two decimal places and no more than 99999999.99.
- Assign each wallet to its client.
- Write three separate reminder messages for the 80%, 95% and 100% webhooks, because those thresholds are fixed and cannot be changed.
- Add credits to a wallet when a client buys a top-up, because the wallet is the client's credit source and the docs describe no automatic fallback to the shared pool.
The result. Each client gets an individual cap and reminders, while all usage still counts toward the agency's single monthly allowance.
Fact checked on 3 Dec 2026 against duda.co [1], developer.duda.co [2], developer.duda.co [3], developer.duda.co [4], developer.duda.co [5], developer.duda.co [7]
Other ways to use it
Duda leaves pricing up to you and does not publish an AI credit price in this update, so calculate your cost per credit from your plan before setting a top-up price. Each wallet still draws from your account's monthly allowance, so when a client uses the entire wallet, the credits come out of your budget.
Fact checked on 3 Dec 2026 against duda.co [1]
Related nvudev guides
Sources
- https://www.duda.co/product-updates/automate-vibe-project-creation-and-manage-client-ai-credits-via-api (official update)
- https://developer.duda.co/docs/webhooks-ai-credits-reference
- https://developer.duda.co/reference/ai-credits-create-wallet
- https://developer.duda.co/reference/ai-credits-assign-account
- https://developer.duda.co/docs/partner-api-introduction
- https://developer.duda.co/docs/dudas-mcp
- https://developer.duda.co/reference/ai-credits-unassign-account
- https://developer.duda.co/reference/async-site-tasks-generate-site-with-ai-v2
- https://developer.duda.co/docs/how-to-generate-sites-with-ai
- https://www.duda.co/legal/product-terms
- https://www.duda.co/Vibe
- https://www.duda.co/pricing
Facts in this article were checked against these sources on 3 Dec 2026. Product details change, so check the official page before you rely on them.
