Switching Models on Dedicated AI Clusters
Switch a pretrained or imported model hosted on a dedicated AI cluster in OCI Generative AI. Reuse the cluster if the new model supports its full unit shape in the same region, or create a new cluster if a different shape is required.
You might want to switch models to add image support, improve reasoning or response quality for an application, or replace a model that's retiring. If you already host the current model on a dedicated AI cluster, compare the new model's supported unit shapes with the shape of the existing cluster before creating another cluster. This process also applies when you switch between imported models.
Deciding Whether to Reuse a Dedicated AI Cluster
You select one unit shape when you create a dedicated AI cluster. You can't change that shape after creation. To reuse the cluster, the new model must support the same unit shape in the cluster's region.
Compare complete unit shape names, such as Cohere_H100_X2 and
Cohere_H100_X4, rather than only the hardware type, such as
H100. Shapes can differ by model and region.
- For OCI Generative AI pretrained models, find the full provider-specific unit shape names in Baseline Hardware Unit Shapes for OCI Models.
- For imported models, find a supported unit shape on the new model's page in
Compatible Models, then
confirm that its hardware shape is available in the cluster's region in
Hardware Unit Shapes for Imported Models. Imported-model unit
shape names don't have provider prefixes. For example,
H100_X2andH100_X4are different shapes.
- If the new model supports the existing unit shape, delete the current model's endpoints and create an endpoint for the new model on the same dedicated AI cluster. The cluster remains allocated to you.
- If the new model requires a different unit shape, create a new dedicated AI cluster with that shape and an endpoint for the new model. You don't need to delete the original cluster to create the new one.
By default, a cluster can have up to 50 endpoints for the same hosted model. These endpoints share the cluster's model replicas, which serve the current model. To switch the cluster to another model, delete every endpoint for the current model before creating an endpoint for the replacement model. Requests to the deleted endpoints stop; after the new endpoint becomes active, update applications to use it.
Examples: Switching OCI Generative AI Pretrained Models in Ashburn
Suppose you host Cohere Command A
on a dedicated AI cluster with the Cohere_H100_X2 shape in US East
(Ashburn). The North
America Baseline Shapes table shows these options for switching models in
the same region.
| Scenario | Current model | Current cluster shape | New model | Target cluster shape | Action |
|---|---|---|---|---|---|
| Scenario 1 | Cohere Command A | Cohere_H100_X2 |
Cohere Command A Vision | Cohere_H100_X2 |
Reuse the existing cluster. Both models support
|
| Scenario 2 | Cohere Command A | Cohere_H100_X2 |
Cohere Command A Reasoning | Cohere_H100_X4 |
Create a new cluster. Command A Reasoning requires
|
Examples: Switching Imported Qwen Models
Suppose you host Qwen/Qwen3.6-35B-A3B on a dedicated AI cluster with the H100_X2 shape. In these examples, the target region has H100_X1, H100_X2, and H100_X4 available. The Compatible Alibaba Models page lists H100_X1 as the minimum H100 unit shape for Qwen/Qwen3.8-27B and H100_X4 for Qwen/Qwen3-Next-80B-A3B-Instruct. The Qwen/Qwen3.8-27B model also supports H100_X2 in these examples.
| Scenario | Current model | Current cluster shape | New model | Target cluster shape | Action |
|---|---|---|---|---|---|
| Scenario 1 | Qwen/Qwen3.6-35B-A3B | H100_X2 |
Qwen/Qwen3.8-27B | H100_X2 |
Reuse the existing cluster. The new model supports
|
| Scenario 2 | Qwen/Qwen3.6-35B-A3B | H100_X2 |
Qwen/Qwen3.8-27B | H100_X1 |
Create a new cluster to use a smaller shape. The new model can use the existing |
| Scenario 3 | Qwen/Qwen3.6-35B-A3B | H100_X2 |
Qwen/Qwen3-Next-80B-A3B-Instruct | H100_X4 |
Create a new cluster. The new model requires at
least |
Before Deleting the Original Dedicated AI Cluster
Creating a new dedicated AI cluster is separate from deciding whether to delete the original one. The billing terms depend on the model type:
- Hosting clusters for OCI Generative AI pretrained and custom models have a minimum commitment of 744 unit-hours. Deleting a cluster before that minimum is reached doesn't remove the minimum charge.
- Hosting clusters for imported models don't require the 744-unit-hour commitment. Instead, they have a minimum billable duration of one hour. See Hardware Unit Shapes for Imported Models.
Before deciding whether or when to delete the original cluster, review its usage, any applicable minimum billing, and whether you still need it for other endpoints or a compatible model. Keeping a cluster allocated continues to accrue usage. Also account for the new cluster's billing terms. See Calculating Cost and the pricing page.
Switching Models
You have an endpoint for the current model on a hosting dedicated AI cluster and have selected the model you want to use instead.
If you created a new cluster, review Before Deleting the Original Dedicated AI Cluster before deciding whether or when to retire the old resources. If you decide to delete the original cluster, first delete its endpoints, then delete the cluster.