NVIDIA Uses Agentic Tuning in NIM to Double Open Model Inference Throughput
NVIDIA's automated, agentic tuning workflow for NIM microservices doubles output-token throughput on Hopper and Blackwell GPUs while maintaining strict latency limits.

Deploying open-source language models into production often forces engineering teams into weeks of manual tuning. Getting an inference engine to run efficiently requires configuring key-value (KV) cache precision, batching parameters, CUDA graphs, kernel backends, and speculative decoding for specific GPU architectures. To address this friction, NVIDIA has introduced an agentic, measurement-gated tuning workflow inside NVIDIA NIM microservices. Benchmarks published by the company show this automated runtime optimization can deliver up to 2x the output-token throughput per GPU compared to default open-source serving engines, without modifying model checkpoints or weights.
Automated, measurement-gated optimization
NVIDIA's optimization workflow treats inference engine configuration as an automated search problem. In each optimization campaign, parameters like model weights, checkpoints, precision, GPU topology, and context lengths remain fixed. An AI agent analyzes historical benchmark data and formulates hypotheses to target bottlenecks. A deterministic ranking algorithm scores these proposals based on confidence, observability, headroom, relevance, and projected impact, selecting a non-conflicting subset of up to five configuration changes.
These adjustments cover settings such as FP8 KV cache utilization, CUDA graph capture sizes, compiler fusions, and speculative decoding techniques like multi-token prediction (MTP), EAGLE3, and DSpark draft models. The system tests candidate configurations on dedicated NVIDIA Hopper and Blackwell GPUs using NVIDIA Dynamo AIPerf across agentic workloads (roughly 64K input and 400 output tokens) and multiturn chat workloads (roughly 8K input and 1K output tokens). Operating points must adhere to strict limits: a mean inter-token latency (ITL) of 20 milliseconds or lower, a mean time to first token (TTFT) of 10 seconds or lower, and a request error rate under 1%. Candidate profiles are only released after outperforming both default open-source recipes and previous NIM profiles.
Performance gains across Blackwell and Hopper GPUs
Across a test suite of 37 models evaluated on NVIDIA H200 and B200 GPUs, as well as NVIDIA GB300 NVL72 systems, NIM runtime tuning delivered a geometric mean throughput improvement of 1.39x across 58 model-hardware configurations.
Several open models achieved notable throughput increases while staying within the 20 ms ITL target:
- Gemma 4 26B A4B IT: Reached a 2x throughput gain on a single NVIDIA H200 GPU (BF16, tensor parallelism 1) at concurrency 8, recording a 14.5 ms ITL and 1.2 s TTFT, compared to 258 tokens per second per GPU on the baseline vLLM recipe.
- Llama-3.1-8B-Instruct: Delivered 1.96x throughput on an NVIDIA GB300 NVL72 system (NVFP4, tensor parallelism 1) at concurrency 32, achieving 15.4 ms ITL and 334 ms TTFT versus 1,027 tokens per second on baseline vLLM.
- NVIDIA Nemotron 3.5 Lightning 30B: Showed a 1.88x improvement on an NVIDIA B200 GPU (BF16, tensor parallelism 1) at concurrency 64, recording an 11.8 ms ITL and 1.5 s TTFT against a 3,035 tokens per second baseline.
- GPT-OSS-120B: Achieved 1.82x throughput on an NVIDIA B200 GPU (MXFP4 KV) utilizing EAGLE3 speculative decoding at concurrency 16, with a 7.1 ms ITL and 278 ms TTFT.
Results varied significantly by model architecture and hardware. For instance, Mistral Small 4 showed a 1.63x gain on B200 but negligible improvement on H200, whereas Nemotron 3 Super saw higher gains on H200 (1.71x) than on B200 (1.47x). Meanwhile, smaller architectures like Nemotron 3 Nano saw gains under 3%, as default configurations were already operating near their efficiency frontier.
What it means for developers
For engineering teams operating their own hardware infrastructure, these results illustrate how much compute capacity is typically left on the table by stock serving configurations. Default inference setups often fail to saturate hardware efficiently because fine-tuning batch token budgets, CUDA graphs, and memory allocations requires deep low-level expertise. Automated profiles remove weeks of manual validation when rolling out framework upgrades or deploying new open models.
At the same time, managing low-level runtime configurations, kernel compatibility, and dedicated GPU fleets remains resource-intensive. For teams seeking to bypass self-hosted deployment complexities entirely, developers can try top AI models cheaply through one API at https://apixoai.online.
For self-hosted deployments, NVIDIA is collaborating with open-source communities like vLLM and SGLang to share serving recipes across Hopper and Blackwell architectures. Organizations such as sovereign cloud provider Elice Cloud in Korea have already begun deploying these performance-tuned NIM microservices to power AI tutoring and educational services at lower serving costs.
Source: How NVIDIA NIM Tuning Delivers 2x Throughput for Open Models — NVIDIA Technical Blog. Written by the Apixo team from that report.
One key for Claude, GPT, GLM, DeepSeek and more. Pay per token with crypto.
Get your API key

