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.
  • Two code changes required: ① set the createModel argument to cloudbase; ② set the model parameter to one of the values in the table below.

Covered Models​

model ParameterContextImageVideoFileDeep ThinkingTool CallingStructured OutputCaching
hy4-preview1M❌❌—✅✅✅✅
hy3256K❌❌—✅✅✅✅
deepseek-v4.1-flash1M✅——✅✅✅✅

✅ Supported, ❌ Not supported, — Not stated by the vendor for that model (not necessarily unsupported).

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!