Benchmarking small LLM inference on SageMaker AI: G7 vs G5 and G6
AWS•How-to••by Mona Mona, Harry Wang and Hazim Qudah•AWS Artificial Intelligence Blog
Benchmark two 30B Mixture-of-Experts models, Qwen3-Coder-30B and NVIDIA Nemotron-3-Nano-30B, across G5, G6, G6e, and G7 GPU instances on Amazon SageMaker AI. Compare throughput, latency, and cost-per-token, and see how G7’s NVIDIA Blackwell GPUs deliver measurable price-performance gains for real-time LLM inference.
AWS benchmarks Qwen3-Coder-30B and Nemotron-3-Nano-30B on SageMaker AI across G5, G6, G6e and G7 instances; G7 shows the best throughput and latency in its tests.
Who it is for
Teams choosing GPU instances for self-hosted LLM inference on SageMaker AI who want price-performance data for G7 versus G5 and G6.
Key points
Qwen3-Coder test: G7 gives 391.3 output tok/s versus 346.3 on G5 and 243.4 on G6, using two GPUs against four.
Nemotron test: g7.2xlarge lowest cost at $0.90 per 1M output tokens for chat workload, $2.29 for RAG workload.
G7 is generally available only in US East (Ohio) and US West (Oregon), per the post.
Results are specific to the tested models, configurations and workloads, according to AWS.
AI:SageMaker AI Studio adds a no-code UI for generative AI inference recommendations, with preset use-case profiles, goal-based ranking, visual comparisons and one-click deployment to endpoints.
AI:SageMaker AI now recommends validated GPU deployment configurations for generative AI models, ranked by cost, latency or throughput after benchmarking with NVIDIA AIPerf.
AI:SageMaker AI now runs EAGLE 2 and EAGLE 3 speculative decoding to speed up LLM inference, with heads trained on SageMaker datasets or your own data.