Notice on New Models hy4-preview and deepseek-v4.1-flash in the Mini Program Growth Plan
The AI Resource Pack gifted by the Mini Program Growth Plan now covers two more models: hy4-preview and deepseek-v4.1-flash. Together with the existing hy3, three text models can currently consume the gifted quota.
- No enablement required: none of the three models needs to be enabled in the CloudBase console — call them directly.
- Automatic deduction: when called from an allowed source (mini program, CloudBase server-side, CloudBase console), Token usage is deducted from the gifted AI Resource Pack automatically, with no extra configuration.
- Code changes required: keep
ai.createModel("cloudbase")as is and only change themodelparameter. If you are still on thehunyuan-v3group, switchcreateModeltocloudbasefirst.
Covered Models
| Model | model Parameter | Context |
|---|---|---|
| Hunyuan hy4-preview | hy4-preview | 1M |
| Hunyuan hy3 | hy3 | 256K |
| DeepSeek-V4.1-Flash | deepseek-v4.1-flash | 1M |
Code Example
const model = ai.createModel("cloudbase");
const res = await model.invoke({
model: "deepseek-v4.1-flash",
messages: [{ role: "user", content: "Hello" }],
});
For usage details, see the Mini Program Growth Plan User Guide. For the allowed scope of the quota, see the Special Governance Announcement.
Thank you for your support and understanding! If you have any questions, please visit the CloudBase Community. We will address your inquiries as soon as possible!