Skip to main content

Model Evaluation

Model evaluation is a model capability assessment feature provided by Model Studio. It supports two methods, custom evaluation and baseline evaluation, and evaluation targets cover text generation and multimodal models. Baseline evaluation has a built-in public standard baseline library covering five major categories (general knowledge, math, code, contextual reasoning, and domain-specific) plus the visual understanding modality, helping you score and compare model inference results, choose the optimal model, or verify fine-tuning effects.

Model Evaluation Overview

Model evaluation is a model capability assessment feature provided by Model Studio. It supports two methods, custom evaluation and baseline evaluation, which score and compare model inference results based on evaluation dimensions to generate evaluation reports and leaderboards. You can use a preset model or a fine-tuned model as the evaluation target to quantify model performance and support model selection decisions. Evaluation targets support text generation models as well as multimodal models such as visual understanding, text-to-image, image-to-image, and image-to-video. Custom evaluation sets support two text formats, single-turn (Prompt/Completion) and multi-turn conversation (ChatML), as well as multimodal scenarios such as visual understanding, text-to-image, image-to-image, and image-to-video (first frame/first and last frames). Evaluation results support Pass@K statistics based on multiple sampling rounds and classified export based on bucketing rules. For more feature introductions, see Model Evaluation Product Overview.

Scenarios

  • Model selection comparison: Evaluate multiple candidate models using the same evaluation dataset and dimensions, and compare overall scores and pass rates horizontally through the leaderboard to drive model selection decisions with data.
  • Fine-tuning effect verification: Run evaluations before and after model fine-tuning and compare score changes to quantify the capability gains brought by fine-tuning. For fine-tuning operations, see Model Fine-tuning.
  • Quantitative capability assessment: Generate evaluation reports containing overall scores, pass rates, and score distributions to provide objective data support for team collaboration and management reporting.
  • Continuous quality monitoring: Establish a regular evaluation mechanism to track model performance trends under the same evaluation conditions and detect model capability degradation in a timely manner.
  • Hard case mining and data backflow: Perform multiple inference runs on the same sample to compute Pass@K, filter hard samples by result bucketing, and backflow them as platform datasets for targeted fine-tuning.

Custom Evaluation and Baseline Evaluation

Model evaluation on Model Studio supports two evaluation methods: custom evaluation based on business outcomes (evaluating with your datasets and custom dimensions) and baseline evaluation based on general model capabilities (quickly evaluating a model's basic capabilities with public standard datasets). Custom evaluation uses your datasets and custom dimensions for evaluation, and supports the following three scoring methods:
  • LLM evaluation (Automatic Evaluation): A judge model (such as Qwen-Max) scores the evaluated model's responses. Numeric dimensions output an integer score within the scoring range, and categorical dimensions output Pass/Fail labels. Suitable for scenarios that require semantic understanding, such as Q&A quality and content safety.
  • Rule-based evaluation (Automated Metrics): Scores are computed directly by algorithms, without a judge model. String matching checks whether the output exactly matches the reference answer, and text similarity is computed using algorithms such as ROUGE, BLEU, and Cosine. Suitable for scenarios with deterministic criteria, such as translation, summarization, and Function Calling.
  • Manual Evaluation (Manual Annotation): Humans review model inference results one by one and annotate Pass/Fail labels. Suitable for scenarios that machines can hardly evaluate accurately, such as creative writing and professional domain judgment.
When the task type selected when creating an evaluation task (for more information, see Create Custom Evaluation Task) is visual understanding, text-to-image, image-to-image, or image-to-video (first frame/first and last frames), custom evaluation currently supports only manual evaluation dimensions; LLM evaluation and rule-based evaluation are coming soon.
Baseline evaluation has a built-in library of 13 text baselines covering five major categories (general knowledge, math, code, contextual reasoning, and domain-specific), plus 4 multimodal baselines for the visual understanding modality (CMMMU, and 3 option settings of MMMU-Pro), to quickly evaluate a model's basic capabilities. It is available only in the Beijing region. For more information, see Create Baseline Evaluation Task. The two evaluation methods are compared as follows:

Comparison item

Custom Evaluation

Baseline Evaluation

Data Source

User datasets or inference result sets

Public standard datasets (platform preset)

Dimension

Custom Creation

System preset baseline library (13 text baselines in 5 categories + 4 visual understanding baselines, some support sub-dimension selection)

Scoring method

AI evaluation / Rule-based evaluation / Manual Annotation

Automatic system scoring

Result download

Supported

Supported

Available regions

All regions

Beijing region only

Evaluation Workflow and Key Terms

The end-to-end evaluation workflow consists of four stages: prepare the dataset (upload evaluation set type data in the data management module) → create evaluation dimensions (define scoring criteria and methods) → create an evaluation task (select models, and associate datasets and dimensions) → view results (analyze score reports, optionally adding them to the leaderboard for comparison). Before you start, distinguish two key concepts: the Scoring Prompt is configured on the evaluation dimension and instructs the judge model on how to score the evaluated model's responses. The System Prompt is configured on the evaluation task and sets the role or behavioral guidelines for the evaluated model, and can usually be left empty. The two differ in their target and fee attribution.

Getting Started

This section guides you through your first model evaluation via the shortest path. Each step provides the console navigation path and the minimal configuration of key form fields. After completing the following four steps, you will obtain an evaluation report containing overall scores and pass rates. The top bar of the console page displays the current workspace (switchable), region (China (Beijing) by default), and the Return to Old Version entry. The evaluation methods available vary by region (for example, baseline evaluation is available only in the Beijing region). Prerequisites
  • An Alibaba Cloud Bailian account has been activated, and you can access the model evaluation feature via the Bailian console.
  • An evaluation dataset has been prepared: upload data of the evaluation set (EvaluationSet) type in the data management module. The sample format can be Text Generation (prompt&completion) (single turn, with Prompt and Completion columns) or Text Generation (ChatML-messages) (multi-turn); either format works for this quick start. When evaluating multimodal models, you must upload a multimodal evaluation set for the corresponding scenario (visual understanding, text-to-image, image-to-image, I2V) as a Zip archive. For the field structure, see Fine-tuning data upload rules - evaluation set format.
Procedure
  1. Create an evaluation dimension: In the left navigation pane of the console, choose Model Evaluation, switch to the Dimension tab, click Create Evaluation Dimension, and select + Create custom evaluation dimension in the dialog box. Minimal configuration: set Dimension type to LLM evaluation - numeric, select Qwen-Max as the judge model, keep the score range at 0-5, set the pass threshold to 3, and keep the default Prompt template. For detailed configuration, see Create evaluation dimensions.
  2. Create an evaluation task: Switch to the Evaluation Task tab, click Create Evaluation Task, set the evaluation method to Custom, and keep the task type as Text Generation. Minimal configuration: select the model to evaluate, set the data source to evaluation dataset and specify the uploaded dataset, associate the dimension created in the previous step, keep the default concurrency and inference count per sample, and keep leaderboard participation off. After confirmation, click Evaluate. For detailed configuration, see Create a custom evaluation task.
  3. Wait for the evaluation to complete: After submission, the task enters the Pending state and then automatically transitions to In Progress. The evaluation duration depends on the data volume and model inference speed; 50 data entries usually finish within minutes. After completion, you can view or annotate the evaluation results, or build an evaluation leaderboard to compare different models under the same dimension.
  4. View evaluation results: After the task is completed, click the task name to open the details page. On the Task Overview tab, view the task basic information and overall metrics; on the Case Analysis tab, view the input, output, and dimension scores of each sample. For detailed interpretation, see View evaluation results.

Manage Evaluation Tasks

On the Model Evaluation page of the Bailian console, you can perform day-to-day management of evaluation tasks, evaluation dimensions, and the leaderboard. The reversibility and impact scope of each management operation are shown in the following table. Confirm the impact before performing an irreversible operation.

Actions

Reversibility

Impact

Stop task

Irreversible

Evaluated data is retained; the task cannot resume

Delete task

Irreversible

The task and its results are permanently deleted

Rename

Reversible

Only affects the display name

Remove task from leaderboard

Reversible

Can be re-added

Delete leaderboard

Irreversible

Does not affect evaluation tasks that are already linked

Delete evaluation dimension

Irreversible

If the leaderboard's bound dimensions are empty, new task creation will be blocked

Evaluation Task Management

  • Stop task: Only available when the task is in progress; the operation is irreversible. After stopping, the partially evaluated data is retained but cannot resume, and the task's score column in the leaderboard shows a dash.
  • Delete task: Only available when the task is in one of three terminal states: evaluation completed, evaluation stopped, or evaluation failed; the operation is irreversible. The task and its evaluation results are permanently deleted. A task linked to a leaderboard must be removed from the leaderboard first.
  • Rename: Only affects the display name and does not affect evaluation results.
  • Download results: Downloads the evaluation result data file. Download is not supported in the Pending state.
  • Filter and search: Supports searching by task name, filtering by status, and sorting by creation time.

Evaluation Dimension Management

Deleting an evaluation dimension is irreversible. After a dimension bound to a leaderboard is deleted, the leaderboard's bound dimensions become empty, which blocks creating new evaluation tasks under that leaderboard. Before deleting a dimension, confirm whether any leaderboard is using it.

Billing Details

The cost of model evaluation consists of two parts: the inference fee of the evaluated model and the scoring fee of the judge model. For specific model unit prices, see the pricing information in the preset model list. The cost composition of different dimension types is as follows:

Dimension type

Evaluated model inference fee

Judge model scoring fee

LLM evaluation (numeric/categorical)

Billed according to the evaluated model's billing rules

Billed by Token

Rule-based evaluation (string matching/text similarity)

Billed according to the evaluated model's billing rules

None

Manual evaluation (categorical)

Billed according to the evaluated model's billing rules

None

When an inference result set is used

None (no model inference is invoked)

Determined by dimension type

Evaluated Model Inference Fee

When an evaluation dataset is used as the data source, the system invokes the evaluated model for inference. Model evaluation does not charge an additional service fee; the cost is the model inference fee, charged according to the evaluated model's own billing rules:
  • Official models: Charged according to the billing unit specified for the model. Models such as text generation and visual understanding are billed by input and output tokens, calculated as: Number of input tokens / 1M x input unit price + Number of output tokens / 1M x output unit price. Models such as image generation and video generation are billed by the number of images, video duration, number of generations, etc. For details, see the billing instructions of the selected model.
  • My models (deployed models): The billing method for evaluation calls varies by deployment method, as shown in the table below.

Deployment Method

Billing method for evaluation calls

Preset throughput deployment

Uses the purchased throughput quota; within the quota, no model invocation fee is charged by token. When usage exceeds the purchased throughput and automatic overflow is enabled for the deployment, the overflow portion is charged according to the pay-as-you-go invocation rules of the corresponding public pool model

Model unit and other dedicated compute deployments

Deployment is billed based on usage duration and the purchased compute specification; evaluation calls are no longer charged model invocation fees by Token.

Pay-as-you-go Token deployment (some LoRA fine-tuned models)

Billed based on actual input and output Token usage

When the number of inferences per sample is set to a value greater than 1, each sample is inferred the specified number of times, and the inference fee increases accordingly with the number of inferences, billed based on actual usage. When an inference result set is used as the data source, no model inference is performed, and no inference fee for the evaluated model is incurred. Baseline evaluation billing is the same as custom evaluation: inference fees are charged according to the evaluated model's own billing rules.

Judge Model Scoring Fee

Only LLM evaluation dimensions (numeric and categorical) involve judge model scoring fees, billed by Token consumption. Rule-based evaluation (string matching and text similarity) and manual evaluation do not use a judge model, so no scoring fee applies. Because the evaluation data volume, model output, and image or video generation results are uncertain, the system cannot accurately estimate the total cost before evaluation; charges are based on actual usage.

Cost Optimization Strategies

  • Validate on a small scale first: Use 50-100 data entries to verify configuration correctness and scoring quality, then scale up the data after confirming everything is correct, to avoid wasted consumption caused by configuration errors.
  • Save inference result sets for reuse: After the first evaluation, download the results containing model Output, and use the inference result set method for subsequent evaluations to avoid fees from repeated inference.
  • Prefer rule-based evaluation: Rule-based evaluation incurs no judge model fee and is the lowest-cost evaluation method. Use it first for scenarios with deterministic criteria such as translation, summarization, and Function Calling.

FAQ

The scoring range defines the judge model's score interval (integers, such as 0-5) and determines scoring granularity. The pass threshold is the dividing line for Pass/Fail determination (decimals supported, step 0.1, such as 3.0) and is used to calculate the pass rate. The two are configured independently: the former determines "how many points the model can score", and the latter determines "how many points count as passing".
Model evaluation currently supports console operations only and does not provide a public API/SDK. If you need programmatic evaluation capabilities, refer to the PAI Judge Model API as an alternative.
You can fine-tune the model and re-run the evaluation to verify the results (see model fine-tuning). If the model lacks domain-specific knowledge, you can introduce a knowledge base to enhance model capabilities (see knowledge base).