Search
↑ ↓ to move, Enter to open, Esc to close
Log in to AgentMeter
Measure how efficiently open‑source LLMs run a 4‑agent task.
Benchmark the resource efficiency of LLMs on your network flows
AgentMeter measures how efficiently open-source language models run a fixed 4-agent analysis task. It measures latency, GPU memory, tokens, cost and energy, and checks that every answer is usable. It is a measurement tool, not a threat-detection product, and it makes no security decision about your network.
Home
Compare two LLMs on your own network flows.
Start a new benchmark
Upload a CSV or PCAP, pick up to four models, run.
How AgentMeter works
- Data. Upload a CSV (CIC-IDS2017 flows, with labels) or a PCAP. AgentMeter samples the flows you ask for into a prepared set. It is prepared on the GPU server, never while a benchmark runs there, so preparing cannot change a reading: if a benchmark is running, your upload waits and is prepared as soon as it ends. Every benchmark starts from a new upload. Sampling uses a fixed seed, so the same file with the same number of flows gives the same flows and the same fingerprint.
- Models. Pick one to four open models (4-bit). The wizard estimates the time and cost from earlier runs.
- Run. Each flow goes through the agents, one model at a time, on the same GPU. The agents are Perceive, Reason, Decide and Act.
- Read. Each session tab opens with a one-line summary. Tables download as CSV, and line charts and diagrams as PNG. Reference labels only check that the output is valid, because AgentMeter measures efficiency.
Recent sessions
All sessionsHow to use AgentMeter
AgentMeter measures how efficiently open LLMs run a 4-agent SOC triage pipeline on your own network flows. It measures speed, GPU memory, tokens, cost and energy. Classifying the flows is the workload the agents perform, not what is being evaluated, so the output is only checked for validity.
1. Run a benchmark
- Upload. Open New Benchmark and upload a CSV of flows (CIC-IDS2017 or another CICFlowMeter export, with a Label column for the reference-label check) or a PCAP, and choose how many flows the benchmark samples. The file is prepared on the GPU machine. If a benchmark is running there, your upload is saved and waits, and it is prepared as soon as the benchmark ends, so preparing never changes a reading. Each upload starts one benchmark.
- Preparing and your data. The data is prepared and the IDS scores every flow. Then you see what is in it, the alerts, what the IDS caught and missed (labelled CSV), a threshold to try, and the projected LLM cost. Continue when the GPU server is running.
- Models. Pick one to four open models. Every model runs in 4-bit NF4 on the same GPU, one at a time, so the numbers are comparable. The wizard estimates time and cost from earlier runs.
- Run. The session page shows live progress. If the GPU is busy, your run is queued and starts by itself. With a Telegram chat in Settings you get a message when it finishes. You can leave the page, and the run continues on the GPU server. Stop it from the same page if needed.
No GPU connected? The app says so in the sidebar. Uploading and preparing data, the IDS results and old sessions still work. To run a benchmark, the GPU server must be running first.
2. Read a session
- Start at Overview: the headline says which model is more efficient, the tiles give the main numbers, and Key findings lists what stands out.
- Each tab opens with a one-line summary. Sub-tabs (such as Latency or Statistics) go one level deeper.
- Hover or tap a chart for exact values. Tables download as CSV and charts as PNG from the buttons under each card. The full report is in Data & Exports.
- Add a note or tags on the Overview tab, or a short note straight from the Sessions list, so you remember why you ran it.
3. What each tab answers
| Tab | The question it answers |
|---|---|
| Overview | Which model is more efficient, by how much, and what should I know before trusting it? |
| Model Ranking | How do the models score overall (SAW), and does the order hold if I care about different things? |
| Output Reliability | Did every flow end with a usable answer, and where do answers fail (empty, cut off, not a label)? With labelled data, a reference-label check shows the output is not noise. |
| Performance | How fast and how steady is each model, how much GPU does it use, and are the differences real or noise? |
| Agent Analysis | Which agent (by default Perceive, Reason, Decide, Act) uses the time and tokens, what each one passes on, and what did they say for a given flow? |
| Cost & Energy | What would it cost per 1,000 flows and per day at my volume, and how much energy does it use? |
| Recommendations | Does a model fit my latency, memory and budget limits, and what should I do next? |
| Data & Exports | Where are the PDF report, the raw results and the per-flow outputs? |
Reading the charts. On GPU over the run (Cost & Energy), hover any chart to read power, utilisation and memory at that moment together with the flow and agent that were running. Drag across a chart to zoom all of them, and double-click to zoom out. Inspect data under a chart shows the numbers behind it, and Chart data (CSV) downloads them. The limits you enter under Recommendations are drawn as threshold lines and colour the values that break them. Compare models (on the Leaderboard) and Consistency share a Model and Pipeline filter. In Settings, you can be alerted on Telegram when a finished run got worse than its usual range on the same setup.
4. Sessions, Leaderboard, Consistency and the Cost planner
- API documentation describes every endpoint of the control plane, the GPU backend and the data preparation service (who may call it, its parameters and answers). The services AgentMeter calls (Hugging Face, Telegram, Vast.ai, Supabase) are described in
docs/INTEGRATIONS.md. - Every benchmark starts from a new upload. To measure the same flows again, upload the same file and pick the same number of flows: preparation is repeatable, so the fingerprint matches and the sessions land on the same setup. Uploads you have not benchmarked yet are under New benchmark › Your uploads for 7 days.
- GPU & Queue (click the GPU status chip in the sidebar) shows the GPU server right now, with live utilisation, memory, power and temperature, the run on it with its progress, the runs waiting in order, what just finished, and when a new file would be prepared.
- Sessions lists every run. Search by text, filter by tag, open a session, add a note, or delete a finished session (with an account).
- Cost planner projects each model's GPU time, cost and energy for a daily number of alerts, from its latest real benchmark on that GPU. No GPU needed.
- Leaderboard ranks models, in three tabs. By setup lists the setups (the same flows, GPU and settings) and ranks the models of the one you pick. Under the ranking, Why this order shows where each model earned its score: points for speed, GPU memory and tokens. Overall counts how often each model ranks first across setups. Consistency shows whether the same model on the same setup gives the same result each run.
- Consistency (a tab of Leaderboard) answers "do you get the same result twice?". Each model that ran two or more times on the same setup gets a card: its runs as dots against a green band, the band being the same result (within 10% for speed, 5% for tokens and GPU memory). Steady: every run inside the band. Varies: runs fall outside it. Changed recently: the latest run left the usual spread of three or more earlier runs. Models run once are listed below the cards, to run again.
Methodology, or how every number is measured and judged
The rules AgentMeter applies everywhere, in one place, so a result can be checked by hand.
What is held equal (a "setup")
Results are only compared when three things match. These are the prepared set (the exact flows, identified by the SHA-256 hash of the prepared files), the GPU, and the settings (4-bit NF4 quantisation, token caps, engine and the agent pipeline, identified by a settings fingerprint). Every model then answers exactly the same flows on the same hardware, so a difference belongs to the model.
The measures
- Latency per flow is the wall-clock time from a flow entering the first agent to the last agent's answer, per model. The session shows the mean, median, p95 and p99 over all flows.
- Working VRAM is the peak GPU memory a model needs while answering, above what was already allocated. PyTorch's peak counter is reset before each agent step and read after it, and the session reports the mean and the maximum over all steps. Total peak VRAM adds the loaded weights.
- Tokens per flow: input + output tokens of all agents for one flow, from the model's own tokenizer. Hand-offs re-send earlier answers inside later prompts, so they count too.
- Energy per flow: GPU board power sampled during the run (NVML/nvidia-smi), integrated over each model's time window and divided by its flows. The idle board power, measured for a few seconds before each model starts, is shown separately and subtracted in "net of idle".
- Cost per 1,000 flows: mean latency per flow × the GPU's hourly price ÷ 3,600 × 1,000. Not shown when no price is set.
- Usable answers is the share of flows whose final answer had the required format. It is a validity check of the output and never part of the score.
The SAW score (efficiency)
Simple Additive Weighting over three criteria. Each value is normalised against a fixed target as a cost criterion, with norm = min(1, target ÷ value). The targets are 5 s latency per flow, 16,000 MB VRAM and 1,200 tokens per flow. The score is 100 × Σ weight × norm with the weights latency 0.25, VRAM 0.20, tokens 0.15 renormalised to sum to 1 (≈ 0.42, 0.33, 0.25). Accuracy against reference labels is never weighted in and is reported as context only. Ranking by setup uses this stored score, and the Ranking tab shows how robust the order is to other weights.
Statistics
- Is one model better? A model wins a measure only if it is more than 2% better and, for the per-flow measures (latency, VRAM), the Kruskal-Wallis test across the models gives p < 0.05. Otherwise it is a tie, shown with its p-value. Effect sizes are Cliff's delta with a bootstrap 95% confidence interval of the difference.
- How many flows are enough? Each model's latency spread gives the flows needed to detect a given difference with 80% power at the 5% level.
- Consistency. A series is one model on one setup over time. Steady (Stable in the PDF and exports) means every run is within a limit of the median of its runs. The limit is 10% for latency and 5% for tokens and VRAM, which barely vary by nature, and one limit for all can be chosen on the page. Moved means the latest run differs from the median of the earlier runs by more than 10% and by more than three times their typical spread (1.4826 × median absolute deviation). A verdict needs at least 3 runs.
- Compare uses each model's latest run on the setup by default. With Every run, it shows each model's mean ± 95% confidence interval (t distribution) over its runs, and calls a difference from the best model real when Welch's t-test gives p < 0.05 and the gap is over 2%.
- GPU state: during a run the SM clock, temperature and the driver's throttle reasons are sampled with the power. A run is flagged when the GPU was slowed down (thermal, hardware or power brake) in more than 5% of samples, ran under 80% of its maximum clock, reached 85 °C, or other processes held GPU memory.
- Warm-up. The headline mean keeps every flow. The latency table also shows the mean without the first 5 flows, which covers model loading and cache warm-up.
What is never done
No number is invented. Demo runs have no GPU, so they show no energy, memory or price instead of simulated ones. Stored scores never change after a session ends, and re-ranking with other weights is a view only.
5. Key terms
- Flow
- One network connection summarised as features (duration, packets, bytes, flags…). Each flow goes through the pipeline once.
- Prepared set
- The sampled, cleaned flows from one upload. Reusing it keeps two runs on exactly the same data.
- SAW score
- Simple Additive Weighting. Each efficiency criterion (latency, VRAM, tokens) is scaled from 0 to 1 against a target and combined with weights into one score out of 100.
- p95 latency
- 95% of flows finished faster than this. It shows the slow tail that an analyst queue actually feels.
- VRAM
- GPU memory. Total peak includes the model weights; working is what the agent calls add on top.
- Label agent
- The one agent in a pipeline that gives the answer, an attack class from the allowed list (Decide in the default pipeline). The reliability check reads its answer.
- Hand-off tokens
- Earlier agents' output that a later agent's prompt sends again. It is the overhead of splitting the work into agents.
- 4-bit NF4
- The quantisation every model runs in, so a 7B model fits on one GPU and all models are measured the same way.
- Demo (mock)
- A run without a real model, to try the app. Its numbers are not measurements.
6. Common questions
Is AgentMeter a threat detector?
No. Triaging the flows is the realistic SOC workload the agents perform. Each flow gets a class and a priority of Escalate, Investigate or Dismiss, which comes from the session's policy table and not the model. AgentMeter measures what that work costs (time, GPU memory, tokens, money, energy). The answers are checked for validity and their triage (missed attacks, false escalations, the analyst queue) is shown as context in Output Reliability, so a fast but unusable pipeline is never called efficient. Neither changes the efficiency score. Without labels (a PCAP) the reference-label check is skipped, and everything else works.
Why does my result say "could not be tested" or "tie"?
With few flows, a difference can be noise. Performance → Statistics shows how many flows you need for a clear answer.
Why are cost or energy "not measured"?
Cost needs the GPU's hourly price, which is the live Vast.ai price or AGENTMETER_GPU_USD_PER_HOUR on the GPU server. Energy needs the GPU's power reading, which some cloud GPUs do not expose. Demo runs measure neither.
Can I bring back the first-visit tips?
Yes:
New benchmark
- 1Upload
- 2Preparing
- 3Your data
- 4Models and settings
- 5Run
Your data
PreparingModels
Pick 1 to 4 models.
Study models (validated baseline)
More models to try
Original weights, quantized by AgentMeter to 4-bit NF4, the same as the study models. Not part of the validated baseline.
Select 1 to 4 models.
Settings
Sessions
All your benchmark runs.i
Tag:
Session
Session
To compare like for like, upload the same file and pick the same number of flows. The fingerprint will match.
How to read a session what each tab answers
- Overview
- The verdict, the key findings and your notes.
- Model Ranking
- The overall score, its weights, and how sure the order is.
- Output Reliability
- Whether every flow got a usable answer, and where answers go wrong.
- Performance
- Speed, GPU memory, and whether the differences are real.
- Agent Analysis
- Where the time and tokens go, agent by agent.
- Cost & Energy
- Cost and energy per 1,000 flows, projected to your volume.
- Recommendations
- Which model fits your limits, and what to do next.
- Data & Exports
- The report, the raw results and the flows. Tables and charts download as CSV or PNG.
Leaderboard
Rank models. Models are only ranked and compared against others on the same flows, GPU and settings.
Cost planner
What would it take to triage your alerts with each model? Enter how many alerts a day. The time, answers, cost and energy come from your latest benchmark of each model. No GPU needed.
GPU & Queue
The GPU server right now, with its live readings, the run on it, the runs waiting and the ones that just finished. One GPU runs one benchmark at a time, in order.
Leaderboard
Rank models. Models are only ranked against others on the same flows, GPU and settings.
Do you get the same result twice?
Run the same model on the same data and GPU again. If the numbers agree, you can trust them. If they jump around, one run alone could mislead you.
Each dot is one run. The green band is "the same result": within 10% for speed, 5% for tokens and GPU memory.
Settings
Your preferences. Changes save as you make them.
Telegram alerts
Get a message on your phone when a benchmark finishes. Three steps, about a minute.
- 1Open the AgentMeter botPress Start in Telegram so the bot is allowed to message you.
- 2Connect your chatAfter pressing Start, AgentMeter finds your chat by itself. Or paste the number.
- 3Send a test messageChecks the whole chain.
When to message you
Applies to your own benchmarks.
New benchmark defaults
What New benchmark starts with. You can still change it for each run.
Ranking weights
Save your own mix of speed, GPU memory and tokens, then rank any session with it. It only changes how a page sorts the models. Stored scores never change.i
Where you are logged in
Backend
Advancedi
Admin
Keep AgentMeter running for everyone. Secrets are never shown, only whether they are there.
Setup checklist
What AgentMeter needs to work fully.
Problems in the last 24 hours
Loading…
System
Users
Model catalog
Extra models users may pick next to the 5 study models. Every model is quantized to 4-bit NF4 at load, like the study models. A model is offered to users only when its suitability is ok and it is enabled and, on the real GPU, verified. Licence and download notices (ℹ) do not change the suitability, and gated models are labelled "licence verification required".i
IDS model
AgentMeter ships with a small demo IDS trained on its 300 sample flows, for trying the IDS gate only. For real results, train one on your data with scripts/train_ids.py and upload it here. Stored here, every newly rented GPU downloads it at start-up, so there is nothing to copy by hand. Upload the three files of one training run from models\ids\: ids_rf.joblib, ids_rf.json, ids_rf.hashes.npy (each up to 50 MB). The upload is checked, and the .joblib must match the sha256 in its .json.
- Stored
- Loading…
Audit log
Loading…