All Products
Search
Document Center

Alibaba Cloud Model Studio:Automatic Prompt Optimization

Last Updated:Oct 15, 2025

Model Studio provides the automatic prompt optimization feature that can make the models more accurate and robust when performing specific tasks.

Procedure

  1. Go to the Automatic Optimization page.

  2. On the Automatic Optimization page, enter your prompt in the Original Prompt input field.

  3. Click Optimize. The result is displayed in the Optimized Prompt field.

    Important

    The automatic optimization process invokes a model and consumes a specific number of tokens. Because the inputs and outputs are unpredictable, the system cannot estimate the exact number of tokens that are consumed. The actual number is displayed in the lower-right corner of the field.

  4. Click Copy to copy the optimized prompt, or Save as Template to save it as a template.

    To test the template, see Prompt templates.

    image