All Products
Search
Document Center

PolarDB:RegisterAIDBClusterCustomModel

Last Updated:Sep 16, 2026

Registers a custom model for an AI cluster.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

RegionId

string

Yes

The region ID.

cn-beijing

DBClusterId

string

Yes

The ID of the PolarDB AI 3.0 logical instance.

pm-2ze4x2mwo81knj08a

ModelName

string

Yes

The custom model registration key and model directory name.

Qwen3-32B

CustomOssBucketName

string

Yes

The name of the OSS bucket.

my-model-bucket

CustomOssBucketPath

string

Yes

The model path within the OSS bucket.

models/qwen3

DisplayModelName

string

No

The display name shown in the candidate list and the initial client-facing invocation name.

my-qwen3

Response elements

Element

Type

Description

Example

object

Schema of Response

Created

boolean

Indicates whether the registration is newly created. A value of false indicates that an existing registration was updated.

true

DisplayModelName

string

The display name and initial client-facing invocation name.

my-qwen3

ModelId

integer

The model registration ID.

123456

ModelName

string

The custom model registration key.

Qwen3-32B

ModelType

string

The model type.

custom

OssPath

string

The normalized OSS path.

/my-model-bucket/models/qwen3

RequestId

string

Id of the request

3AA6E0E4-1234-5678-90AB-1234567890AB

Examples

Success response

JSON format

{
  "Created": true,
  "DisplayModelName": "my-qwen3",
  "ModelId": 123456,
  "ModelName": "Qwen3-32B",
  "ModelType": "custom",
  "OssPath": "/my-model-bucket/models/qwen3",
  "RequestId": "3AA6E0E4-1234-5678-90AB-1234567890AB"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.