First runs: LLM benchmarks
Each section gives one configuration that you can run end to end. Every value comes from the product catalog. Each configuration has a web app path, a benchctl path, and an API path that save the same project.
MetrumBench LLM
MetrumBench LLM sends real prompts to a model that a serving engine hosts, and measures throughput and latency at each concurrency you choose. This first run serves one small model on one NVIDIA machine. It takes two scenarios and finishes in a few minutes, after a one-time model download.
Configuration
| Setting | Value |
|---|---|
| Tool | MetrumBench LLM (metrumbench-llm) |
| Model | Qwen3-0.6B. Model code qwen3-0.6b. Hugging Face ID Qwen/Qwen3-0.6B |
| Serving framework | vLLM (vllm), version 0.20.1 |
| Build variant | The default, "Default (NVIDIA CUDA 13.0)". The profile code is default. If your GPU driver does not support CUDA 13.0, choose "NVIDIA CUDA 12.9" (cuda-129). |
| Argument preset | Default (vllm-default). It sets tensor parallel size 1, maximum model length 8192, dtype bfloat16, KV cache dtype fp8, and GPU memory use 0.90. |
| Machine | One onboarded NVIDIA machine with status Online. The preset serves the model in bfloat16 with an fp8 KV cache, so use a GPU that supports both. |
| GPUs to use | 1 |
| Concurrency | 1 and 8 |
| Input Sequence Length | 512 |
| Output Sequence Length | 256 |
| Streaming | Yes. Streaming is required to measure time to first token. |
| Requests per scenario | Not set. The platform sends the larger of 200 and 10 times the concurrency, so 200 requests at each of the two concurrency values. |
The values multiply out to 2 scenarios: c1-isl512-osl256 and c8-isl512-osl256. Each scenario needs 768 tokens per request, well inside the 8192-token model length.
Your plan must include MetrumBench LLM. It is included from Tier 1. To check how much memory the model needs, run benchctl models estimate-memory qwen3-0.6b.
Run it in the web app
- Select Infrastructure in the sidebar. Confirm that one machine shows Online.
- Select Projects, then New Project.
- Under Project name, enter
First run. Leave Who can see it at Team. - Under Add a workload, select MetrumBench LLM.
- In the Model step, under Models, select Qwen3-0.6B. Select Next: serving engine.
- In the Serving engine step, set Serving framework to vLLM and Version to
0.20.1. Set Argument preset to Default. Leave Build variant at its default. Select Next: hardware. - In the Hardware step, keep Deployment at One machine. Under Machines, select your machine. Set GPUs to use to
1. Select Next: load. - In the Load step, set Concurrency to
1and8. Set Input Sequence Length to512and Output Sequence Length to256. Leave Streaming at Yes. The step shows 2 scenarios. - Select Save & Run.
The editor checks your plan, the machine, and its readiness. If a check fails, nothing is saved, and the editor opens the step to fix. When the checks pass, the Monitoring page opens with the new run. When both jobs complete, open Reporting to read the results.
Run it with benchctl
Run benchctl auth login first. benchctl server list prints the hostname of each machine.
benchctl org switch "<organization name>"
benchctl server list --status available
benchctl project create "First run" --visibility org
benchctl project switch "First run"
benchctl workload create \
--name "Qwen3 0.6B on vLLM" \
--code qwen3-06b-vllm \
--tool metrumbench-llm \
--model qwen3-0.6b \
--framework vllm \
--version 0.20.1 \
--engine-args vllm-default
benchctl scenario create \
--name c1-isl512-osl256 --code c1-isl512-osl256 \
--workload qwen3-06b-vllm \
--concurrency 1 --input-tokens 512 --output-tokens 256 --streaming
benchctl scenario create \
--name c8-isl512-osl256 --code c8-isl512-osl256 \
--workload qwen3-06b-vllm \
--concurrency 8 --input-tokens 512 --output-tokens 256 --streaming
benchctl job schedule --workload qwen3-06b-vllm --scenario c1-isl512-osl256 \
--server "<hostname>" --gpu-count 1
benchctl job schedule --workload qwen3-06b-vllm --scenario c8-isl512-osl256 \
--server "<hostname>" --gpu-count 1
benchctl job status "<job id>"
benchctl job results "<job id>"
--visibility org is the Team setting in the web app. The --streaming flag is required, because the command leaves streaming off when you omit it. The model code has no slash, so the command skips the Hugging Face check that it runs for a Hugging Face ID.
Run it with the API
Set METRUM_BASE and METRUM_TOKEN as in API Reference. Get server_id from list_server_config_instances.
-
Save the project. The call creates the project, the workload, and both scenarios in one transaction.
curl -X POST "$METRUM_BASE/rpc/save_project_config" \-H "Authorization: Bearer $METRUM_TOKEN" \-H "Content-Type: application/json" \-d '{"p_account_id": "<account-uuid>","p_org_id": "<org-uuid>","p_project_uuid": null,"p_save_as_new": false,"p_expected_revision": null,"p_payload": {"project_name": "First run","visibility_code": "org","workloads": [{"type": "benchmark","workload_code": "qwen3-06b-vllm","workload_name": "Qwen3 0.6B on vLLM","tool_code": "metrumbench-llm","model_codes": ["qwen3-0.6b"],"framework_code": "vllm","version": "0.20.1","engine_args_set_code": "vllm-default","target_selections": [{"server_id": 0, "gpu_count": 1}],"scenarios": [{"scenario_code": "c1-isl512-osl256", "scenario_name": "c1-isl512-osl256","concurrency": 1, "input_sequence_length": 512,"output_sequence_length": 256, "streaming": true},{"scenario_code": "c8-isl512-osl256", "scenario_name": "c8-isl512-osl256","concurrency": 8, "input_sequence_length": 512,"output_sequence_length": 256, "streaming": true}]}]}}'Replace
0with yourserver_id. Send"streaming": truein each scenario. If you omit it, the scenario saves with streaming off. -
Check the run. Send the same
p_account_id,p_org_id, andp_payloadtopreflight_project_run. A row with severityblockstops the run, and itsmessagestates the fix. An empty array means every check passed. -
Start the run.
curl -X POST "$METRUM_BASE/rpc/execute_project_run" \-H "Authorization: Bearer $METRUM_TOKEN" \-H "Content-Type: application/json" \-d '{"p_owner_account_id": "<account-uuid>","p_project_name": "First run","p_project_uuid": "<project-uuid>","p_run_name": "first-run-1","p_workload_code": "qwen3-06b-vllm","p_server_config_instance_id": 0,"p_manage_model_server": true,"p_gpu_count": 1}'Use the same
server_idasp_server_config_instance_id. The response holdsrun_idandjob_ids. -
Poll each job with
get_job_status, and read the results fromv_benchmark_results. See API Reference.
If a save fails with "Shared workload code already exists with a different definition", another of your projects already uses that workload code. Choose a different workload_code.
MetrumBench LLM on several machines
Multi-node vLLM serves one model across the machines of a cluster group. It uses the same tool, the same scenarios, and the same Load step as the single-machine run above. The deployment is a Kubernetes cluster that Metrum AI Bench forms across the group.
The product ships no argument preset for this deployment, so this guide has no copy-and-run configuration for it. Every seeded vLLM preset sets pipeline parallel size to 1. A multi-node run needs a preset that sets tensor parallel size to the number of GPUs in one machine and pipeline parallel size to the number of machines in the group.
Before you start, check these requirements:
- Every machine in the group is onboarded with its IP address set.
- Every machine in the group has the same GPU vendor.
- The group has at least two machines. NVIDIA is the only vendor confirmed to work.
In the web app, set Deployment to Kubernetes cluster in the Hardware step and choose a Cluster group. The Hardware step offers this option for MetrumBench LLM only. benchctl cannot create this deployment. Use the web app or the API. For the API calls, see Multi-Node vLLM Deployment.
GenAI-Perf
GenAI-Perf is the NVIDIA load generator. It sends synthetic prompts of an exact length. It runs against one endpoint, so use it as a reference measurement beside MetrumBench LLM. This first run reuses the model, engine, and machine from the first run above.
Configuration
| Setting | Value |
|---|---|
| Tool | GenAI-Perf (genai-perf) |
| Model | Qwen3-0.6B (qwen3-0.6b) |
| Serving framework | vLLM (vllm), version 0.20.1 |
| Argument preset | Default (vllm-default) |
| Machine | One onboarded NVIDIA machine with status Online |
| GPUs to use | 1. GenAI-Perf needs the GPU count to equal tensor parallel size times data parallel size. The preset sets both to 1. |
| Concurrency | 1 and 8 |
| Input Sequence Length | 512 |
| Output Sequence Length | 256 |
| Streaming | Yes. Streaming is required for time to first token and inter-token latency. |
| Requests per scenario | Not set. The platform sends the larger of 200 and 10 times the concurrency. |
The platform fixes the endpoint type to chat and the random seed to 0. GenAI-Perf has no plan gate.
Run it in the web app
- Select Projects, then New Project. Enter the Project name
First run GenAI-Perf. - Under Add a workload, select GenAI-Perf.
- In the Model step, select Qwen3-0.6B under Models. Select Next: serving engine.
- In the Serving engine step, set Serving framework to vLLM, Version to
0.20.1, and Argument preset to Default. Select Next: hardware. - In the Hardware step, select your machine under Machines. Set GPUs to use to
1. Select Next: load. - In the Load step, set Concurrency to
1and8, Input Sequence Length to512, and Output Sequence Length to256. Leave Streaming at Yes. - Select Save & Run.
Run it with benchctl
benchctl project create "First run GenAI-Perf" --visibility org
benchctl project switch "First run GenAI-Perf"
benchctl workload create \
--name "Qwen3 0.6B GenAI-Perf" \
--code qwen3-06b-genai-perf \
--tool genai-perf \
--model qwen3-0.6b \
--framework vllm \
--version 0.20.1 \
--engine-args vllm-default
benchctl scenario create --name c1-isl512-osl256 --code c1-isl512-osl256 \
--workload qwen3-06b-genai-perf \
--concurrency 1 --input-tokens 512 --output-tokens 256 --streaming
benchctl scenario create --name c8-isl512-osl256 --code c8-isl512-osl256 \
--workload qwen3-06b-genai-perf \
--concurrency 8 --input-tokens 512 --output-tokens 256 --streaming
benchctl job schedule --workload qwen3-06b-genai-perf --scenario c1-isl512-osl256 \
--server "<hostname>" --gpu-count 1
benchctl job schedule --workload qwen3-06b-genai-perf --scenario c8-isl512-osl256 \
--server "<hostname>" --gpu-count 1
Run it with the API
Call save_project_config, preflight_project_run, and execute_project_run exactly as in the MetrumBench LLM first run. Change these values in the payload:
| Field | Value |
|---|---|
project_name | First run GenAI-Perf |
workloads[].workload_code and workload_name | qwen3-06b-genai-perf and Qwen3 0.6B GenAI-Perf |
workloads[].tool_code | genai-perf |
Use qwen3-06b-genai-perf as p_workload_code and First run GenAI-Perf as p_project_name in execute_project_run.
InferenceX
InferenceX sends synthetic prompts and reports tokens per second per GPU. Use it to compare hardware on a fixed input and output length. This first run uses one scenario.
Configuration
| Setting | Value |
|---|---|
| Tool | InferenceX (inferencex) |
| Model | Qwen3-0.6B (qwen3-0.6b) |
| Serving framework | vLLM (vllm), version 0.20.1 |
| Argument preset | Default (vllm-default) |
| Machine | One onboarded NVIDIA machine with status Online |
| GPUs to use | 1. InferenceX needs the GPU count to equal tensor parallel size times data parallel size. The preset sets both to 1. |
| Concurrency | 8 |
| Input Sequence Length | 1024 |
| Output Sequence Length | 1024 |
| Requests per scenario | Not set. The platform sends the larger of 16 and 8 times the concurrency, so 64 requests. |
The platform fixes the random length ratio to 1.0, so every prompt has exactly the input length you set. A run of 64 requests is a smoke test. For numbers you publish, set num_requests to several hundred through the API or benchctl. The InferenceX command does not read the Streaming setting. Your plan must include InferenceX. It is included from Tier 1.
Run it in the web app
- Select Projects, then New Project. Enter the Project name
First run InferenceX. - Under Add a workload, select InferenceX.
- In the Model step, select Qwen3-0.6B. Select Next: serving engine.
- In the Serving engine step, set Serving framework to vLLM, Version to
0.20.1, and Argument preset to Default. Select Next: hardware. - In the Hardware step, select your machine. Set GPUs to use to
1. Select Next: load. - In the Load step, set Concurrency to
8, Input Sequence Length to1024, and Output Sequence Length to1024. The step shows one scenario. - Select Save & Run.
Run it with benchctl
benchctl project create "First run InferenceX" --visibility org
benchctl project switch "First run InferenceX"
benchctl workload create \
--name "Qwen3 0.6B InferenceX" \
--code qwen3-06b-inferencex \
--tool inferencex \
--model qwen3-0.6b \
--framework vllm \
--version 0.20.1 \
--engine-args vllm-default
benchctl scenario create --name c8-isl1024-osl1024 --code c8-isl1024-osl1024 \
--workload qwen3-06b-inferencex \
--concurrency 8 --input-tokens 1024 --output-tokens 1024
benchctl job schedule --workload qwen3-06b-inferencex --scenario c8-isl1024-osl1024 \
--server "<hostname>" --gpu-count 1
Run it with the API
Call save_project_config, preflight_project_run, and execute_project_run as in the MetrumBench LLM first run. Use these values in the payload:
| Field | Value |
|---|---|
project_name | First run InferenceX |
workloads[].workload_code and workload_name | qwen3-06b-inferencex and Qwen3 0.6B InferenceX |
workloads[].tool_code | inferencex |
workloads[].scenarios | One scenario with scenario_code c8-isl1024-osl1024, concurrency 8, input_sequence_length 1024, and output_sequence_length 1024 |
Use qwen3-06b-inferencex as p_workload_code and First run InferenceX as p_project_name in execute_project_run. The agent ingests the results when the job ends. You do not call the ingest RPC.