AWS published an October 12 tutorial for deploying decision-model workflows with llama.cpp on Amazon SageMaker AI. The walkthrough first serves a quantized model through a chat interface, then adds SemIf, formerly OpenJev, to score a fixed set of choices. It is deployment guidance with example code, not the launch of a new model or a new SageMaker service.
A fixed-choice decision can route a support request to a team, assign an incident priority or select an allowed action for an AI agent. The application supplies the possible answers. Instead of asking a chatbot to write and then parsing its prose, the SemIf path returns probabilities and raw scores for those declared options in their original order.
The standard path packages a GGUF model in Amazon S3 and uses the AWS Deep Learning Container for llama.cpp. It accepts OpenAI-compatible chat requests through SageMaker InvokeEndpoint. OpenAI-compatible describes the request and response format; it does not mean the endpoint runs an OpenAI model.
The decision path needs a child container because the ordinary llama-server chat API does not expose the model scores and state operations that SemIf uses. AWS CodeBuild builds that image, and Amazon ECR stores it. The adapter keeps the underlying CPU or CUDA libraries while changing the serving entry point.
The authors tested 231 public JevBench tasks one after another using Qwen3.5-4B in Q4_K_M form. Their GPU endpoint, an ml.g6e.xlarge using an NVIDIA L40S, had client median latency of 0.352 seconds and 95th-percentile latency of 0.599 seconds. The ml.c6i.8xlarge CPU endpoint with 32 threads measured 1.715 and 19.291 seconds respectively.
Those results describe that model, quantization, runtime and serial test setup, including network time. They are author measurements, not a SageMaker response-time guarantee or a claim that every decision model will see the same speedup. The CPU and GPU builds also differed. Their 179 versus 180 correct answers do not show that a GPU makes the model more accurate; predictions changed on six tasks.
AWS suggests testing CPU for background or low-throughput work that can tolerate seconds of delay, and GPU for interactive decisions or tighter latency needs. The adapter scores around one stateful model context and returns retryable errors rather than accepting an unlimited queue. Teams still need to measure their own input lengths, concurrency and scaling needs.
This is not a free, one-click tool. It requires an AWS account, S3 storage, permissions and roles, endpoint quota, and optional build and container resources for SemIf. Cloud resources can incur charges. The tutorial tells readers to review pricing before creating an endpoint and remove unused endpoints and supporting resources afterward.
A high probability is not automatically reliable confidence. AWS advises evaluation on labeled decisions, thresholds and fallback behavior, and keeping authorization and fixed business rules outside the model. Removing answer generation also does not remove inference: the model still processes the context, question and option descriptions.
Source: AWS tutorial https://aws.amazon.com/blogs/machine-learning/deploy-decision-models-with-llama-cpp-on-amazon-sagemaker-ai/ . Latency and accuracy figures are the authors' measurements for the listed setup; this article has not run the code or tested the endpoints. The architecture diagram was not independently inspected, and no diagram-specific claim is made. The hero is an original conceptual illustration, not an AWS screenshot or benchmark.

