简介
MetriLLM
原始描述
Find the best local LLM for your machine. Tests speed, quality and RAM fit, then tells you if a model is worth running on your hardware.
通过你的 Agent 添加
安装目录:metrillm/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。
点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。
或者手动安装
包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可;
目录名不用换,也不要把包直接解压到 skills 根目录。
技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。
技能正文
name: metrillm
description: Find the best local LLM for your machine. Tests speed, quality and RAM fit, then tells you if a model is worth running on your hardware.
argument-hint: "[model-name]"
author: MetriLLM
source: https://github.com/MetriLLM/metrillm
license: Apache-2.0
allowed-tools: Bash, Read
install: npm install -g metrillm
MetriLLM — Find the Best LLM for Your Hardware
Test any local model and get a clear verdict: is it worth running on your machine?
Prerequisites
- Node.js 20+ — check with
node -v
- Ollama or LM Studio installed and running
- Ollama: ollama.com, then
ollama serve
- LM Studio: lmstudio.ai, load a model and start the server
- MetriLLM CLI — install globally:
npm install -g metrillm
Usage
List available models
ollama list
Run a full benchmark
node -v- Ollama: ollama.com, then
ollama serve - LM Studio: lmstudio.ai, load a model and start the server
npm install -g metrillm
List available models
ollama list
metrillm bench --model $ARGUMENTS --json
This measures:
- Performance: tokens/second, time to first token, memory usage
- Quality: reasoning, math, coding, instruction following, structured output, multilingual
- Fitness verdict: EXCELLENT / GOOD / MARGINAL / NOT RECOMMENDED
Performance-only benchmark (faster)
metrillm bench --model $ARGUMENTS --perf-only --json
metrillm bench --model $ARGUMENTS --perf-only --json
Skips quality evaluation — measures speed and memory only.
View previous results
ls ~/.metrillm/results/
ls ~/.metrillm/results/
Read any JSON file to see full benchmark details.
Share to the public leaderboard
metrillm bench --model $ARGUMENTS --share
metrillm bench --model $ARGUMENTS --share
Uploads your result to the MetriLLM community leaderboard — an open, community-driven ranking of local LLM performance across real hardware. Compare your results with others and help the community find the best models for every setup. Shared data includes: model name, scores, hardware specs (CPU, RAM, GPU). No personal data is sent.
Interpreting Results
Verdict
Score
Meaning
EXCELLENT
>= 80
Fast and accurate — great fit
GOOD
>= 60
Solid — suitable for most tasks
MARGINAL
>= 40
Usable but with tradeoffs
NOT RECOMMENDED
< 40
Too slow or inaccurate
| Verdict | Score | Meaning |
|---|---|---|
| EXCELLENT | >= 80 | Fast and accurate — great fit |
| GOOD | >= 60 | Solid — suitable for most tasks |
| MARGINAL | >= 40 | Usable but with tradeoffs |
| NOT RECOMMENDED | < 40 | Too slow or inaccurate |
Key metrics to highlight:
tokensPerSecond> 30 = good for interactive usettft< 500ms = responsivememoryUsedGBvs available RAM = will it fit?
Tips
- Use
--perf-only for quick tests
- Close GPU-intensive apps before benchmarking
- Benchmark duration varies depending on model speed and response length
Open Source
--perf-only for quick testsMetriLLM is free and open source (Apache 2.0). Contributions, issues, and feedback are welcome: github.com/MetriLLM/metrillm
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。