All Products
Search
Document Center

Alibaba Cloud Model Studio:Automatic Prompt Optimization

Last Updated:Mar 15, 2026

Automatic prompt optimization makes models more accurate and robust for specific tasks.

Procedure

  1. Go to the Automatic Optimization page.

  2. Enter your prompt in the Original Prompt input field.

  3. Click Optimize. The optimized prompt appears in the Optimized Prompt field.

    Important

    Automatic optimization invokes the model and consumes tokens. Because inputs and outputs are unpredictable, the system cannot estimate token usage. The actual count 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 it, see Prompt template overview.

    image