FAQ & Troubleshooting
This feature is only available in paid plans. Learn More
Missing something? Email support@unlayer.com or use the in-product chat in Console.
Pricing & credits
How much does it cost?
AI uses one workspace-level credit bucket. An AI Credit is a cost-based usage unit, not a model token or a fixed price per edit. A short text request can still use hundreds of credits when it processes substantial design context or needs more model work. Input, output, model choice, caching, and retries all affect the total; measure representative workflows before setting user allowances. See what affects cost.
Eligible workspaces see a one-time welcome offer in Billing. It appears only when the current plan, subscription status, and AI feature eligibility qualify; current Free and legacy plans do not qualify. Eligibility to buy a credit pack is separate. See Pricing.
Can I get a surprise bill if my users go heavy on AI?
On a capped workspace, Unlayer stops new generations when the workspace reaches its available credit allowance. By default the controls remain visible and show an exhaustion message; a project can instead hide them. Grandfathered uncapped workspaces continue to meter usage without pausing AI or creating overage charges. Unlayer does not purchase another credit pack in response to an AI request; the only automatic purchase is the opt-in automatic top-up, which stays within the budget per period you set. See When credits reach zero.
How do I track what my users ask the assistant?
Subscribe to the AI lifecycle callbacks from your host app and forward the
events to your analytics pipeline. ai:assistant:on:request carries the
prompt and target scope; after it fires, the corresponding
ai:assistant:on:success, :on:error, or :on:cancel callback
carries the outcome. Success and error events may include durationMs; to cover
every turn, measure elapsed time from the matching request event. Pre-request UI
choices, such as declining Template Importer replacement confirmation, emit no
lifecycle callback.
Each emitted event also carries the projectId, workspaceId, and identified
end-user (from
End-User Identification), so per-user
analytics and support correlation can use the event payload. Callbacks are
after-the-fact notifications and cannot authorize or prevent an AI request, so
enforce free-tier limits and other access rules in your backend. Do not use
callbacks as a billing ledger: production success callbacks omit per-turn
credit usage. A structured exhaustion error can include the current limit state,
but it is not a complete usage record. Use the
AI Credits API and webhooks for billable usage.
For a worked example, see
Events & Callbacks → Common use case: logging prompts & per-user analytics.
Can I read credit usage and build my own billing on top of it?
Yes. The server-side AI Credits API and webhooks provide workspace balances, project and end-user breakdowns, alert thresholds, and signed usage events.
Why does the chat say I'm out of credits in my dev project?
Every project in a workspace shares the same usage bucket, so dev and production projects contribute to the same pool. There is no separate unmetered dev tier. If Billing offers the 5,000-credit welcome bonus, someone with billing access must claim it explicitly; the card shows when it expires. The grant does not unlock features that the plan excludes, and eligibility to claim it is separate from eligibility to buy a paid credit pack. Grandfathered uncapped workspaces are not paused by their metered AI usage. See Reset and expiration.