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
createModelargument tocloudbase; ② set themodelparameter to one of the values in the table below.
Covered Models
model Parameter | Context | Image | Video | File | Deep Thinking | Tool Calling | Structured Output | Caching |
|---|---|---|---|---|---|---|---|---|
hy4-preview | 1M | ❌ | ❌ | — | ✅ | ✅ | ✅ | ✅ |
hy3 | 256K | ❌ | ❌ | — | ✅ | ✅ | ✅ | ✅ |
deepseek-v4.1-flash | 1M | ✅ | — | — | ✅ | ✅ | ✅ | ✅ |
✅ 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!