Governance Notice on the Call Sources of the AI Resource Pack in the Mini Program Growth Plan
Since the Special Governance Notice on the Usage Scope of the "Mini Program Growth Plan AI Resource Pack" was published, the platform has adjusted the deduction logic and taken action against a number of violating accounts. Recent checks, however, show that some developers still consume the Growth Plan free quota through calls not initiated by the mini program, such as calling a CloudBase Run service directly from a web page, a script, or a third-party system, or calling models in AI tools. To further regulate usage, the call sources are tightened as follows.
Allowed Sources
The "Mini Program Growth Plan" AI Resource Pack can only be used from the following three sources:
| Allowed source | Call method | Consumes the Growth Plan free quota |
|---|---|---|
| Mini program base library | Call models from the mini program through wx.cloud.extend.AI | ✅ Yes |
| Mini program calling a cloud function | The cloud function calls the model through wx-server-sdk or @cloudbase/node-sdk | ✅ Yes |
| Mini program calling CloudBase Run | The CloudBase Run service calls the model through @cloudbase/node-sdk or @cloudbase/js-sdk | ✅ Yes |
| CloudBase console | Use AI capabilities directly in the CloudBase console | ✅ Yes |
Key requirement: cloud functions and CloudBase Run services must be called by the mini program. The following are not allowed sources and no longer consume the Growth Plan free quota:
| Non-allowed source | Handling |
|---|---|
| A CloudBase Run service is called by non-mini-program sources such as web pages, scripts, or third-party systems | ❌ Deducted from your plan quota instead |
| CloudBase web SDK, third-party APIs, direct HTTP calls, AI tools (WorkBuddy, CodeBuddy, Claude Desktop, Codex, etc.) | ❌ Deducted from your plan quota instead |
New versions of wx-server-sdk, @cloudbase/js-sdk, and @cloudbase/node-sdk will be released later. Please watch for the version updates and upgrade to the latest versions in time.
"Deducted from your plan quota" means your plan must be a Resource-Point Plan. If you are still on a non-Resource-Point plan (such as a quota-based plan), calls will fail directly. Please upgrade to a Resource-Point Plan first.
Request a Higher Limit When Concurrency Is Not Enough
If you encounter the EXCEED_CONCURRENT_REQUEST_LIMIT error code, the concurrency of the environment is fully occupied. You can mitigate it as follows:
- Add retry logic: catch the error code and retry after a short wait instead of failing all requests at once.
- Throttle on the client side: queue or throttle user actions in the mini program instead of firing several requests at once.
- Switch to another available model: model resource pools are independent, so you can switch to another enabled model.
If the limit genuinely cannot meet the real business needs of your mini program (for example, you have a stable DAU and clear business peaks), scan the WeCom QR code below to contact us and provide the following information. The limit will be raised appropriately after verification:
- The mini program AppID and the corresponding CloudBase environment ID
- The main features of the mini program and how the AI capabilities are used
- Actual DAU, AI request volume, and peak concurrency
- The concurrency value you need
Please describe your business accurately. The platform cross-checks the statement against the mini program's real traffic data. Requests based on false statements, or accounts reselling the quota, will be rejected and handled according to the measures below.
Enforcement Measures
- Tighter deduction logic: calls from sources other than those allowed above are no longer deducted from the Growth Plan free quota but from your plan quota.
- Suspension of resource pack access: accounts that harvest the free quota across multiple environments or mini programs, or provide the quota to external users, will have their AI Resource Pack access suspended depending on the severity.
- Linked accounts reviewed together: other mini programs under the same administrator are reviewed as well; in serious cases, the administrator is barred from applying for the "Mini Program Growth Plan" again.
The Growth Plan AI Resource Pack is valid for 6 months. If it expires before the end of the validity period, it is always because WeChat risk control was triggered. Sign in to the WeChat Official Account Platform and check the in-site messages for the specific reason.
Migration Guide
- Check who calls your cloud functions and CloudBase Run services: make sure the requests really come from the mini program. If a CloudBase Run service is also called by web pages, scripts, or third-party systems, those calls no longer consume the free quota. Route them through the mini program calling a cloud function or CloudBase Run service instead.
- Remove web SDK and direct HTTP calls: calls from the browser and direct HTTP requests are not allowed sources. Change them to mini program → cloud function / CloudBase Run → model.
- Nothing to change for the base library and console: calls through
wx.cloud.extend.AIand the CloudBase console still consume the free quota. - Confirm your plan type: calls from sources that are not allowed are deducted from your plan quota, so make sure your plan is a Resource-Point Plan to avoid failures.
- Review image generation calls too: the image generation resource pack follows the same source requirements. See the Mini Program Growth Plan User Guide.
Thank you for your support and understanding of CloudBase! If you have any questions, feel free to ask in the CloudBase Community, or contact us via the WeCom QR code above, and we will verify and handle it as soon as possible.