# Billing & Credits

How JsWorkflows billing, credits, and plan usage work.

## Credits are the billing unit

JsWorkflows uses credits as its usage unit.

Credits are consumed when workflows run. In general, workflows that run more often, use more steps, process more data, or fan out into more branches will consume more credits than simple workflows.

> Note: Test runs triggered from the editor also consume credits and count toward your plan.

For the full plan and pricing breakdown, see [Credits & Plans](/getting-started/credits/).

## AI Assistant beta and billing usage

The AI Assistant is a beta feature available on the **Growth**, **Business**, and **Enterprise** plans.

AI assistant usage also consumes credits and counts toward the same billing usage as workflow execution.

For documentation and knowledge-base questions, use the AI assistant on this documentation website instead of the in-app AI assistant. The documentation-site assistant does not consume your in-app billing credits.

Workflow generation and workflow review are the most credit-intensive assistant actions. A simple workflow-generation request typically uses around **20,000 credits**. Complex or incomplete requests can use much more if the assistant has to go through multiple validation or repair rounds.

> Caution: For complex workflow setup, monitor AI assistant usage carefully. If the workflow is complex or high-stakes, contact support instead of relying on repeated generation retries.

## How billing works

- Your base plan is billed through Shopify.
- Paid plans include a monthly credit allowance.
- On paid plans, included credits reset at the end of each billing cycle.
- Unused paid-plan credits do not roll over to the next cycle.

## Free plan behavior

The Free plan works differently from paid plans:

- it includes 10,000 credits
- it has no overage
- its credits do not reset monthly
- once the credit limit is reached, new workflow triggers are blocked until you upgrade

## Overage on paid plans

If you exceed the included credits on a paid plan:

- additional usage is billed as overage
- the overage rate depends on your plan
- overage is capped per billing cycle
- workflows continue running while overage billing is available

See [Credits & Plans](/getting-started/credits/) for current included credits, overage rates, and caps.

## View usage and manage your subscription

Go to **Plans** in the app to view:

- your current plan
- billing-cycle dates
- credits used this cycle
- credits remaining in the current plan allowance
- estimated overage and bill for paid plans
- subscription status

## Cancelling or downgrading

You manage plan changes from **Plans** in the app.

If you cancel a paid subscription:

- the current paid plan remains active until the end of the billing period
- the app is then downgraded to the Free plan
- future usage follows the Free plan limits unless you subscribe again

## Need more detail?

Use these pages together:

- [Credits & Plans](/getting-started/credits/) for plan sizing, pricing, and credit behavior
- [Templates](/templates/) to understand which templates are heavier operationally and may consume more credits

> Tip: If you are unsure which plan fits your store, start with a lower plan and monitor real usage in **Plans**. Actual workflow behavior is a better guide than estimating from trigger count alone.