# Deploy a JumpStart model using the SageMaker Python SDK v3.

from sagemaker.serve.model_builder import ModelBuilder
from sagemaker.core.jumpstart.configs import JumpStartConfig
from sagemaker.core.training.configs import Compute

model_builder = ModelBuilder.from_jumpstart_config(
    jumpstart_config=JumpStartConfig(model_id="huggingface-reasoning-qwen3-coder-next"),
    compute=Compute(instance_type="ml.p5en.48xlarge"),
)
model_builder.build()
endpoint = model_builder.deploy()
