Gemma 4 on Amazon SageMaker: QAT Weights Decode 2.05x Faster Than bf16 on One L4 A developer benchmarked Google's Gemma 4 E2B quantization-aware trained (QAT) checkpoint against the full bf16 release on a single NVIDIA L4 SageMaker endpoint, finding the 4-bit QAT model decodes at 105.1 tok/s versus 51.3 tok/s for bf16 and serves 1077.25 tok/s at 16 parallel requests versus 619.1, while matching bf16 on 40 checked questions. The comparison used the AWS vLLM SageMaker container (vLLM 0.30.0) on an ml.g6.xlarge instance in us-east-2, switching checkpoints via the SM_VLLM_MODEL variable, and included a suite of Python MCP tools for managing the deployment. This article gives a short background on Amazon SageMaker real-time endpoints, then measures Gemma 4 E2B's quantization-aware trained QAT checkpoint against the full-size bf16 release on the same NVIDIA L4 endpoint. A suite of Python MCP tools is built to simplify management of the vLLM hosted deployment. https://github.com/xbill9/sagemaker-gemma https://github.com/xbill9/sagemaker-gemma | Models | google/gemma-4-E2B-it bf16 and google/gemma-4-E2B-it-qat-w4a16-ct QAT, 4-bit weights | | Hardware | SageMaker ml.g6.xlarge , 1x NVIDIA L4, 24 GB | | Region | us-east-2 | | Software | AWS vLLM SageMaker container, vLLM 0.30.0 | | Result | QAT decodes at 105.1 tok/s against 51.3 , and serves 1077.25 tok/s at 16 parallel requests against 619.1 , with the same score on 40 checked questions | SageMaker real-time inference is three objects, created in order: | Object | What it holds | |---|---| | Model | A container image, its environment variables, and an IAM role | | Endpoint config | Which model runs on which instance types, and how many instances | | Endpoint | The running HTTPS service, billed per instance-hour while it exists | Requests go through aws sagemaker-runtime invoke-endpoint , signed with your AWS credentials. SageMaker health-checks the container, routes traffic to it and writes its log to CloudWatch under /aws/sagemaker/Endpoints/