Deploy a Decision Model in Your Own AWS Account or VPC: SageMaker Isolation, Private Subnets and Costs
A SageMaker endpoint with private subnets, network isolation and a PrivateLink runtime endpoint keeps every decision inside your account. Here is the exact setup and what it costs on November 2026 list prices.
To deploy a decision model in your own AWS account or VPC, host it on a SageMaker endpoint whose model sets VpcConfig to two private subnets and EnableNetworkIsolation to true. Your applications then call it through a SageMaker Runtime interface endpoint, so that requests never cross the public internet. A self-managed EC2 or EKS service in private subnets also works, but you then own TLS, patching and every VPC endpoint. On AWS list prices published November 24, 2026, one always-on ml.g5.xlarge endpoint running a Marketplace decision model costs about $1,115 a month.
A decision model returns a probability for each option that you supply
A decision model is a narrow kind of model. It reads a situation and a list of allowed options, and it returns a score for each option instead of writing text. Sigmodata's Decision Model listing on AWS Marketplace describes the request as JSON with a state field and a questions map. The state can be text or any JSON object, and each question can be a choice, a yes-or-no probability or a rubric score. The listing states that each answer includes a confidence value, and that a choice question returns a probability for each option.
This shape makes network isolation easy to accept and gives you a natural place for a fallback rule. First, the model has no reason to call any outside service, so cutting off its network access costs nothing in function. Second, the probability gives you a clean place to put a fallback rule.
None of the listings mention a built-in defer flag. The defer step is a rule that you write in your application on top of the returned probability. A practical way to set it is to score a few hundred labelled past cases and sort them by the top probability. Then pick the lowest threshold at which the accepted cases still meet your accuracy target. Cases below the threshold go to your existing LLM or to the human review queue, unchanged.
Four SageMaker settings keep every request and every weight file inside the account
SageMaker gives the shortest path to the requirement that no request or log leaves the account. The setup combines four settings, and each one closes a different route out of the account.
- Setting
VpcConfigonCreateModelmakes SageMaker attach network interfaces to the model container. AWS's hosting guide describes these as "a network connection within your VPC that is not connected to the internet." The guide requires at least two subnets in different Availability Zones, even for a single instance. - Setting
EnableNetworkIsolationto true blocks every outbound call from the container. AWS's documentation states that the container "can't make any outbound network calls to any service, including Amazon S3," and that it receives no AWS credentials. SageMaker still downloads the model artifacts with your execution role, outside the container. Network isolation is required for any model bought through AWS Marketplace. - Creating an S3 gateway endpoint lets SageMaker fetch the weights through your VPC. AWS recommends a custom endpoint policy that allows only requests from your VPC. A bucket policy on the weights bucket can then refuse any other traffic.
- Creating a SageMaker Runtime interface endpoint with private DNS turned on makes the standard runtime hostname resolve to a private address in your VPC. An endpoint policy can allow only
sagemaker:InvokeEndpointon the one endpoint that serves decisions.
Encryption comes from two more fields on CreateEndpointConfig. The top-level KmsKeyId encrypts the storage volume attached to the hosting instance with your own KMS key. AWS's API reference adds that this key does not cover local instance storage on Nitro instances, which a hardware module on the instance encrypts instead. The DataCaptureConfig block takes its own KmsKeyId for the request and response logs that it writes to S3.
TLS needs no extra work on this path. The SageMaker Runtime hostname in AWS's documentation is an https:// address, so you do not need a load balancer or a certificate.
The weights reach the endpoint only as a tar.gz file at the S3 path in ModelDataUrl. SageMaker unpacks the file into the read-only /opt/ml/model directory before the container starts. For an air-gapped transfer, you copy that one file into a bucket in the account by whatever approved route your organization uses. AWS's hosting documentation does not describe a separate offline import step.
To check that nothing leaves the account, confirm three things on the deployed model. Both VpcConfig and EnableNetworkIsolation should appear in the model description. The route tables of the chosen subnets should have no route to an internet gateway or a NAT gateway. Finally, the weights bucket policy should deny requests that do not come through your VPC endpoint.
EC2 and EKS in private subnets cost less per hour but make you responsible for TLS and patching
A self-managed service gives you full control of the serving stack. The price is a longer list of parts to build. A container on ECS or EKS in a private subnet needs these VPC endpoints to start and run:
- The
ecr.apiandecr.dkrinterface endpoints and the S3 gateway endpoint let the service pull its image, because ECR stores image layers in S3. - The
logsinterface endpoint lets Fargate tasks and EKS pods send logs to CloudWatch without an internet gateway. - The
stsinterface endpoint lets EKS pods that use IAM roles for service accounts get credentials. - The
ec2andelasticloadbalancinginterface endpoints let EKS nodes and the load balancer controller work in a private cluster.
An internal Application Load Balancer is the private front door. AWS's documentation states that its nodes "have only private IP addresses" and can route requests only from clients with access to the VPC. An HTTPS listener on it needs a certificate from ACM or IAM and a TLS security policy.
The EKS private-cluster guide adds two limits that affect a decision service. ACM has no VPC interface endpoint, so the AWS Load Balancer Controller cannot find certificates from Ingress hostnames. You give it the certificate ARN directly instead. The guide also states that private clusters block AWS Marketplace metering calls, so Marketplace container products that meter usage cannot run there.
Patching is the other cost. AWS's container guide lists security patching as one of the events in which SageMaker launches new inference containers for you. On EC2, the operating system and the model server are yours to patch. Salient Engineering's Strands Decider E2B machine image shows the trade. Its current version is a security release dated November 18, 2026, and it still serves plain HTTP on port 8000. The listing's instructions say to open ports 22 and 8000 only to trusted addresses. In production you would put it behind an internal load balancer with an HTTPS listener.
The options on AWS Marketplace fit different situations
Several products already sell a decision model that runs in your account. They differ mainly in who builds the serving layer.
- If the hard requirement is that data stays in the account, Sigmodata's Decision Model runs as a SageMaker model with network isolation, for real-time endpoints or batch transform. Its software fee is $0.10 per instance-hour on top of the SageMaker instance, and it offers a 5-day trial with no refunds. The listing limits it to mainly English and a 4,096-token context.
- If the lowest hourly bill matters most and you can run servers, Salient's Strands Decider E2B runs as a machine image on one EC2 instance for $0.09 per hour plus the instance. First boot can take up to 40 minutes, and the listing states that its 5-day trial converts to a paid subscription unless you cancel it.
- If you already have your own trained decision model, Deemwar's openjevx Server is free, Apache-2.0 software that one CloudFormation stack deploys on ECS Fargate. It serves only models in its own OpenJevX format, runs on CPU only and defaults to an internal load balancer.
- If you are evaluating Warp Drive's JEV-27B, check the seller first. The listing's vendor support link points to a domain that does not match the seller name, the refund policy reads "Not support," and the version is 0.1.
- If your decisions are really fixed policy rules, such as eligibility thresholds, a rules engine fits better than a model. DecisionRules publishes a CloudFormation template that runs its engine on Fargate in subnets you choose, with DocumentDB and ElastiCache, under a licence key that you bring.
Parsec's TOD is a decision model that sits in front of an existing assistant and ranks the next action from a list of allowed actions. A confidence gate hands uncertain turns back to the parent LLM. Parsec's TOD page lists $0.30 per 1,000 decisions, separate from parent-model costs, but the page does not describe deployment options, including VPC hosting. To keep TOD inside your account, you would serve the public release yourself. That release is LoRA adapters on Google's Gemma 4 12B model, and you must accept the Gemma 4 licence to download the base weights. The repository advises against bitsandbytes int8 quantization, which it states flips 8% of picks. It also states that TOD is not state of the art on the public JevBench benchmark.
No public, versioned CloudFormation template from a neutral source combines a SageMaker decision-model endpoint with this private networking. A template that you write should take the VPC ID, the private subnet IDs and the S3 weights path as parameters. It should create the model, the endpoint configuration, the endpoint, the execution role, the KMS key and the VPC endpoints listed above.
The only published latency figures come from the vendors, so cost per decision depends on your own test
No independent, dated measurement of p50 and p95 latency, throughput and cost per 1,000 decisions across instance types has been published for any of these models. Sigmodata's listing gives its own figures for one question per request. It lists a median of 389 ms and a p95 of 994 ms on ml.g5.xlarge, and a median of 451 ms and a p95 of 959 ms on ml.g4dn.xlarge. With twelve questions in one request, it lists about 18 questions per second on ml.g5.xlarge. The listing also states that one evaluation runs at a time per instance.
Hourly prices, by contrast, are fixed and public. The AWS price list for US East, published November 24, 2026, gives these on-demand rates:
| Instance | SageMaker hosting per hour | EC2 Linux per hour |
|---|---|---|
| g4dn.xlarge | $0.736 | $0.526 |
| g6.xlarge | $1.1267 | $0.8048 |
| inf2.xlarge | $0.99 | $0.7582 |
| g5.xlarge | $1.408 | $1.006 |
| c7i.4xlarge | $0.857 | $0.714 |
The cost of each decision follows from a simple formula. Divide the hourly cost by the number of decisions that the instance completes in an hour, then multiply by 1,000. The 5-day trials are long enough to measure the divisor on your own cases. A minimal timing loop from inside the VPC looks like this:
import boto3, json, time
rt = boto3.client("sagemaker-runtime")
times = []
for case in cases: # your own sample of real situations
t0 = time.perf_counter()
rt.invoke_endpoint(EndpointName="decisions", ContentType="application/json", Body=json.dumps(case))
times.append(time.perf_counter() - t0)
times.sort()
print("p50", times[len(times) // 2], "p95", times[int(len(times) * 0.95)])
One million decisions a month costs about $1.12 per 1,000 on an always-on GPU endpoint
The worked example uses Sigmodata's model on SageMaker, because it is the one option whose listing publishes both a price and latency. The assumptions are listed first, so that you can swap in your own.
- The workload is 1,000,000 decisions a month, one question per request, which averages about 1,370 requests an hour.
- The endpoint runs one ml.g5.xlarge instance for 730 hours at $1.408 plus the $0.10 software fee.
- The SageMaker Runtime interface endpoint runs in two Availability Zones at $0.01 per hour each.
- Each request and response together carry about 4 KB through the interface endpoint at $0.01 per GB.
The instance costs $1,027.84 and the software fee $73.00 for the month. The interface endpoint adds $14.60, and data processing adds about $0.04. The total is about $1,115, or $1.12 per 1,000 decisions. At the listed 389 ms median, one instance could complete about 9,250 single-question requests an hour, so the average load uses about 15% of it. A second instance for resilience would double the instance and software lines.
On ml.g4dn.xlarge the same month costs $610.28 for the instance and fee plus $14.60 for the endpoint. That comes to about $625, or $0.62 per 1,000 decisions, with a slower listed median of 451 ms.
Offline decisions are much cheaper because batch transform bills only while the job runs. At 389 ms per single-question record, one million records take about 108 instance-hours on ml.g5.xlarge. That is about $163 at $1.508 per hour. Grouping questions that share a state into one request raises throughput further, as Sigmodata's twelve-question figure shows.
Day-two operations use SageMaker features that need no extra servers
Running the endpoint after launch comes down to five jobs.
- Application Auto Scaling adds and removes instances as load changes. Scaling to zero works only for endpoints that host inference components. AWS warns that coming back from zero "takes several minutes," and that requests fail in that window.
- Batch transform handles offline decisions. It reads input files from S3 and writes results to S3 in the same order as the input records, with no persistent endpoint.
- A new fine-tuned checkpoint goes out as a new
tar.gzin S3 and a new endpoint configuration. TheUpdateEndpointcall with canary traffic shifting sends a share of traffic, at most 50% of the new fleet's capacity, to the new model first. If a CloudWatch alarm fires during the baking period, SageMaker rolls all traffic back. - Data capture writes each request and response to an S3 path that you choose, with your KMS key, which gives you an audit trail you can replay. AWS states that Model Monitor, the service that analyzes this data, is no longer open to new customers, but data capture itself is configured on the endpoint.
- Patching on SageMaker depends on a working health check. If the container does not answer
/pingwith HTTP 200 within 8 minutes of startup, AWS states that updates and security patches are not applied.
Sources
- AWS Marketplace, Decision Model by Sigmodata: https://aws.amazon.com/marketplace/pp/prodview-b6qgtvsaybym4
- AWS Marketplace, Strands Decider E2B by Salient Engineering: https://aws.amazon.com/marketplace/pp/prodview-4isgskzyrqxly
- AWS Marketplace, openjevx Server by Deemwar: https://aws.amazon.com/marketplace/pp/prodview-kzbhnvoghp2ze
- AWS Marketplace, JEV-27B Decision Model by Warp Drive: https://aws.amazon.com/marketplace/pp/prodview-cpbvpwpvmgu26
- DecisionRules, Deploy a business rules engine on AWS with CloudFormation: https://www.decisionrules.io/en/articles/deploy-a-business-rules-engine-on-aws-in-minutes-with-cloud-formation/
- AWS, Give SageMaker AI hosted endpoints access to resources in your VPC: https://docs.aws.amazon.com/sagemaker/latest/dg/host-vpc.html
- AWS, Run training and inference containers in internet-free mode: https://docs.aws.amazon.com/sagemaker/latest/dg/mkt-algo-model-internet-free.html
- AWS, Connect to SageMaker AI within your VPC: https://docs.aws.amazon.com/sagemaker/latest/dg/interface-vpc-endpoint.html
- AWS, CreateEndpointConfig API reference: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateEndpointConfig.html
- AWS, Custom inference code with hosting services: https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms-inference-code.html
- AWS, Data capture: https://docs.aws.amazon.com/sagemaker/latest/dg/model-monitor-data-capture.html
- AWS, Use canary traffic shifting: https://docs.aws.amazon.com/sagemaker/latest/dg/deployment-guardrails-blue-green-canary.html
- AWS, Automatic scaling of SageMaker AI models: https://docs.aws.amazon.com/sagemaker/latest/dg/endpoint-auto-scaling.html
- AWS, Scale an endpoint to zero instances: https://docs.aws.amazon.com/sagemaker/latest/dg/endpoint-auto-scaling-zero-instances.html
- AWS, Batch transform: https://docs.aws.amazon.com/sagemaker/latest/dg/batch-transform.html
- AWS, Amazon ECR interface VPC endpoints: https://docs.aws.amazon.com/AmazonECR/latest/userguide/vpc-endpoints.html
- AWS, Deploy EKS private clusters: https://docs.aws.amazon.com/eks/latest/userguide/private-clusters.html
- AWS, How Elastic Load Balancing works: https://docs.aws.amazon.com/elasticloadbalancing/latest/userguide/how-elastic-load-balancing-works.html
- AWS, Create an HTTPS listener: https://docs.aws.amazon.com/elasticloadbalancing/latest/application/create-https-listener.html
- AWS Price List, SageMaker US East (published 2026-11-24): https://pricing.us-east-1.amazonaws.com/offers/v1.0/aws/AmazonSageMaker/current/us-east-1/index.json
- AWS, EC2 On-Demand pricing: https://aws.amazon.com/ec2/pricing/on-demand/
- AWS, PrivateLink pricing: https://aws.amazon.com/privatelink/pricing/
- Parsec, TOD: https://parseclab.ai/tod/
- Parsec, TOD model card: https://huggingface.co/parsecai/tod
- Parsec, TOD repository: https://github.com/daseinlabs/tod