Skip to main content

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 the model parameter. If you are still on the hunyuan-v3 group, switch createModel to cloudbase first.

Covered Models​

Modelmodel ParameterContext
Hunyuan hy4-previewhy4-preview1M
Hunyuan hy3hy3256K
DeepSeek-V4.1-Flashdeepseek-v4.1-flash1M

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!