Dify Cloud Billing#
Overview#
Dify Cloud billing is workspace-scoped: a single subscription governs team member limits, feature access, and usage quotas for every resource in the workspace . Only the workspace owner and admins can manage billing under Settings > Billing .
Plans are documented on the Dify pricing page. The three Cloud tiers are:
| Plan | Who it's for |
|---|---|
| Sandbox | Free; for trying core features |
| Professional | Independent developers and small teams building production apps |
| Team | Medium-sized teams needing collaboration and higher throughput |
Team member caps: Sandbox = 1, Professional = 3, Team = 50 .
AI Credits#
AI Credits are Dify Cloud's built-in token economy. They let you call hosted models from supported providers (OpenAI, Anthropic, Gemini, and others) without supplying your own API key .
Pricing unit β per response, not per token. One AI response = one model call (one input β one output). A response always costs exactly one response unit regardless of token count; the number of credits varies by model, with larger/more capable models costing more . See the pricing page for a per-model credit breakdown.
Sandbox Plan Credits#
New accounts start on the Sandbox plan and receive 200 AI Credits . These are a one-time allocation β they do not renew monthly .
After a paid subscription is cancelled the workspace reverts to the free Sandbox plan at the end of the paid period .
Custom API Keys and Usage Priority#
Your own API key and AI Credits can coexist on the same provider. The Usage Priority setting on each provider card controls which source Dify draws from first :
- Set priority to your key β Dify uses your account key first, falling back to AI Credits when it can't.
- Set priority to AI Credits β AI Credits are consumed first, with your key as fallback.
This lets you, for example, exhaust your Sandbox credits before switching to a paid key, or run your own key and treat credits as a safety net.
For providers that AI Credits don't support, you must supply your own key β credits don't apply .
Managing Subscriptions#
All subscription actions are in Settings > Billing via Stripe :
- Upgrade β takes effect immediately; you pay the prorated difference.
- Downgrade β takes effect at the next billing cycle start.
- Cancel β workspace stays on the current plan through end of period, then drops to Sandbox.
Load Balancing (Professional / Team only)#
On Professional and Team plans you can add multiple API keys to a single model. Dify round-robins requests across them, resting any key that hits a rate limit for one minute before retrying . Adding a key to the pool more than once weights it to receive more traffic .
Dify for Education#
Students, teachers, and educational staff are eligible for the Yearly Professional plan for free through the education discount program. Verification requires an institutional email and is renewed annually.
Verify Education Status#
From Settings > Billing, workspace owners and admins can click Verify Education Status to begin the application flow. This navigates to /education/verify, which validates eligibility and acquires a verification token. After verification succeeds, you're redirected to /education/apply?token=... to complete the application form.
Key References#
| Resource | Link |
|---|---|
| Pricing page (plans, per-model credit costs) | dify.ai/pricing |
| Model Providers doc | model-providers.mdx |
| Billing / Subscription doc | subscription-management.mdx |
| Quick Start (Sandbox intro) | quick-start.mdx |