All Products
Search
Document Center

MaxCompute:MaxCompute models

Last Updated:Dec 05, 2025

A model is a core object in MaxCompute. MaxCompute supports multiple model types, such as public, imported, and remote models, and provides unified management for models and model versions. This helps you easily integrate model capabilities into your business analytics workflows. This topic describes the basic concepts, benefits, and types of MaxCompute models and explains how to manage and use them.

Introduction

Concepts

  • Model: A model is a deployment object registered in MaxCompute that you can use for prediction or generation tasks. Models seamlessly integrate Artificial Intelligence (AI) computing capabilities, such as large language models and machine learning models, into the same platform where your data resides.

  • Model version: A model version is an independent and uniquely identifiable sub-object of a model. You can create and manage multiple iterative versions under the same model name. This simplifies grayscale releases, rapid rollbacks, and performance comparisons between old and new versions when you call models and AI Functions.

Benefits

  • Unified management: MaxCompute provides multiple model types. Similar to data, models support permission management and versioning. This helps you meet your enterprise's security and compliance requirements.

  • Multi-engine integration: MaxCompute supports model calls from various ecosystems, such as SQL and Python (MaxFrame). The unified architecture allows data analysts to use familiar SQL to call powerful AI models. It also allows data scientists to use the distributed Python computing capabilities of MaxFrame. They can combine these capabilities with models to continuously improve the efficiency and quality of data pre-processing.

  • Simplified Operations and Maintenance (O&M): You do not need to export data to external systems for AI inference. This avoids the security risks, costs, and latency issues associated with data movement.

Model types

MaxCompute provides different types of models:

Model type

Description

Tutorial

Public model

  • MaxCompute has multiple built-in, open-source large models that are ready to use. These models are pre-created in the public schema named default within the public project named BIGDATA_PUBLIC_MODELSET.

  • You do not need to create and manage model objects yourself. You can flexibly call models using AI Functions, which lowers the barrier to entry.

  • The following models are supported:

    • Qwen3-0.6B-GGUF

    • Qwen3-1.7B-GGUF

    • Qwen3-4B-GGUF

    • Qwen3-8B-GGUF

    • Qwen3-14B-GGUF

    • DeepSeek-R1-Distill-Qwen-1.5B

    • DeepSeek-R1-Distill-Qwen-7B

    • DeepSeek-R1-Distill-Qwen-14B

    • DeepSeek-R1-0528-Qwen3-8B

Note
  1. When you use a public model:

    • If the tenant-level schema syntax is not enabled for the project, use bigdata_public_modelset.<model_name>.

    • If the tenant-level schema syntax is enabled for the project, specify bigdata_public_modelset.default.<model_name>.

  2. Region availability: Public models are currently available only in the China (Beijing), China (Shanghai), China (Hangzhou), China (Shenzhen), China (Ulanqab), China (Hong Kong), Singapore, Indonesia (Jakarta), and Germany (Frankfurt) regions. Support for other regions is being rolled out.

Use a MaxCompute public model for sentiment analysis of online reviews

Remote model

You can connect to models that are already deployed on PAI-EAS. Specify the Endpoint and token required to access PAI-EAS to register the model as a MaxCompute remote model. Then, you can call the model using an AI Function.

Use a MaxCompute remote model to automatically generate E-commerce product descriptions

Internally trained model

You can use MaxCompute MaxFrame to train traditional machine learning models. Execute TO_ODPS_MODEL to save them as MaxCompute internally trained models.

Use MaxCompute for XGBoost model training and prediction

Import Model

Imported model

In real-world business scenarios, built-in public models may not fully meet your needs. Models that are fine-tuned with algorithms can be adjusted based on business performance to achieve better results.

You can import custom model files that are saved after being trained and tuned externally. Specify the OSS address of the model file to import it into MaxCompute for subsequent inference.

Being rolled out

You can use the AI Functions provided by MaxCompute to call built-in public models or other types of models that you have created and managed in your project.

Model management

  1. Before you manage models, make sure that your account has the permissions to manage model objects.

  2. You can manage model objects in the following ways:

    Management method

    Instructions

    Create and manage models using SQL

    You can manage models using SQL statements. This includes creating, viewing, modifying, and deleting models.

    Manage models using MaxFrame

    You can manage models using the MaxFrame Python language. Currently, only model creation is supported.

    Manage models using the console

    MaxCompute provides a graphical user interface (GUI) in the console for model management. In regions where the console has been adapted, you can view created models through the console.

    Perform the following steps:

    1. Log on to the MaxCompute console and select a region in the top-left corner.

    2. In the navigation pane on the left, choose Manage Configurations > Projects.

    3. On the Projects page, find the target project and click Manage in its Actions column.

    4. On the Project Settings page, click the Models tab.

      You can view the public models and their version information in the BIGDATA_PUBLIC_MODELSET public project. You can also view other types of models that you have created and their version information.

    Note

    The feature to manage models in the console is currently available only in the China (Beijing) region. Support for other regions is being rolled out.