Subscribe to a model on AWS Marketplace, deploy it as a SageMaker endpoint, and run inference either with the Bioptimus SDK (recommended) or the raw SageMaker runtime API.
If your Bioptimus contact sent you a private offer, accept it via the link they provided before continuing. After acceptance the model appears under Manage your subscriptions, and the remaining steps are identical.
Subscribe on AWS Marketplace
Subscribe to the model. In Manage your subscriptions, open your model subscription and click Configure.
Choose a model access interface
You will be asked to select the model access interface — SageMaker AI (Python SDK) or CLI — based on your preference and use case.
Select region and inference mode
The region must be identical across every command and in the Model Package ARN. Mixing regions is the most common cause of deployment failures.
2. Deploy an endpoint
Deploy with the Python SDK (recommended) or the AWS CLI.
AWS walks you through these steps from the configuration page. The commands below are provided in case you prefer to run them yourself. For full option details, see the aws sagemaker command reference.Install and configure the AWS CLI with SSO
Create an IAM execution role
Save the execution role ARN
Store the role ARN in a variable for the next steps: Create the model
Use the Model Package ARN for your region. Network isolation is required for Marketplace model packages. The names below are arbitrary and work for either package (H-Optimus or M-Optimus) — choose your own. Create the endpoint
Create the endpoint configuration (instance type and count), then the endpoint itself. The generous timeouts give the large model weights time to download and load before SageMaker’s startup health check — without them, endpoint creation can fail.Set <INFERENCE_AMI_VERSION> to a supported SageMaker inference AMI for your region (e.g. al2-ami-sagemaker-inference-gpu-2), or omit the field to let SageMaker pick the default. Check the endpoint status
Endpoint creation takes about 5–10 minutes. Check the status from the CLI:Or open SageMaker AI in the AWS console and go to Deployment & Inference > Endpoints. The endpoint is ready once its status is InService.
3. Run inference with the Bioptimus SDK (recommended)
The Bioptimus SDK’s AWS backend routes through the SageMaker /invocations endpoint and adds the model_name dispatch field for you.
For whole-slide inference (tiling, tissue masking, bulk RNA, output formats), see the Bioptimus SDK.
4. Or call the runtime API directly
A SageMaker request is a ModelRequest plus model_name and mode fields. See the API reference for the full schema.
5. Clean up
Endpoints incur charges while running. Delete the endpoint when finished.
Delete the endpoint, its configuration, and the model:If you created the IAM execution role just for this deployment, delete it as well:
Reference notebooks
End-to-end examples: h1-jumpstart (H-Optimus) and m-jumpstart (M-Optimus).