vllm-sr-benchmark

vllm-sr-benchmark is a skill for Claude Code, Codex from vllm-project/semantic-router. It costs 56 tokens per session (1,249 once invoked), scanned A, original, Apache-2.0.

A benchmarking workflow for evaluating vLLM Semantic Router recipes or models with the sr-bench command-line tool. It supports preview, replay, and live runs using fixed inputs.

In plain words
What is it for?
Use it to plan and report bounded router evaluations, check case coverage, and measure quality, latency, cost, and reliability within stated limits.
Why use it?
It provides reproducible evidence instead of relying on ad hoc tests. It also makes clear whether a run can support claims about routing, answer quality, speed, cost, or failures.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to plan and report bounded router evaluations, check case coverage, and measure quality, latency, cost, and reliability within stated limits.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/vllm-project/semantic-router/vllm-sr-benchmark
About the project

vLLM Semantic Router is a programmable routing layer that chooses or combines language models for each request in a system using multiple models and types of computing infrastructure. It helps teams route inference by signals such as user preferences, application policies, quality, cost, latency, privacy, and safety requirements. The catalogue skills and instructions support configuring and operating this model-routing system.

vllm-project/semantic-router · 6,594 stars · on GitHub · vllm-sr.ai

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add vllm-project/semantic-router --skill vllm-sr-benchmark
Clone the repo
git clone --depth 1 https://github.com/vllm-project/semantic-router

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for vllm-sr-benchmark

README.md
[![agentmods](https://agentmods.dev/badge/skills/vllm-project/semantic-router/vllm-sr-benchmark/github.svg)](https://agentmods.dev/skills/vllm-project/semantic-router/vllm-sr-benchmark)
Your own site
<a href="https://agentmods.dev/skills/vllm-project/semantic-router/vllm-sr-benchmark"><img src="https://agentmods.dev/badge/skills/vllm-project/semantic-router/vllm-sr-benchmark/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for vllm-sr-benchmark

Your own site · 80×15
<a href="https://agentmods.dev/skills/vllm-project/semantic-router/vllm-sr-benchmark"><img src="https://agentmods.dev/badge/skills/vllm-project/semantic-router/vllm-sr-benchmark.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,249 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00056 $0.01249
Opus 5.5 $0.00022 $0.00500
Sonnet 5.5 $0.00011 $0.00250
Haiku 4.5 $0.00006 $0.00125

Measured 6d ago against content hash dc7e332620bc, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

vllm-sr-benchmark scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

tools/agent/skills/vllm-sr-benchmark/SKILL.md · 104 lines

How it starts

The opening of the file, as written. The whole thing — 104 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Run a reproducible Router benchmark

Use the existing benchmark CLI (vllm-sr benchmark --help) and sr-bench guide. The operations evaluation reference has the current target, recovery and comparison contracts. A smoke slice checks the workflow; it is not a full sr-bench score or an unseen holdout.

1. Choose what can be measured

Mode Produces Cannot establish
Preview Router selection, signal/decision distribution and failures on frozen inputs Answer quality, generation cost or backend latency
Replay An eligible route estimate from compatible saved single-model answers New live latency, new generations or a final production verdict
Live Actual model answers, grading, usage, latency and failures Savings when prices or usage are unknown; broad quality from a tiny slice

Use benchmark replay-options before attempting replay; compatibility is determined by sr-bench's saved evidence, not by a similar model name. A bounded page may have more results; follow its cursor. For a new recipe, use preview first, then live only when needed and authorized. Do not rewrite the workload, seed, target or request settings merely to make a replay eligible.

2. Freeze the plan

Choose the benchmark tasks and profile that match the objective. Record exact case IDs, source revision and dataset digest; the config hash and recipe; target model/artifact revisions and reachable worker-side URLs; effective sampling, reasoning, tool protocol and output limits; grader/judge versions; and four-bucket prices or capability_only. Keep a development set separate from a reserved holdout. A changed case, judge, price or request profile makes a different experiment.

Prepare or select an existing dataset, then create a manifest and freeze it:

vllm-sr benchmark dataset options
vllm-sr benchmark dataset prepare --benchmark mmlu-pro --profile smoke --limit 2 > dataset.json
vllm-sr benchmark plan --manifest candidate.yaml --output frozen.json

Read the full file on GitHub · 104 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 104 lines · 56 tokens per session scan A dc7e332620bc

Subscribe to this mod's changes

vllm-sr-benchmark is a skill published in the GitHub repository vllm-project/semantic-router (6,594 stars, last pushed today), licensed Apache-2.0. It adds 56 tokens to every session and 1,249 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-25.

Related

vllm-sr-benchmark compared with skills from other repositories

vllm-sr-benchmark next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
vllm-sr-benchmarkvllm-project/semantic-routerSkill6.6ktodayApache-2.0A56Claude Code, Codex
cli-evaldiegosouzapw/OmniRouteSkill91kyesterdayMITA34Claude Code, Codex
omni-mcpdiegosouzapw/OmniRouteSkill91kyesterdayMITA48Claude Code, Codex
cli-resiliencediegosouzapw/OmniRouteSkill91kyesterdayMITA35Claude Code, Codex
merge-batchdiegosouzapw/OmniRouteSkill91kyesterdayMITA46Claude Code
green-prsdiegosouzapw/OmniRouteSkill91kyesterdayMITA51Claude Code, Codex
9router-web-fetchdecolua/9routerSkill33k8d agoMITA67Claude Code, Codex